Flasher Archive

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


Subject: Re: FLASH: LOOP that won;t work
From: John Croteau
Date: Fri, 20 Aug 1999 21:54:03 +0100

Hi Ugur,

> Here is the LOOP action I attached to Frame 10 of a Flash 4 movie. There
> are only 10 frames in this "movie" and nothing else, to make things
> simple.

> Set Variable: "Index" = 1
> Loop While (Index<5)
> Set Variable: "Index" = Index+1
> End Loop

> Isn't the movie, after reaching the end frame (10) supposed to loop back to
> Frame 1, and build up the Index towards the value of "5" and
> then stop once it becomes 5? Instead, it just advances to frame 10 and
> stops there at the very first pass. Obviously it does
> not build up the index and it treats this LOOP statement just as though I
> assigned a STOP action to Frame 10.
> Do you know why? Thanks.

I put the same code in as above and did not get the same results as you,
it worked as I expected it would.

I put the above actions in frame 10,
The movie played and looped from 10 to 1 continuously.
In frame 10 it counts Index up to 6 and returns 6 on the first pass and
the value remains the same from there on. You will not see the count
from 1 to 6 only the result for the frame.

If you still need help upload the same or another simple test to FC's
anonymous FTP site and tell us about it here.

----------- -----------------------
John Croteau croteauaterols [dot] com (mailto:croteauaterols [dot] com)
------------- -------------------------
FlashTek (Advanced Websites with Flash) http://www.FlashTek.com/
Flash Bible (Fast track to good Flash) http://www.FlashBible.com/
Flash Central(The Universe Starts Here) http://www.FlashCentral.com/
The Flash Tech Resource (Tech Notes) http://www.FlashCentral.com/tech/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: owneratshocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manageratshocker [dot] com


Replies
  Re: FLASH: LOOP that won;t work, Cheri Harder

Replies
  FLASH: LOOP that won;t work, uakinci

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