Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | FLASH: Using a tell target to pause movie while variables are loaded |
| From: | DeJarnett, Gary |
| Date: | Fri, 17 Dec 1999 18:07:10 GMT |
Thanks John,
As you suggested, I set up a simple test using the same logic. You can find
it at :
www.aisdev.admin.ttu.edu/timesheet/test.fla
<http://www.aisdev.admin.ttu.edu/timesheet/test.fla>
It has a button that executes a tell target. That tell target should loop 3
times before returning, but as you can see from the trace output, the
statements after the tell target call are executed before the loop finishes.
As it stands, the variable loading is irrelevant. I just want the tell
target to loop the required amount of time before continuing processing.
Thanks for any enlightenment you may have on this.
Gary (dejarnett
Date: Thu, 16 Dec 1999 20:12:52 -0500
From: John Croteau <croteau
<croteau
Subject: Re: FLASH: Tell Target Looping to Wait for
Variable Loading
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?
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 help
Replies
Re: FLASH: Using a tell target to pause , John Croteau
Re: FLASH: Using a tell target to pause , Cheri Harder
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

