[Flashcoders] DuplicateMovieClip - type mismatch error

2006-04-18 Thread David Farrell
Hi all, I'm trying to duplicate a clip and I'm getting a type mismatch error. Undoubtedly it's something silly but I'm not getting anywhere fast. I have a flash movie with a .as file attached. In the .as file, I want to copy a movie clip. Inside the _customerArt array are two MovieClips

Re: [Flashcoders] DuplicateMovieClip - type mismatch error

2006-04-18 Thread David Farrell
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,

Re: [Flashcoders] DuplicateMovieClip - type mismatch error

2006-04-18 Thread p G
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

Re: [Flashcoders] DuplicateMovieClip - type mismatch error

2006-04-18 Thread David Farrell
It does nothing. I don't see what you suggested differently to what I was already doing? The asterix in my code was my email client's way of demonstrating bold. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search