A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Issue with loading image dynamically!

  1. #1
    Senior Member vinayak.kadam's Avatar
    Join Date
    Oct 2006

    Issue with loading image dynamically!

    I am using the URLLoader class to load the image. When the image is loaded I do a addChild() to display the image.

    Issue is: After I do the addChild(), image takes some time to load/render even though the Event.Complete is fired. Is there any other event which can signal me when the image is completely rendered on the screen ?
    As ever,
    Vinayak Kadam

  2. #2
    Junior Member
    Join Date
    Jun 2013
    Hi, Vinayak Kadam.
    I wonder you want to load image from URL? Or from local file? You can google it and select a professional 3rd party
    image loading tool whose way of processing is simple and fast to help you with the related work. It will be better if it is totally manual and can be customized by users according to our own favors. Remember to check its free trial package first if possible. I hope you success. Good luck.

    Best regards,

  3. #3
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    press the picture...
    When flash knows the dimensions of the image, the image is usually loaded. Probably your image is really big in terms of mb. Either reduce the size of your image or use an additional timer, which will make sure the image is on the screen.

    BTW, use addchild before the image is loaded. There is no reason to use it later.
    - The right of the People to create Flash movies shall not be infringed. -

  4. #4
    Junior Member
    Join Date
    Jul 2013
    When you load image from file, the starting, canceling and completing of image loading process will be noticed on your image opening project. You need to see this post on how to set.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width

HTML5 Development Center