Marcelo, check Adobe LiveDocs for MovieClipLoader documentation. onLoadInit is called, when download as finished and is currently available on stage. onLoadComplete is only when download is finished. For the init of the download, the event is onLoadStart.
onLoadComplete = function([target_mc:MovieClip], [httpStatus:Number]) {} Invoked when a file that was loaded with MovieClipLoader.loadClip() is completely downloaded. onLoadError = function(target_mc:MovieClip, errorCode:String, [httpStatus:Number]) {} Invoked when a file loaded with MovieClipLoader.loadClip() has failed to load. onLoadInit = function([target_mc:MovieClip]) {} Invoked when the actions on the first frame of the loaded clip have been executed. onLoadProgress = function([target_mc:MovieClip], loadedBytes:Number, totalBytes:Number) {} Invoked every time the loading content is written to the hard disk during the loading process (that is, between MovieClipLoader.onLoadStart and MovieClipLoader.onLoadComplete). onLoadStart = function([target_mc:MovieClip]) {} Invoked when a call to MovieClipLoader.loadClip() has begun to download a file. João Saleiro ----- Original Message ----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marcelo de Moraes Serpa Sent: segunda-feira, 5 de Junho de 2006 18:07 To: Open Source Flash Mailing List Subject: Re: [osflash] RIA feedback (any help/suggestion is reallyappreciated!) Isn´t onLoadInit supposed to be triggered on the init of the download? If so, it would be logic to put the code on it... ----- Original Message ----- On 6/5/06, Muzak < [EMAIL PROTECTED]> wrote: use onLoadInit, not onLoadComplete. regards, Muzak ----- Original Message ----- From: "Marcelo de Moraes Serpa" <[EMAIL PROTECTED]> To: "Rákos Attila" < [EMAIL PROTECTED]>; "Open Source Flash Mailing List" <osflash@osflash.org> Sent: Monday, June 05, 2006 4:49 PM Subject: Re: [osflash] RIA feedback (any help/suggestion is reallyappreciated!) Actually I just remembered that I´m using MovieClipLoader to load this picture, not loadMovie(). And yes, I´m trusting the onLoadComplete event of MovieClipLoader... does FF has any trouble with it? Marcelo. _______________________________________________ osflash mailing list osflash@osflash.org http://osflash.org/mailman/listinfo/osflash_osflash.org _______________________________________________ osflash mailing list osflash@osflash.org http://osflash.org/mailman/listinfo/osflash_osflash.org