actionscript - i need to implement some mouse/flash animation object interactivity, can anyone please help? -


Sorry, if it's a bit long I need to model some 3D objects in a different 3D application, then Animate them, import these animations into Flash CS3 and then trigger these animations with the mouse. Therefore, for example, a box object will open when the mouse goes over it (the animation will be triggered by the mouse).

In addition, more complexity, I need another object to rotate in that direction on which the mouse is swiped. I thought I would make about 16 different looping animations in 3D application, and it would speed up the special animation based on the cursor on the object on which the flash moves.

As you possibly can tell, I am an animator and there is no clue about any advice, if anyone has any advice, I would appreciate it very much.

Thank you.

OK, I'm not sure if this question has a shortcut, then I think that you look up Mouse events and function calls I'm not sure how much you know about actionscript 3, but for part of the click you will need something like this:

  this.addEventListener (MouseEvent .click, onMouseClick);   

This means that when you click the mouse, the "onMouseClick" function will be called.

  Private Function onMouseClick (e: MouseEvent): Zero {theNameOfYourAnimationMovieClipInstance. GotoAndPlay ("theNameOfTheLabelToPlay"); }   

It may not be too much, but I think that you have to specify your question if you want a complete solution Hope it helps a little.

Comments