Flasher Archive

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


Subject: Re: FLASH: loop script
From: Wayne Pennell \( Web Master \)
Date: Mon, 31 Jul 2000 18:15:31 +0100

Set Variable: "x" = "50"
First frame: I set it equal to 50

Then reitterate the loop for sound to finish for tac rev I created for:

www.realtimeracing.net


If (x<>"0")
Set Variable: "x" = "x-1"
Go to and Play (16)
Else If ("x"<="0")
Go to and Play (19)
End If

I hope this helps.

Wayne Pennell

----- Original Message -----
From: "Brack, Jeremy" <Jeremy [dot] Brackatimgusa [dot] com>
To: <flasheratchinwag [dot] com>
Sent: Friday, July 28, 2000 12:29 PM
Subject: FLASH: loop script


> I am starting to work with action scripts and I need to loop through a
> couple of frames so that they play back 5 times, then proceed to the next
> set of frames on the timeline..
> I know that I need to declare a variable, and set it to 5, and subtract 1
> from the variable every loop..
> and set a "while" condition to check the value of the variable each loop.
>
> I guess all I need is the Flash translation of a standard loop-while code.
> So if anyone can just tell me the code, or give a link to an online
> tutorial, it would be very helpful!
>
> thanks
>
> Jeremy
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Full flasher archive now available online at:
> http://www.chinwag.com/flasher/archive.shtml
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe or change your list settings go to
> http://www.chinwag.com/flasher or email helpatchinwag [dot] com


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Full flasher archive now available online at:
http://www.chinwag.com/flasher/archive.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: advanced bg music, Sohrab Pirayesh
  FLASH: using math to establish relations, Kurt Dommermuth

Replies
  FLASH: loop script, Brack, Jeremy

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