Jump to content
Search Community

sandesh

Members
  • Posts

    29
  • Joined

  • Last visited

Everything posted by sandesh

  1. Hi Jack...... Thanks for this version. But still I didn't like the idea of putting the estimated bytes in 3 places (for SWFloader, XMLloader & ImageLoader). The main problem in using this is, when the bg image loads as part of the main file, the bg is a random image which is read from the xml file. So the image size is not known in advance and the progress bar will either not complete fully or will stay on till the bg image loads (depending on the bg image size), if I give some hardcore value for estimatedBytes. So I was looking for a more dynamic solution and tried using the auditSize property for Loadermax instance, but it doesn't seem to work. I hope you have understood my point ....?
  2. Hi Jack, I am having problems regarding the loading progress of my files. Considering the same corrected files that you gave me, I am unable to make the loading progress bar to assume the size of XML + background image in the loaded swf. What it does is when it loads the xml files, the loading bar resets to display the progress of the background image. I have checked the forums and found the same problem which have been faced by others. I tried the 'estimatedBytes' as well as 'auditSize' property in the loaderMax instance of the preloader. But it doesn't seems to be working
  3. Thanks for your prompt reply and the corrected files, Greensock.... I realised where i went wrong .... It now works
  4. Hi..... I am new to this so pls help me out I have 2 fla files. One is the preloader fla and the other is the main fla. In the preloader fla, I load the main file using the loadermax component, which is happening fine. However, within the main fla, I am loading a XML file and a image file. Since I am reading the background file name from the XML file, I have created 2 loadermax instances (1 for XML & 1 for image). Inside the complete event handler of the XMLLoader, I am creating the loadermax instance for the image. Everything is working fine, but the problem is that when the preloader loads the main swf, it only considers the loading of the XML. When the xml is loaded, the swf file is considered as loaded and it doesn't consider the loading of the image. I have also tried the requiredWithRoot property with the parent loadermax instance, but it doesn't seem to work I have attached the files......
×
×
  • Create New...