-
1. Re: Buttons not working, all of a sudden?
kglad Jun 13, 2010 2:21 PM (in response to jgcalifornia)copy and paste the error message.
-
2. Re: Buttons not working, all of a sudden?
jgcalifornia Jun 13, 2010 4:19 PM (in response to kglad)WARNING: Actions on button or MovieClip instances are not supported in ActionScript 3.0. All scripts on object instances will be ignored.
This is always whats worked:
on (release) {
getURL("page2.html","_self","GET");
} -
3. Re: Buttons not working, all of a sudden?
Ned Murphy Jun 13, 2010 4:47 PM (in response to jgcalifornia)If it worked before, change your Flash Publish Settings back to Actionscript 2. That is AS2 code and cannot be used with AS3 Publish Settings, and AS3 does not allow code to be attached to objects.
-
4. Re: Buttons not working, all of a sudden?
jgcalifornia Jun 13, 2010 4:54 PM (in response to Ned Murphy)forgot to post this also.
Mouse events are permitted only for button instances
-
5. Re: Buttons not working, all of a sudden?
Ned Murphy Jun 13, 2010 5:36 PM (in response to jgcalifornia)Either convert that symbol to a button symbol so that you can use the code you showed, or assign it an instance name and place the following code in the timeline...
yourMCName.onRelease = function(){
getURL("page2.html","_self","GET");
}Where yourMCName is whatever instance name you assign
-
6. Re: Buttons not working, all of a sudden?
jgcalifornia Jun 13, 2010 6:46 PM (in response to Ned Murphy)i managed to get the link to work , but now it doesnt show my rollover color.
Im more interested in what happened, to just open Flash and have all my fla files not work.
The "up" is correct color while editing, as well as the "over", but doesnt change once back to stage.
thanks for the help!!


