A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Loading problem with external swf!

  1. #1
    Senior Member bluemagica's Avatar
    Join Date
    Jun 2008
    Posts
    766

    Unhappy Loading problem with external swf!

    i am trying to load a movie externally and have a preloader, locally all works fine, but when i test it online, the preloader finishes much earlier befoe the movie is loaded.

    Code:
    loadMovie ("test2.swf", "_root.content");
    var Lt = _root["content"].getBytesTotal();
    var Bt = _root["content"].getBytesLoaded();
    _root.loader.ltxt.text=Math.round(Bt/Lt*100)+"%";

  2. #2
    Ryan Thomson EvolveDesigns's Avatar
    Join Date
    Oct 2001
    Location
    British Columbia
    Posts
    3,338
    is there an onEnterFrame function wrapped around the last three lines or something? how is this being called? framelooping?
    Evolve Designs Interactive Media
    the natural selection

  3. #3
    Member
    Join Date
    Aug 2007
    Location
    philippines
    Posts
    71
    try MovieClipLoader....
    live and let die

  4. #4
    Senior Member bluemagica's Avatar
    Join Date
    Jun 2008
    Posts
    766
    I have fixed the problem myself, but thanks to both of you for replying!

  5. #5
    Junior Member
    Join Date
    Nov 2009
    Posts
    7
    could u please tell me how u fixed this problem ?

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