I'm a little rusty on the ins and outs of duplicateMovie as I haven't used
it in years (generally it's better to use attachMovie) but the following
should always be possible.

You can always grab the onPress method from one clip and assign it to
another eg:

        Clip1.onPress = function(){
                // whatever
        };

        clipNew.onPress = Clip1.onPress;

Mike

Mike Pearce
Nectarine  +61 3 9687 7820
www.nectarine.com.au

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, 16 June 2005 4:09 PM
To: Flash Developers List
Subject: [fugli] Duplicate MC prob

hmm

when u duplicate a movie clip, how can u asssign a set or action scripts
to those duplicated movie clips.

the problem i have is the movie clip needs to take a onPress and onRelease
events. so ive given them instance names and put the code in a function
(myMc.onPress = function(){//..}) so on. whn i duplicate these movie clips
i want the duplicated movie clips to have the same actions scripts on
them. any ideas ?

---
You are currently subscribed to fugli as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/


---
You are currently subscribed to fugli as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to