I have a movie clip Screen which contains another movie clip dragger. (a drag bar)
I will be attaching instances of this clip as needed.
What I want to do is write a function so that when the dragger bar is pressed in any of the instances of the Screen clip, that instance of Screen can then be dragged.
This function resides in a class Screen which is linked to the movie clip and I am using AS 2.0
This is more or less what I have come up with
What's throwing me is the paths and use of this in AS 2.0 I know it's simple, sorry this is my first class.Code:function drag() { dragger.onPress = startDrag(true); }
Thanks for your help




Reply With Quote