Suchy
08-09-2005, 01:52 AM
I have few buttons inside a movie clip and I can't get them to work. If a user presses the button A I want the playhead to go to the frame labled A on the scene, if the user presses B the playhead should jump to the frame B...
Here is a small sample of the scripts that I used
I cant get this to work and I used many variations of the gotoAndStop action.
I even took out the frame lables, and still nothing
on (press) {_root.gotoAndStop ("buss","a");}
on (press) {_root.gotoAndStop ("buss",1);}
on (press) {gotoAndStop ("root.buss",2);}
on (press) {root.nextFrame;}
other actions on these buttons work fine, such as
on (press) {getURL ("http://www.ebay.com", "_blank");}
on (press) {_root.gotoAndStop (3);}
How can I get the playhead fo follow the directions?
Here is a small sample of the scripts that I used
I cant get this to work and I used many variations of the gotoAndStop action.
I even took out the frame lables, and still nothing
on (press) {_root.gotoAndStop ("buss","a");}
on (press) {_root.gotoAndStop ("buss",1);}
on (press) {gotoAndStop ("root.buss",2);}
on (press) {root.nextFrame;}
other actions on these buttons work fine, such as
on (press) {getURL ("http://www.ebay.com", "_blank");}
on (press) {_root.gotoAndStop (3);}
How can I get the playhead fo follow the directions?