Groups | Blog | Home
all groups > flash actionscript > march 2004 >

flash actionscript : move playhead in movie on another level


tragic108
3/9/2004 10:22:57 PM
Hi all,
I'm not a brain surgeon, but having trouble getting the following to happen:

I have loaded multiple movies inside a container movie (level0)
Movies on levels 2 & 3
Trying to get a button on level 3 movie to trigger a change in level 2 movie
from current position to gotoandplay frame 1 in a different scene.

currently using:

on (release) {
_level2.gotoAndPlay("Scene 3", 1)

}

but it is not working. Tried many things, but can not get it to work.
Any help would be appreciated.
Jack.
3/9/2004 10:52:41 PM
do not use the scene name, use a frame label,
scene name is only ever recognised along its own main timeline
( scene names are ignored by movieclips or movies loaded to level )

on (release) {
_level2.gotoAndPlay("Sc3")
}

tragic108
3/9/2004 11:02:14 PM
Works - FAB
AddThis Social Bookmark Button