Flasher Archive

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


Subject: Re: FLASH: Tell Target Looping to Wait for Variable Loading
From: John Croteau
Date: Fri, 17 Dec 1999 01:22:23 GMT

Hi Gary,

Everything looks correct.
Test it loaclly just changing to a text file.
If that doesn't work then make your FLA or a version of your FLA that
shows the problem available (zipped or bin-hexed), so we can see where
you are going wrong.

> Since not everyone is needing to load values into Flash, I hate to beat this
> thing to death, but I�m having trouble getting Flash to hold up it�s
> execution until my variables are loaded.
> It shouldn�t be difficult, but here is what I�m doing. I have a variable
> within my Library instance called FinishedLoading which is initialized to 0,
> and set to 1 from my ASP page after all other variables have been loaded. I
> also have an instance (called �Timer�) of a movie clip (called movTimeCount)
> on my main movie which displays a clock with hands circling every time the
> clip is played. Here are the frames of this movie:
>
> Frame 1: Stop
> Frame 2: labeled TimerRepeat
> Frame 13: If (/Library:FinishedLoading = 0)
> Go to and Play ("TimerRepeat")
> End If

> Whenever I am ready to load my ASP variables, I execute the following:
>
> Set Variable: "/Library:FinishedLoading" = 0
> Load Variables ("getProj.asp", "/Library", vars=POST)
> Begin Tell Target ("/Timer")
> Go to and Play ("TimerRepeat")
> End Tell Target
>
> The way I understand things, the code within my Tell Target should continue
> to execute until all my variables are loaded, THEN proceed to the code after
> the End Tell Target statement. That is not what is happening. I�ve
> confirmed by trace statements that, even though the /Timer target is
> executed, Flash keeps right on executing code after the End Tell Target
> before the variables have had a chance to load. What am I missing or not
> understanding here?

--
Coming Soon Flash 4 Web Animation F/X and Design
http://www.amazon.com/exec/obidos/ASIN/1576105555/flashcentral
----------- -----------------------
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


Replies
  FLASH: Tell Target Looping to Wait for V, DeJarnett, Gary

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