Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Question about QNX® Aviage® HMI Player : (2 Items)
   
Question about QNX® Aviage® HMI Player  
Hello

     How does the FLASH program( in form of .SWF)  communicate with QNX native pragram in QNX® Aviage® HMI Player ?  
In other words, how can  FLASH program call QNX native C functions?


thank you

shawn
Re: Question about QNX® Aviage® HMI Player  
>>>how can  FLASH program call QNX native C functions?
You should refer to the foundry project "HMI Framework".  This is "official" way.  Additionally...

You can extend actionscript by writing your own C code for fscommand2() and geturl().

You can get data (XML format) from a C socket server using the actionscript XMLsocket() object. 

You can send data by requesting a cgi URL from your C socket server - the 'tail' of the URL can be the data you want to 
send.