Totally forget in AS2, but maybe research getDefinitionByName() - it can retrieve a class based on a classname string - and maybe there are some comments about AS2 vs. AS3
-jonathan On Tue, Sep 22, 2009 at 2:54 AM, Hans Wichman < [email protected]> wrote: > Hi, > > I don't remember the exact details, but if I remember correctly there are 2 > ways: > 1. > let the child attach the clip at the root, copy its bitmap data and use > that > to create a clip in its own root, but this will result in static bitmaps > only > > 2. > -declare an empty clip with linkage id in the root and export it for > runtime > sharing > -in the child import the clip from the parent for runtime sharing > It was one of those hacks, but it's been a long time, so I'm not sure I got > the steps all right, I might have those files somewhere. > > Hope that helps! > Hans > On Tue, Sep 22, 2009 at 5:50 AM, Andrew Sinning <[email protected] > >wrote: > > > How would one instantiate a symbol instance linked to the parent movie's > > library? > > > > E.g., there's an asset in top most movie's library called "Asset". The > > presentation engine is a separate swf that gets loaded into the top most > > movie. From within this movie, using AS2, I need to create an instance > of > > Asset. > > > > The child swf uses _lockRoot. > > > > Thanks! > > _______________________________________________ > > Flashcoders mailing list > > [email protected] > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- -jonathan howe _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

