Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

AS2 Images not loading fast enough

Posted on 2010-09-08
2
Medium Priority
?
364 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 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
Suggested Courses

782 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