hovercraft
Technical User
Code:
onClipEvent(load)
{
this._visible=false;
}
onClipEvent(enterFrame)
{
if (Key.isDown(Key.CONTROL))
{_root.attachMovie("mylaser", "mytest1", _root.getNextHighestDepth(), {_x:200, _y:200});
}
}
After the instance of mylaser called mytest1 is created by pressing the control button, how and where would I put the code to animate the movie clip. I would like to simply reposition mytest1 so that it moves along it's y axis from the creation point (200,200) and move towards the top of the screen.
Thanks,
Dave