Flasher Archive

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


Subject: Re: FLASH: waiting for LOAD VARIABLE results
From: Henri Cujass
Date: Sun, 20 Feb 2000 20:23:40 GMT

Hi,

thank's a lot to Helen and Branden.

The good news at first - it's working fine and a have the good feeling to
control the load process now.

My solution is similar to Branden's.
The reason for my problem was that I don't say "goto and play" and loose the
control what the movie do after the input

My finaly solution is to use 3 frames (1-3 and a frame for the procedure
definition:
0. Frame (Procedure : check_result)
comment: case construct to do the things if the result come-back from database
If ("result" = 0)
goto result_action_0 and play
else if ("result" = 1 )
goto result_action_1
end if

1. Frame
load variable (.....)
comment : set the control variable "result" to the wait value
set variable: "result" = 99
goto start_loop and play

2. Frame (start_loop)
call ("check_result")

3. Frame
goto start_loop and play


For common interest. I call a php4 script wich get the variable take a Informix
7.3x database request and send the result to the movie.
I love this very fast solution.

Regards from the snowing bavaria mountains
Henri Cujass


Helen Triolo schrieb:

> Branden Hall wrote:
> >
> > 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!
>
> Thanks, Branden, for the quick reply, but still no go for me. Frame 1's
> only action is stop, but it has a button that on release does a load
> variables("bla.asp",0,vars=POST). Frame 2 has a if "varx ne "" goto
> labelx. Frame 3 has a goto 2 and play (I had a goto previous frame first
> and then changed it to see if that was the problem but it didn't help).
> When I execute, I never get to the labelx frame. But if I skip over
> frames 2 and 3 by putting a goto and play labelx after the load
> variables in frame 1, then labelx gets executed and I see that varx has
> been loaded and displays correctly. Still baffled... Maybe Henri will
> have better luck.
>
> Thanks,
> 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

--
Henri Cujass

leolo IT & Media Consulting GmbH
Klosterweg 13a
85625 Glonn

eMail: henri [dot] cujassatleolo [dot] de
Tel: 08093 300 717
Fax: 08093 300 716



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
  FLASH: waiting for LOAD VARIABLE results, Henri Cujass
  Re: FLASH: waiting for LOAD VARIABLE res, Helen Triolo
  Re: FLASH: waiting for LOAD VARIABLE res, Branden Hall
  Re: FLASH: waiting for LOAD VARIABLE res, Helen Triolo

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