Viewpoint Forums
Viewpoint Forums
Viewpoint ZoomView & Flash Authoring
Triggering Actions directly from Flash?|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Member |
Hi, is it possible to trigger an Action directly from within Flash using ActionScript, or do I need to trigger an animation that triggers the Action via an ActionAnimator?
If it is possible to trigger the Action directly, can I have an example of the ActionScript please? Thanks |
||
|
|
Member |
hrmmm, very good question... I'm afraid the answer is no though, actions cannot be triggered (via actionscript or javascript), rather they are 'called'. However, using an interactor is a little more elegant than creating an action animator. For example, in your flash move you might have a mouse event which does an fscommand:
on (press) {
fscommand("PostMessage", "Message=doSomething");
}
then in your mtx you would handle that event: <MTSInteractor> <MTSHandle Event="doSomething" Action="myAction"/> </MTSInsteractor> make sense? HTH, ~D |
|||
|
|
Member |
Thanks |
|||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|
Viewpoint Forums
Viewpoint Forums
Viewpoint ZoomView & Flash Authoring
Triggering Actions directly from Flash?
