Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Supporting Technologies > Server-Side Scripting

Reply
 
Thread Tools Rate Thread Display Modes
Old 02-19-2001, 10:09 AM   #1
Gamin
Registered User
 
Join Date: Feb 2001
Posts: 1
Send a message via ICQ to Gamin
Post

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

Gamin is offline   Reply With Quote
Old 02-20-2001, 09:07 AM   #2
Jesse
Administrator
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: Australia
Posts: 8,612
Default

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.
Jesse is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

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


All times are GMT. The time now is 06:57 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.