hii,
i am trying to develop a small interactive game using as3.
i need to play a movieclip when i 'll click on button. Anybody knows simple way for that.
I’m trying this way: i have created a class for that movieclip, then i have created a object of that and then i m tring to call that object in this way.
var geese:geese01=new geese01();
trace(“object created”);
geese1.addEventListener(MouseEvent.CLICK, onPlayClick);
function onPlayClick(event:MouseEvent):void
{
geese.play();
trace(“object is playing”);
}
this is not solving my problem.
plz tel me if anybody knows…
thanks,