Re: [Flashcoders] attachMovie fails with runtime shared asset
Hi, from what I've experienced before, the assets are only available to the child clips. Eg. _root |- some_clip |- asset_mc |- child If you load assets into asset_mc, some_clip cannot access it, ie, _root.some_clip.attachMovie(asset...) won't work, neither will _root.attachMovie(...). Only asset_mc.attach... and child.attach... will. On 1/6/07, Mendelsohn, Michael [EMAIL PROTECTED] wrote: Hi list... I'm trying to do _root.attachMovie(runtimeShared,runtimeShared,1); where runtimeShared is an asset from another swf that's exported for runtime sharing and dropped into this movie's library as import for runtime sharing. I have found that the attachMovie method *only* works if I drop an instance of runtimeShared on the stage first. Why would this be, and is there a way around it? Can't you simply attach a movie of a runtime shared asset? Thanks, - Michael M. ___ 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 -- Cheers, Ray Chuan ___ 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
Re: [Flashcoders] attachMovie fails with runtime shared asset
Hi, There is a workaround for this, where u dont have to drop an instance of runtimeShared on the stage first.I assume runtimeShared is the identifier of the shared asset which u import from another swf for runtime sharing. 1. Create a new blank symbol in the library, where u have the imported symbol,give a linkage indentifier to it with export for AS and Export in first frame selected. 2. Place the imported symbol runtimeShared inside the blank symbol. Now, try ur line ,_root.attachMovie(runtimeShared,runtimeShared,1); This works fine when u are importing graphical objects. regards, Arindam Mendelsohn, Michael [EMAIL PROTECTED] wrote: Hi list... I'm trying to do _root.attachMovie(runtimeShared,runtimeShared,1); where runtimeShared is an asset from another swf that's exported for runtime sharing and dropped into this movie's library as import for runtime sharing. I have found that the attachMovie method *only* works if I drop an instance of runtimeShared on the stage first. Why would this be, and is there a way around it? Can't you simply attach a movie of a runtime shared asset? Thanks, - Michael M. ___ 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 Send instant messages to your online friends http://asia.messenger.yahoo.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] attachMovie fails with runtime shared asset
Hi list... I'm trying to do _root.attachMovie(runtimeShared,runtimeShared,1); where runtimeShared is an asset from another swf that's exported for runtime sharing and dropped into this movie's library as import for runtime sharing. I have found that the attachMovie method *only* works if I drop an instance of runtimeShared on the stage first. Why would this be, and is there a way around it? Can't you simply attach a movie of a runtime shared asset? Thanks, - Michael M. ___ 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