I tried to implement your code, but i'm obviously doing something wrong. I continue to get this error : 1061: Call to a possibly undefined method changeVisibilty through a reference with static type Class.
Here is the my code:
public class Cloak extends MovieClip
public function Cloak()
static public function changeVisibility (isVisible:Boolean, ...args):void
var collection:Array = args is Array ? args as Array : args;
for each (mc in collection)
mc.visible = isVisible;
I am implementing the class as such:
Please advise accordingly, thanks for your help thus far.