flash dilemma

stalkio

New Member
Messages
45
Reaction score
0
Points
0
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:

Code:
Video.stop();

StartButton.addEventListener(MouseEvent.MOUSE_DOWN,StartClip);

function StartClip(e:MouseEvent):void {
    Video.play();
}

any suggestions?
 

VPmase

New Member
Messages
914
Reaction score
0
Points
0
What is it you're trying to do? Are you trying to calculate something while running an animation?
Is the animation a separate movieclip or is it the root.


*Moved to Off Topic*
 
Last edited:

stalkio

New Member
Messages
45
Reaction score
0
Points
0
Yes - to run a animation while making a calculation. The movie is a separate movie clip. Also I would like to have conditions so that error messages will come up in a separate dynamic text box if for example a letter is entered and submitted or no data at all - this doesn't seem so straight forward though with actionscript 3.0. Can anyone assist?
 
Top