Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

AS2 Images not loading fast enough

Posted on 2010-09-08
2
Medium Priority
?
361 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
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 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.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

715 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