Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | Re: FLASH: Variables not moved from one MC to another? |
| From: | DeJarnett, Gary |
| Date: | Tue, 14 Dec 1999 17:42:09 GMT |
From: John Croteau <croteau
<croteau
Subject: Re: FLASH: Variables not moved from one MC
to another?
Hi Gary,
> txtWeek, which was initialized to �Z�, over in the
SSNEntry clip equal to
> Set Variable: �/SSNEntry/:txtWeek� =
/Library:txtWeek
>
> the variable over in the SSNEntry clip remains
unchanged.
The probable cause for your problem is you have set the
value of Set Variable: �/SSNEntry/:txtWeek� = /Library:txtWeek before Flash
has actually received the value into memory. Load variables is not
immediate (it takes time, so we normally do a test on a variable that will
be known to change when all the variables have been loaded and create a loop
to constantly see if the variables have been loaded. When loaded we then go
on to process the results.
A good troubleshooting technique is to use temp text fields
and set values to temp watch the progress.
Thanks John,
I�ve tried using a delay like the Plug & Play delay function as follows:
Set Variable: "/Library:Menu1Items" = 0
Set Variable: "/:Delay" = 1
Load Variables ("http://www.aisdev.admin.ttu.edu/timesheet/getempl.asp",
"/Library", vars=POST)
Loop While (/Library:Menu1Items = 0)
Begin Tell Target ("/Timer")
Play
End Tell Target
Call ("/Count:Down")
End Loop
The problem is, the loop is never exited, even though I know that the value
of Menu1Items has been changed to 27 by my ASP (checked it out by executing
the ASP from an HTML page). The Timer in the tell target is simply a clock
movie with the hands circling once every time it is played. Is this not the
best way to handle this problem? Why isn�t the value of Menu1Items
recognized as being changed after the ASP finishes? In the case of these
variables, I can delete the loop and the menu is filled with items (and
Menu1Items has been changed) from the ASP in a couple of seconds or less, so
it shouldn�t be an infinite loop.
Thanks,
Gary
If convenient, please CC responses to: dejarnett
<dejarnett
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
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

