Yes I see, I have realised now that you cannot target a Scene from an MC. I have found three ways around it now. There is the one I described in an earlier mail where I put in a goto next frame of the main timeline and this frame targeted the next scene or you just do not put a stop in it and it just plays and then runs right into the next frame. Then there is this method you have come up with. also found that if you take all the frames in the first scene, say there are 5 and you want to goto the first frame of the next scene, that frame is identified as Scene 2 frame 1 but it can also be addressed as frame 6. Frames of scene 1 plus the target frame of scene 2. So this also works
if (variable >= 24) { gotoAndPlay ("Scene 1", 6); }
----- Original Message ----- From: Muzak <muzak@pandora.be> To: <flasher@chinwag.com> Sent: Thursday, December 28, 2000 12:41 AM Subject: Re: FLASH: Help with increment
> You can't target/goto a scene from within a movieclip directly. Instead you can label the first frame of your scenes and use those > to gotoAndPlay. > So if you'd label the first keyframe of scene2: "scene2" > this should work from within a movieclip > > if (variable >= 24) { > _root.gotoAndPlay ("scene2"); > } > hth, > Muzak > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > flasher is generously supported by... > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > flashforward2000 and the Flash(tm) Film Festival > November 27-29, 2000, LONDON, National Film Theatre > > Produced by United Digital Artists and lynda.com > -Sponsored by Macromedia, Adobe Systems and Apple Computer > -http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526 > Register before November 10 and save £200 > http:// www.flashforward2000.com > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > To unsubscribe or change your list settings go to > http://www.chinwag.com/flasher or email help@chinwag.com > >
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ flasher is generously supported by... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ flashforward2000 and the Flash(tm) Film Festival November 27-29, 2000, LONDON, National Film Theatre
Produced by United Digital Artists and lynda.com -Sponsored by Macromedia, Adobe Systems and Apple Computer -http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526 Register before November 10 and save £200 http:// www.flashforward2000.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To unsubscribe or change your list settings go to http://www.chinwag.com/flasher or email help@chinwag.com