[Flashcoders] getBytesLoaded() and actions execution

2008-02-09 Thread strk
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

Re: [Flashcoders] getBytesLoaded() and actions execution

2008-02-09 Thread Hans Wichman
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 ?

Re: [Flashcoders] getBytesLoaded() and actions execution

2008-02-09 Thread Zeh Fernando
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

Re: [Flashcoders] getBytesLoaded() and actions execution

2008-02-09 Thread Allandt Bik-Elliott (Receptacle)
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

Re: [Flashcoders] getBytesLoaded() and actions execution

2008-02-09 Thread Muzak
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 =

Re: [Flashcoders] getBytesLoaded() and actions execution

2008-02-09 Thread ben gomez farrell
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

Re: [Flashcoders] getBytesLoaded() and actions execution

2008-02-09 Thread Muzak
@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