Discussion:
[Gnash-commit] [sr #107543] Building the Gnash libraries into my application
Nutchanon Wetchasit
2016-05-29 10:02:26 UTC
Permalink
Follow-up Comment #3, sr #107543 (project gnash):

Also, advanced features like ExternalInterface communication
<http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/2/00001036.html>
with the SWF, or internal plugin functions are also available (but lacks
documentation).

If you want to use it, you need to open two anonymous pipe, and run
(fork-exec) gnash with `--fd` parameter supplying the pipes' file descriptor
number. Then you could communicate with the SWF inside Gnash. The exact
protocol used here is not documented, you'll need to read libgnashcore's
`movie_root.cpp`
<http://git.savannah.gnu.org/cgit/gnash.git/tree/libcore/movie_root.cpp?id=c6da4863e343fd228e5546ec053b23ff1c3794de#n1570>
to find information about it.

Hope anyone stumbled on this thread find them useful.


_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/support/?107543>

_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/

Loading...