-
How can I get the getBytesTotal and getBytesLoaded() of a external loaded .txt file?
-
Flash 5 doesn't provide that possibility...
It only applies to Movie Clips or anything you are trying to load using LoadMovie()
i think it's possible to write something like that
loadMovie("give_text.php",_root.test);
give_test.php should create .swf file with your text dynamically and return it to flash.
and you could be able to use getBytesTotal() and getBytesLoaded()
i think i'll try to create such script when i have free time... If MusicMan haven't already created it
-
thanks
thanks, but now Ill put a exta var into the txt-file, and scan thatone with an if statement. Not nice, but it works....
-
If you just want to know if the text (data, variables, movie or whatever) is loaded use the
onClipEvent (data)
handler. this event only happens when the data is fully loaded = text-file is in. i think this is a cleaner approach then appending a variable and check for it...
my 2 euro-cents
Yours
HTD
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
|