all groups > flash actionscript > march 2005 >
You're in the

flash actionscript

group:

Linking to a frame in a scene on a Movie Clip is not working


Linking to a frame in a scene on a Movie Clip is not working JamesD
3/15/2005 9:33:03 PM
flash actionscript:
I have a movie clip in a scene called ?code? and on the movie clip I want to
place a link that goes to a different frame of the Code Scene. For some reason
it is not working. On the button in the Movie Clip I?ve tried:
----------------- on (release) { gotoAndPlay ('code',38); } -----------------
on (release) { gotoAndPlay (38); } ----------------- What am I doing wrong?
Thanks-James
Re: Linking to a frame in a scene on a Movie Clip is not working kglad
3/16/2005 1:38:12 AM
you're using scene information outside the authoring environment where it
doesn't exist. upon publication, scene info is lost.

to remedy label your frames and use those labels for navigation:

on(release){
gotoAndPlay("code_38"); // where you labelled frame 38 in your code scene
}
Re: Linking to a frame in a scene on a Movie Clip is not working Byron Canfield
3/16/2005 11:42:44 AM
Make sure you also supply the path to the gotoAndPlay method, so that it
knows what timeline it's supposed to be playing.

--
--------
Reality will not be altered to comply with preconceived notions.

Byron "Barn" Canfield
Flash example files: http://www.canfieldstudios.com

Re: Linking to a frame in a scene on a Movie Clip is not working JamesD
3/17/2005 6:10:05 PM
How do I label the frames? I searched on Google but didn't see any helpful info on this.

Thanks,
Re: Linking to a frame in a scene on a Movie Clip is not working kglad
3/17/2005 6:40:28 PM
AddThis Social Bookmark Button