|
-
Senior Member
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)+"%";
-
Ryan Thomson
is there an onEnterFrame function wrapped around the last three lines or something? how is this being called? framelooping?
-
-
Senior Member
I have fixed the problem myself, but thanks to both of you for replying!
-
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|