LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 




 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-25-2008, 08:57 PM
Mzor Mzor is offline
Registered User
 
Join Date: Sep 2008
Posts: 1
Rep Power: 0
Mzor is on a distinguished road
Functions in multiple instances of a movie clip

Okay, so I have a piece of code in the timeline which allows you to drag and drop an object. Say I had the Movie Clip "circle" that could be dragge and dropped. Then here is my code in the timeline:

Actionscript:
circle.onPress = function(){
    this.startDrag(true);
}

circle.onRelease = function(){
    this.stopDrag();
}
Now, say I have two instances of "circle" on the stage. I can drag and drop one of them just fine, but the other instance of "circle" won't do anything.

Any idea how I can get around this?
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Goto + movie clip in a movie clip mongolian Newbies 2 11-20-2007 07:07 AM
Movie Clip buttons will not work with instances teni Newbies 0 08-14-2007 10:56 PM
Movie Clip within a Movie Clip: Text Linkage Problem Inquirer Newbies 5 12-27-2005 08:22 AM
What is the best way to do this? rolento Newbies 29 12-09-2005 10:12 PM
on mouse effects in movie clip instances Vesper Flash 5 Actionscript 1 06-25-2001 04:26 PM




All times are GMT. The time now is 02:45 PM.