That's what I was afraid of. I want to avoid doing that, as the brand.swf it meant just to be an external library which can be swapped around, though I guess I could have my main.swf build the UI inside the uiResources MC. Kind of ugly though.
I'm guessing I could do it with links, but from what I've seen online the link depends on a URL to the brand.swf, which doesn't really work since I want to be able to use different brand.swfs and pick them at runtime (probably as a parameter to the movie). Is there a way to use links without having a fixed URL for the linked SWF? -Andy On 1/22/07, Martin Wood-Mitrovski <[EMAIL PROTECTED]> wrote:
you cant attach symbols from a loaded swf to a different parent, you *must* attach them somewhere in the tree where their library exists. you have to do uiResources.attachMovie instead of _root.attachMovie its a nasty limitation of flash (pre v9, in v9 you can manipulate the display heirarchy pretty much as you like) Andy Herrman wrote: > var img:MovieClip = root.attachMovie("asImage", "asImageMC", > root.getNextHighestDepth()); _______________________________________________ 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