Jump to content

Recommended Posts

Posted

Hello All,

 

I was wondering if anyone can help with a Flash problem?

 

I have set up a button with an Action to go from n intro page to the index.htkl page on a site.

 

I used:-

 

on (release) {

getURL("www.mysite/index.html");

}

 

But I get the following message twice as I have an enter button and a Skip Intro button:-

 

 

**Error** Scene=Scene 1, layer=enter, frame=500:Line 1: Mouse events are permitted only for button instances

on (release) {

 

**Error** Scene=Scene 1, layer=enter, frame=600:Line 1: Mouse events are permitted only for button instances

on (release) {

 

Total ActionScript Errors: 2 Reported Errors: 2

 

Thank you,

 

Best wishes

Graeme

Posted

I have this tutorial in my bookmarks. You can use it to figure what went wrong.

Have you got your Flash buttons working in general? ( I saw you've started other thread on them with no response yet).

If not, let us know, we'll help.

Posted

Hello IM,

 

Thanks for your help with this. It's amazing because I was just thinking about you because you helped me with a similar problem before.

 

Anyway, the buttons seem to be working except when I press the main one another web page opens saying it can't find the file on this server and two addresses of the target page appear in the address bar.

 

My test site is at

http://greenhouseflorists.co.uk/indextest.html

 

Best wishes

Graeme

Posted

hi,

Have you look into this tutorial I gave? Compare it with what you have done with your intro and I'm sure you'll figure where is your problem. Otherwise we would need to have your source .fla to see what is wrong with the buttons.

Posted

Hello Again,

 

I think I'm getting a little further thanks to the tutorial you recommended.

 

I used the code

 

on (release) {

getURL("index.html");

}

 

in both my enter button and skip buttons. Now the enter button is OK when it loads but the skip intro button does not. When I publish the file I get error messages which I think relates to the on (release){ line.

 

Thank you,

 

Best wishes

Graeme

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...