i am trying to extend a moviclip in action script 2 but i am not able to assign to a movieclip dynamically… how do i do it?
here is the code i have written… it doesnt seem to work… somebody help me please
class game.handler extends MovieClip
{
public function onLoad()
{
trace(this);
trace("loaded");
}
public function onEnterFrame()
{
trace("hai");
}
}
import game.handler;
var box:handler=new handler(this.attachMovie(“handler”,“handler”,this.getNextHighestDepth()));