PDA

View Full Version : loading a swf


barrowman
03-27-2003, 03:50 PM
I feel very dumb asking this, but if I load a swf into another layer of the main movie, how can I get feedback on how much of it is loaded?

ie


bytesleft = "Please Hold. There are approximately "+(Math.floor ((((layer10.getBytesTotal())-(layer10.getBytesLoaded()))/1024))) + " kilobytes left to load.";

Just forgotten one or two little things and I wonder if anyone can put me on the right track...

skee
03-27-2003, 05:34 PM
Look at the tuts section and also try a search for preloading. There are tons of forums covering how to do this.
skee

barrowman
03-27-2003, 07:51 PM
thanx but I figured it out, just a little rusty...

bytesleft = "Please Hold. There are approximately "+(Math.floor ((((_level10.getBytesTotal())-(_level10.getBytesLoaded()))/1024))) + " kilobytes left to load.";

skee
03-27-2003, 09:20 PM
Yeah, I definitely understanding being rusty...
skee