This content has been marked as final. Show 5 replies
use the goto methods and identify the movieclip that you want to play:
I think more explanation is needed....
This is for an entry page for a website. One main time line I have two buttons with corresponding movie clips. The label "main" refers to the first frame in the main time line.
One button is called needbutton and it is supposed to play a movie clip called "needsquare". I have named the instance needsquare_mc on the maintime line. The appearance to the button works (the up,over, down and hit states), the on (release) works, and the roll (out) works but the roll(over) doesn't work- it begins up the "amsquare" movie clip instead of "needsquare"
The other button called ambutton serves the same purpose as the need button, but with its corresponding movieclip called "amsquare" This button is working properly.
Basically whatever movie clip is associated with the "ambutton" is the movie clip that appears for either on(rollover).
Is this a problem with coding? I have exported the instances for actionscripting but that hasn't helped. What am I doing wrong?
If anyone can help, I can email the swf file!
i don't know if there's a coding problem and i have no idea what you're doing or trying to do.
i understand you up to '...it begins up the "amsquare" movie clip instead of "needsquare"' which i cannot comprehend.
Both buttons bring up the "amsquare" movie clip even though they are programmed to bring up two different clips. I don't understand why that is happening.
i'm not sure what you mean by "...bring up", but i assume you want something to happen to needsquare and it's not happening.
now, i don't see any coding that specifies a movieclip in your rollOver handlers. i see nothing that specifies needsquare in your coding.
if those are true buttons, they will gotoAndPlay() the timeline in which they are located. if those are movieclip buttons, they will gotoAndPlay() their own timeline.
now, re-read my first response. you should reference the movieclip that each button should control and you need to reference needsquare in one of those buttons.