A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [CS4][AS2] Loading Problem

  1. #1
    Member
    Join Date
    Mar 2008
    Posts
    51

    [CS4][AS2] Loading Problem

    Hello.. I am currently programming the site for the company i am working. I need to load all image thumbnails and some other things ( which are loaded externally with xml) at same time, while displaying the percentage of them. The problem i am having is that flash cant get their totalBytes in start, the total bytes of all of these items is rising while the loading is in progress.So the percentage always goes up and down. To understand better what i am meaning here is the link to the preview ( note that it might have bugs as its still not finished ) : http://www.molosgroup.com/NEW/ ... You can see last textfield under fps metter is TotalBytes , and the one above total is loadedBytes.

    I tried using GreenSock’s PreloadAssetManager ( http://blog.greensock.com/preloadassetmanageras2/ ) but it takes to much time to START loading, it stays at 0% for more than 5-10 seconds.So i cant use it.

    The only thing i can think about is putting their size to xml and then istead of using getBytesTotal, ill use the data that i load from xml.. ??

    Anyone got better solution to this, or had similar problem ??

    Thanks

  2. #2
    Member
    Join Date
    Mar 2008
    Posts
    51
    noone had similar issue ??

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