|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Ok I have this problem.
I have created a class, so that when i type: Code:
var tt = new MyClass(var1,var2,var3); now 'MyClass', is a class which creates a new movieclip on w.e depth level. Now my question is how do I give 'MyClass' events, such as onMouseMove etc. Mind you, i have a dynamic number of equal classes created, so i need a universal way of handling the events of all of my created movieclips from 'MyClass'. I cant seem to figure it out. Please help. |
|
#2
|
||||
|
||||
|
Interesting Question!
But I don't think you are telling us the whole story and I don't want to assume things. The code you provide does not create a new movie clip, unless their is some code elsewhere. I think you may be talking about duplicating movie clips? |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > Events for Classes |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|