all groups > flash actionscript > september 2004 >
You're in the

flash actionscript

group:

Problem _root.gotoAndPlay(); in Component



Re: Problem _root.gotoAndPlay(); in Component (_seb_)
9/7/2004 6:24:19 PM
flash actionscript: if you loaded your external movies using
loadMovieNum
then you should try

on (release) {
_level0.gotoAndPlay(3);
}

or

on (release) {
_level0._root.gotoAndPlay(3);
}

[quoted text, click to view]
Problem _root.gotoAndPlay(); in Component nrowe
9/7/2004 9:27:04 PM
Have a simple scrollPane component that pulls a simple .swf file with a button.
I want the button to go to the root movie and play a frame/label. Have tried
many variations of code and doesnt' seem to work.

files;

main.swf - root movie
aComponent.swf - movie with component
a.swf - swf file that component pulls in.

Codethat is attached to a button inside the a.swf file;

on(release){
_root.gotoAndPlay(3);
}

Any help would be appreciated.....

N
Re: Problem _root.gotoAndPlay(); in Component nrowe
9/8/2004 12:58:26 PM
Thanks, really appreciate the help! That fixed it.

Regards,

AddThis Social Bookmark Button