|
-
Senior Member
I am loading in a lot of content using the loadVariablesNum function. Is there a way to see how much is loaded? Can I have a percent loader for loadVariablesNum?
Does anyone find that when you are bring in MySQL content into Flash it loads in slow?
-
Senior Member
-
proud new daddy!
there's no neat way to do this, but you can fake it, as long as you have control over the data file.
just insert variables in the file like "percLoaded=20" at about 1/5 of the way through the file, and "percLoaded=64" at about 64% of the way through the file, or whatever. then you can run a loop while the data loads and you can use the variables you've inserted to determine the 'percentage'. This is analogous to the old flash4 method of detecting load percentages by checking the load status of several keyed frames that were pre-determined to be positioned at certainly load percentages.
As for the mysql-data slow-down, flash does get kinda slow if there's a LOT of variables going on. So if you're loading a lot of data, this could be the cause. A possible solution (if this can be worked into your script) would be to break the data down into segments and load only a single relevant segment at a time. This can be pretty development-intensive, but I've always believed that extra development is worth it when it improves the end-user experience.
hope this helped!
cheers
-LuxFX
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|