Viewpoint Forums
Viewpoint Forums
Viewpoint Tips, Tricks & Hacks
More flash - mtx communication|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Member |
Hey I've been looking through the forums and found the way to communicate from flash to the mtx and vice versa however i'm having a problem on somethign that should work fine...
<MTSTimeElem Type="SWFView" Name="control" On="0" PostAnimator="1" Path="xxx.swf"/> <MTSInteractor> <MTSHandle Event="allin" Action="loadAction" /> </MTSInteractor> <MTSAction Name="loadAction" > <MTSAssignProperty Target="MTSTimeElem.control.SWF._root.here.setDone()" Value="" /> </MTSAction> In flash i have: function setDone() { gotoAndPlay(3); } stop(); However nothign happens...i'm using flash 7, and scene version 311 |
||
|
|
Member |
Hello,
All actions must appear above interactors in the mtx code. Basic structure for mtx code should look like this: <MTSScene> <MTSInstance/> <MTSAction/> <MTSTimeElem/> <MTSInteractor/> </MTSScene> The example you posted is probably not working because your action is below your interactor. The action must be above the interactor(s) that is(are) calling it. Regards |
|||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|
Viewpoint Forums
Viewpoint Forums
Viewpoint Tips, Tricks & Hacks
More flash - mtx communication
