Solved

AS2 Images not loading fast enough

Posted on 2010-09-08
2
347 Views
Last Modified: 2013-11-11
I am dynamically loading images and everything works as expected about 95% of the time. Because of the network speed and the number of images being loaded, occasionally, there is an image that doesn't load. The XML used to locate the image is correct. I can copy the path and display the image, so I know that is good as well. When the XML is no good, then my error trapping works as expected.

The problem is that the image(s) do not always completely load. What do I need to do to make sure that once I start loading the image, that the image will completely load?
0
Comment
Question by:msukow
2 Comments
 
LVL 37

Accepted Solution

by:
CyanBlue earned 500 total points
ID: 33639263
You cannot do anything in Flash to make sure to complete the file loading...  Flash just initiate the file loading process and sit & wait until it is fully loaded...  

What you can do is give it a maximum time period that Flash will wait and then display an error message if there is no complete loading happening, and make sure that the image is something Flash can handle...

CyanBlue
0
 

Author Closing Comment

by:msukow
ID: 33639616
I wish there were another method I could call that confirms that it is loaded.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now