i know how to make a simple calculation run triggered by a button and I know how to make an animation run triggered by a button but I cannot make the same button trigger both simultaneously. Currently the animation is beginning on its' own despite the following code:
any suggestions?
Code:
Video.stop();
StartButton.addEventListener(MouseEvent.MOUSE_DOWN,StartClip);
function StartClip(e:MouseEvent):void {
Video.play();
}
any suggestions?