real_illusions Posted March 22, 2006 Share Posted March 22, 2006 i'm trying to make a menui made an image with photoshop, and imported it into flash.and i've been told that this actionscript helps with the url on (release) { getUrl("index.htm");} but it doesn't workflash mx gives me an error when i try it. **Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 1: Mouse events are permitted only for button instances on (release) {Total ActionScript Errors: 1 Reported Errors: 1 i'm a bit of a dumbass with flash..so if you give me a big kid like version with colour pictures that would be great Link to comment Share on other sites More sharing options...
bairdb Posted March 23, 2006 Share Posted March 23, 2006 i'm trying to make a menui made an image with photoshop, and imported it into flash.and i've been told that this actionscript helps with the urlon (release) { getUrl("index.htm");} but it doesn't workflash mx gives me an error when i try it. **Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 1: Mouse events are permitted only for button instances on (release) {Total ActionScript Errors: 1 Reported Errors: 1 i'm a bit of a dumbass with flash..so if you give me a big kid like version with colour pictures that would be great <{POST_SNAPBACK}> Make the image that you are using for your button a Button Symbol. All you have to do is click on your image and press F8 and then name it and choose the Button option and hit ok, then your code should work fine. Link to comment Share on other sites More sharing options...
real_illusions Posted March 24, 2006 Author Share Posted March 24, 2006 thanks alotit works now:) Link to comment Share on other sites More sharing options...
Guest esthers Posted April 2, 2006 Share Posted April 2, 2006 sir hows the code of that? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now