Re: [Flashcoders] as3 Loader.content.name error

2007-06-07 Thread Rob Romanek
Another workaround that I've been using is to use the loading swf as wrapper for the movieClip I ultimately want to display on the stage. Create the content you want to use as movieClip symbol in your swf, export for actionscript, no need to put it on the stage, and give it a class name. No

RE: [Flashcoders] as3 Loader.content.name error

2007-06-07 Thread David Ngo
f.com Subject: RE: [Flashcoders] as3 Loader.content.name error I want to rename the content because I need to be able to access it later using getChildByName("test"); But since its not possible, I think I'll have to make my classes dynamic and do this instead : private function lo

RE: [Flashcoders] as3 Loader.content.name error

2007-06-07 Thread Patrick Matte|BLITZ
ne 07, 2007 7:19 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] as3 Loader.content.name error If you want to call addChild on the content then you can simply do: addChild(event.target.content) and that will throw your content on the stage. I'm not sure why it is not

Re: [Flashcoders] as3 Loader.content.name error

2007-06-07 Thread Rob Romanek
If you want to call addChild on the content then you can simply do: addChild(event.target.content) and that will throw your content on the stage. I'm not sure why it is not possible to name that new content. I've tried playing around with this myself and can't figure out how once you've load

[Flashcoders] as3 Loader.content.name error

2007-06-06 Thread Patrick Matte|BLITZ
Is there a way a change the name of the Loader content property. I'd like to call addChild() on the content instead of the Loader itself. Like this : loader = new Loader(); loader.contentLoaderInfo.addEventListener(Event.INIT, loaderInit); var request:URLRequest = new URLRequest(pageSource); loa