Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | Re: FLASH: database connection? |
| From: | John Croteau |
| Date: | Fri, 3 Dec 1999 18:07:25 GMT |
Hi Dave,
>> Normally, you need to put your Load Variables command in a loop for 2
>> reasons.
> Could you clarify this for me?
Sure, I incorrectly stated that you need to put the Load Variables
command in a loop. You do normally need to create a loop but as a test
to see if the variables have been received or not.
Hopefully the tutorial on this will be available early next week where
all of the explanation will be correct (at least proof read) :-).
> Do you put the Load Variables command in a loop which reissues the Load
> Variables command over and over until the communication takes place, or do
> you issue the Load Variables action once, and then loop while you are
> checking for the values of the variables you are expecting?
The second. Flash's Load Variable function does wait for connection and
for there to be something on the page. So if nothing is written to the
ASP page Flash's Load Variable will wait but this is of course of no use
if the section that needs the new data will not be available.
So we check for a variable change (in a loop normally) with a test
variable or knowing the original value of one of the variables that will
be loaded (and definately changed). The test should be of the last
variable on the ASP (or other) page and when we detect that change in
the value of the variable we know we have received the data from the
server and can then go about displaying and/or processing that new data.
--
Coming Soon Flash 4 Web Animation F/X and Design
http://www.amazon.com/exec/obidos/ASIN/1576105555/flashcentral
----------- -----------------------
John Croteau croteau
------------- -------------------------
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 help
Replies
RE: FLASH: database connection?, Dave Hollinden
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

