Ask a Question related to Adobe Flash, Flex & Director, Design and Development.
-
Dan B #1
gotoAndPlay("Scene 2", 1); - How do I get flash to finish the current scene before moving to the next?
Okay I have 2 scenes, the first of which has an animation which stops in the
middle. I also have a button in this scene which has the following action
attached to it
on (press)
{
gotoAndPlay("Scene 2", 1);
}
When pressed it obviously goes to scene 2, frame 1. What I want it to do
though is finish the current movie before jumping to the next.
Does that make sense?
Many thanks
Dan Bowles
Dan B Guest
-
Flash movie freezes after "scene" in IEv.6
Hello, I made a flash movie with scenes linking photos from one another with transitions. For some odd reason it works fine in Firefox, and the... -
movieclip scene to scene navigation
I have three scenes. There is a movie clip, mc_navigate, which has 2 buttons nested with in. I would like to use these buttons to navigate from... -
Change scene and start mc on the new scene...
Hi, I've got one swf with two scenes. The scene2 contains all the content of my site. This scene have a navigator (mc) with buttons holding... -
pre-load scene by scene
Hi :) I have a fla with a lote of sene inside how car a have a pre-load movies for each scene please ? I know how have one for all the movie clip... -
One frame scene verses alot of frames scene
Hello I have a question. I am working on my own web design website which is www.smoovejcmedia.tfang.org. On my first scene and its only that scene I... -
Master Kristijan Stuhli #2
Re: gotoAndPlay("Scene 2", 1); - How do I get flash to finish the current scene before moving to the next?
you need to start reading help and tutorials, you got it all wrong,
and the action script isn't simple!!!
"Dan B" <dan@happyREMOVElobster.co.uk> wrote in message
news:bo8u70$d2f$1@newsg2.svr.pol.co.uk...the> Okay I have 2 scenes, the first of which has an animation which stops in> middle. I also have a button in this scene which has the following action
> attached to it
>
> on (press)
> {
> gotoAndPlay("Scene 2", 1);
> }
>
> When pressed it obviously goes to scene 2, frame 1. What I want it to do
> though is finish the current movie before jumping to the next.
>
> Does that make sense?
>
> Many thanks
>
> Dan Bowles
>
>
>
Master Kristijan Stuhli Guest
-
Dan B #3
Re: gotoAndPlay("Scene 2", 1); - How do I get flash to finish the current scene before moving to the next?
"Master Kristijan Stuhli" <kristina.stuhli@public.srce.hr> wrote in message
news:bo9afa$u5u$1@bagan.srce.hr...Okay thanks but that doesnt really help does it. I assume that you cant help> you need to start reading help and tutorials, you got it all wrong,
>
> and the action script isn't simple!!!
>
me but im sure someone in here has the knowledge to point me in the right
direction. Please?
Many thanks
Dan B
Dan B Guest
-
ShadowSeeker #4
Re: gotoAndPlay("Scene 2", 1); - How do I get flash to finish the current scene befo
Assuming AS2

Tried this?:
on(Press)
{
if(_root._currentframe==_root.totalframes)
{
gotoAndPlay("Scene 2",1);
}
}
Not sure if you need the _roots :P
Or if that somehow doesn't work:
on(Press)
{
pressing = true;
}
if(pressing==true && _root._currentframe==_root.totalframes)
{
gotoAndPlay("Scene 2",1);
}Last edited by ShadowSeeker; December 13th at 09:06 PM.
Junior Member
- Join Date
- Dec 2011
- Posts
- 1



Reply With Quote

