On 4/19/06, grimmwerks <[EMAIL PROTECTED]> wrote: > I'm curious... > > Say I've got main.swf which loads in sub.swf; sub.swf has within it's > library, a 'prefMC' which is set to be ready with the class of prefMC > on the first frame. > > Can I, within main.swf, after loading in sub.swf, dynamically generate > another instance of prefMC within main.swf?
Sort of...but you can only attach it to sub.swf. /// code in main.swf holderMC.loadMovie("sub.swf"); ... later, after loading finished ... holderMC.attachMovie('prefMC', 'myPrefMC', 100); holderMC.attachMovie('prefMC', 'myPrefMC2', 200); holderMC.attachMovie('prefMC', 'myPrefMC3', 300); -David R _______________________________________________ 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