Is it safe to assume that as soon as
loaded.getBytesLoaded() == loaded.getBytesTotal()
actions in first frame of the loaded 'loaded' movieclip
were executed ?
--strk;
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
Hi,
no i don't think so, check out moviecliploader.
greetz
JC
On Sat, Feb 9, 2008 at 4:31 PM, strk [EMAIL PROTECTED] wrote:
Is it safe to assume that as soon as
loaded.getBytesLoaded() == loaded.getBytesTotal()
actions in first frame of the loaded 'loaded' movieclip
were executed ?
strk wrote:
Is it safe to assume that as soon as
loaded.getBytesLoaded() == loaded.getBytesTotal()
actions in first frame of the loaded 'loaded' movieclip
were executed ?
No.
First because even before loading starts, the value will be the same (0
and 0 or some variation). So you have to
aye - a moviecliploader object is the way in as2
as an aside, if you're loading multiple movies, can you use the same
moviecliploader object or should you use different objects?
On 9 Feb 2008, at 16:13, Hans Wichman wrote:
Hi,
no i don't think so, check out moviecliploader.
greetz
JC
Is it safe to assume that as soon as
loaded.getBytesLoaded() == loaded.getBytesTotal()
actions in first frame of the loaded 'loaded' movieclip
were executed ?
calculate and use percentage:
var l:Number = loaded.getBytesLoaded();
var t:Number = loaded.getBytesTotal();
var p:Number =
I've occasionally seen my getBytesTotal script get fired at just the
right time when the file header info hasn't quite been read in yet and
it thinks that the getBytesTotal and getBytesLoaded are both 10.
So I usually have loaded.getBytesLoaded() == loaded.getBytesTotal()
loaded.getBytesTotal
@chattyfig.figleaf.com
Sent: Saturday, February 09, 2008 6:30 PM
Subject: Re: [Flashcoders] getBytesLoaded() and actions execution
aye - a moviecliploader object is the way in as2
as an aside, if you're loading multiple movies, can you use the same
moviecliploader object or should you use
7 matches
Mail list logo