I'll give that a try thanks. Each of these Loader components is embedded in a movie clip which is invisible by default. Setting the scaleContent property after it finished loading could do the trick though.
Cheers Robin -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Friday, 21 April 2006 1:08 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] loader component - scaleContent does not always work Turn it invisible while it's loading: loaderRef.visible = false; loaderRef.load(); When your complete event fires, try: doLater ( this, "laterStuff" ); function laterStuff() { loaderRef.scaleContent = true; loaderRef.visible = true; } ----- Original Message ----- From: "Robin Burrer" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com> Sent: Thursday, April 20, 2006 9:43 PM Subject: [Flashcoders] loader component - scaleContent does not always work Hi there, I'm having trouble with the v2 Loader component. The scaleContent does not always work. Every 20th time or so the loaded jpeg image is not scaled. This happens rather randomly which is a bit of a pain. Here's a code that I'm using to initialize a loader component. Note that I'm creating up to twenty loader components at the same time. The idea is that when the first loader has finished loading it is set to visible and the next loader starts loading ... private function iniLoader(loaderRef:Loader,myURL:String) { loaderRef.autoLoad = false; loaderRef.contentPath = myURL; loaderRef.scaleContent = true; loaderRef.load(); loaderRef.addEventListener("complete", this); } I played around with order of the setting the properties but it didn't help either. Any ideas? Robin _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com