Graeme Posted May 21, 2009 Report Share Posted May 21, 2009 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 Quote Link to comment Share on other sites More sharing options...
lm Posted May 22, 2009 Report Share Posted May 22, 2009 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. Quote Link to comment Share on other sites More sharing options...
Graeme Posted May 22, 2009 Author Report Share Posted May 22, 2009 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 Quote Link to comment Share on other sites More sharing options...
lm Posted May 22, 2009 Report Share Posted May 22, 2009 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. Quote Link to comment Share on other sites More sharing options...
Graeme Posted May 22, 2009 Author Report Share Posted May 22, 2009 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.