Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: newbie question
From: Ramesh C T
Date: Mon, 25 Sep 2000 08:32:50 +0100


Hi,

Imagine you have scene 1 and scene 2 and you want to
play scene 1 several times before going to scene 2.

You need to know howmany times you want to play the
scene 1 before going to scene 2. This can be done
initializing some variables at frame 1 of scene 1.

// at frame 1 of scene 1
howManyTimes = 5;

and at the end of the frame of scene 1 you can have a
script which will check howmany times it played scene
1 and depending on that you could navigate to scene 2.

// at the last frame of scene 1

if(howManyTimes <= 0) {
gotoAndPlay("scene 2", 1);
} else {
howManyTimes -= 1;
gotoAndPlay(2);
}

Hope this helps
Ramesh C T
--- Thomas Arnoldi <subwriteatpost8 [dot] tele [dot] dk> wrote:
> Hi all
>
> I have a scene that I want to be repeated several
> times before going to next
> scene.
> How is this done in Flash?
>
> Thanks
>
> Thomas Arnoldi
>
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> NudeGuru.com is proud to sponsor the Flasher list
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> IT'S THE ART OF MONEY, HONEY!
> Tips and Advice from some of the most popular Flash
> artists + industry power-brokers on how to hold
> onto
> your rights, negotiate contracts and get full value
> for your work.http://www.nudeguru.com from Franke
> James
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe or change your list settings go to
> http://www.chinwag.com/flasher or email
> helpatchinwag [dot] com
>


__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NudeGuru.com is proud to sponsor the Flasher list
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IT'S THE ART OF MONEY, HONEY!
Tips and Advice from some of the most popular Flash
artists + industry power-brokers on how to hold onto
your rights, negotiate contracts and get full value
for your work.http://www.nudeguru.com from Franke James
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]