Solved

AS2 Images not loading fast enough

Posted on 2010-09-08
2
348 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
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.

863 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

27 Experts available now in Live!

Get 1:1 Help Now