Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  VETScript    Calling PostEvent from ActionScript
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Member
Posted
Hello, I have this Event at MTX:
<MTSInteractor Name="loading_interactor">
<MTSHandle Event="loading_event" Action="loading_action"/>
</MTSInteractor> 


..and I want to call it from SWF, but I can't find a way to do this.
I tried fscommand("PostMessage","Message=loading_event") but it doesn't run.

If I call PostEvent from Javascript, there is no problem, but cannot find out how to do this from SWF. I miss some complex documentation of extern etc...
Thank you
 
Posts: 29 | Registered: March 09, 2007Reply With QuoteEdit or Delete MessageReport This Post
Member
Posted Hide Post
I have found out where was the problem - I had same name of event as an action in MTSHandle tag.
Now the fscommand runs well.

This message has been edited. Last edited by: niverin,
 
Posts: 29 | Registered: March 09, 2007Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 

Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  VETScript    Calling PostEvent from ActionScript