Skip to main content
Participating Frequently
September 22, 2008
Question

adressing all similar movieclips

  • September 22, 2008
  • 2 replies
  • 282 views
Hi!

What i basically want to do is to edit a movieclip like when you edit it through the library, so that all copies of it changes, but through actionScript.

And if anyone has a good, non framebased alternative to hitTest, that would be appreciated aswell.

Thanks in advance

/Adbul
This topic has been closed for replies.

2 replies

Adbul_Author
Participating Frequently
September 22, 2008
Inspiring
September 22, 2008
Well it really depends upon what you mean by the first bit. It sounds like you might want to make your Class and then instances of that class will all inherit the same properties, methods, and events. But it is hard to know without more detail.

And the same for the second part of your question as well. I'm not sure what a framebased alternative to hitTest would be. Or why you would want an alternative to hitTest. It all depends upon what types of collisions you are trying to check for. Grant Skinner has a very nice Collision class that uses bitmaps. There is some really good math out there for other types of checks.

So in the end you need to be more specific.