Try doing this .. var testClip:MovieClip; var david:MovieClip = _customerArt[0]; testClip = david.duplicateMovieClip("testClip", this.getNextHighestDepth());
On 4/18/06, David Farrell <[EMAIL PROTECTED]> wrote: > > Hi all, > > I'm looking into this further and although I don't have a solution - I > have a bit more info. > > The following code creates a duplicate of my movie clip: > > *var testClip:MovieClip; > var david:MovieClip = _customerArt[0]; > testClip = david.duplicateMovieClip("testClip", > getNextHighestDepth());* > > when I put it on frame 0 of my movie > > But when I move it to an actionscript file it stops working. > > now, I know my _customerArt[0] movie clip IS being loaded into 'var > david' because when I move it's _x around, it behaves accordingly. > > So, why is it that the movie clip doesn't create a duplicate when inside > a function in an actionscript file? > > David > > _______________________________________________ > 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