Flasher Archive

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

Subject: Re: FLASH: Trouble executing loop...
From: John Croteau
Date: Sat, 30 Oct 1999 22:29:07 +0100

Hi Mike,

> Can anyone see any reason why the followig loop would not loop. I am
> succefully retrieving the data from the datasource (as shown by the variable
> values at the bottom). All of the variables are on the same level
> (_level0).

> ---begin loop-------
> Load Variables ("data-test.txt", "_level0")
> Set Variable: "k" = 0
> Loop While (k < varCount)
> Set Variable: "k" = k + 1
> End Loop
> -------begin variable values----------
> Layer #0:
> Variable _level0:k = "0"
> Variable _level0:varCount = "27"

You are running the loop before the data has been received.
Even from a text file on a local hard drive the data called with Load
Variables will not be received immediately.
You need to do some sort of test to verify that the data has arrived
before proceeding with processing that data.

Coming Soon Flash 4 Web Animation F/X and Design
----------- -----------------------
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/

flasher is generously supported by...
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com

  Re: FLASH: Trouble executing loop..., Mike Chambers

  FLASH: Site Check, Mark Tonino
  Re: FLASH: Site Check, Deon's Oogle Box
  FLASH: Trouble executing loop..., Mike Chambers

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