| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
|
Hi there,
I have a loading problem using perl parameters in Flash. I have many variables to send and it take a long time to load in flash. For the moment I make a loop testing the content of a sending variable but it works only in ADSL and local. With a modem connexion or when the database is to slowler the movie stop the loop and return anything. I think I didn't test the good thing in my loop (perhaps with a ifloadingframe but I don't know how to use it on params). Did someone have a good tips to avoid this ? Thanks |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2000
Location: Australia
Posts: 8,612
|
So what's the porblem? Your variables aren't loading in time from your CGI? How about using a looping MC which test every 3 seconds (or something) if some variable is loaded. When I load from text files and databases I always load in an extra variable at the end called 'loaded' and set it's value to '1' or 'true'. Then I can have a looping MC which tets every so-often if loaded==true, and if it doesn't, then I know to keep waiting for my data to load. If it does, I can tell my movie to proceed.
The PHP Counter tutorial in the tutorials section uses a similar mechanism, check it out. Cheers Jesse
__________________
Cheers Jesse Stratford ActionScript.org Cofounder Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org Please don't email or PM me Flash questions, that's what the Forums are for! ![]() Please don't rely on me reading my PMs either. Email me about important stuff. |
|
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| one template, many looks? | subquark | ActionScript 1.0 (and below) | 1161 | 09-03-2009 04:45 PM |
| for loop with xml - cant understand the loop | skjc | ActionScript 2.0 | 5 | 01-10-2006 08:56 AM |
| Loop Flow and Execution [URGENT] | EturnalFlash | ActionScript 2.0 | 2 | 07-20-2005 08:14 PM |
| Parameters not passing in for...loop | 3dmacguy | ActionScript 2.0 | 2 | 08-02-2004 05:20 PM |
| how can i optimize this further ? if possible | fantasio | ActionScript 1.0 (and below) | 10 | 07-10-2004 02:18 AM |