Flasher Archive

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


Subject: Re: FLASH: waiting for LOAD VARIABLE results
From: Branden Hall
Date: Sun, 20 Feb 2000 15:36:41 GMT

Well, somehow you must have had the code, or the middleware file set up
incorrectly, because a two frame loop is exactly what is needed.

The way the actual load process would work is as follows:
Frame 1: The load variables action. Make sure that you are loading the
variables to the target/level you want. Its automatically set to level 1
even though most often want the variables to load to level 0.

Frame 2: A simple if statement. Pick a variable that you will always be
getting back from your middleware, say, max. Then you would do the
following if statement:
if (max ne "")
Goto frame 4 and Play
end if

Frame 3: Just a goto action:
Goto frame 2 and Play

Thats it!

-= Branden J. Hall
-= Multimedia Developer/Instructor
-= Fig Leaf Software

----- Original Message -----
From: Helen Triolo <designerati-technica [dot] com>
To: <flasheratchinwag [dot] com>
Sent: Sunday, February 20, 2000 10:16 AM
Subject: Re: FLASH: waiting for LOAD VARIABLE results


Henri Cujass wrote:
>
> ...I use Load Variable and it's working fine.
> The problem is that the asynchronus call of the "load variable"
> procedure make it difficult to check the returning values.
>
> I saw the waiting loop example with two frames at flashers-list. I try
> it and get a runtime error "more as 200000 loops" after a second.
>
> Any ideas how to fix it ? Should I use a loop with more frames ?
>
Henri,
I'd love to tell you how to fix this, but can't. I had the same
problem: when I added a 2-frame "wait for variables to load before
proceeding" section to my movie, it never proceeded. I went over and
over Branden's example at flashlite.net and tried to set it up exactly
the same, but couldn't get it to advance out of the loop. When I took
out the waiting loop and put in a Goto right after the load variables
statement, it worked fine, and the variables were loaded (I know because
they displayed just fine). I'd like to hear from Branden or someone
else that has suggestions for the wait loop though. (When is it
necessary? Any ideas why we can't get it to work?)

TIA,
Helen
__________________________________________________________________
i-Technica: Innovative Internet Solutions (http://i-Technica.com)
designerati-technica [dot] com
301-424-6037

flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The World's Premier Flash Solutions Conference and Expo"
March 27-29, Nob Hill Masonic Center, San Francisco, California

-Register before Feb 25 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com




flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The World’s Premier Flash Solutions Conference and Expo"
March 27-29, Nob Hill Masonic Center, San Francisco, California

-Register before Feb 25 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: waiting for LOAD VARIABLE res, Helen Triolo

Replies
  FLASH: waiting for LOAD VARIABLE results, Henri Cujass
  Re: FLASH: waiting for LOAD VARIABLE res, Helen Triolo

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