Tue 12 Jan 2016 12:33:16 PM UTC, comment #1:
I have created a simple Flash file (Flash 8) using libming's `makeswf`
with a HTML container to demonstrate the issue, attached as
`flash2js-zeroarg.zip`. JavaScript function `js_function()` prints a line
"js_function callback is called." to HTML page and returns a string "Hello!".
Text output from running `flash2js-zeroarg.html` under browser with Flash Player:
Player's trace output from the run:
You'd see that the JavaScript function was called, and return value was passed
back to ActionScript properly.
Text output from running `flash2js-zeroarg.html` under browser with Gnash:
Gnash's console output from the run:
You'd see that the JavaScript function was not called (no output on HTML page),
and `undefined` value was returned to ActionScript.
Text output, screenshots, full debug/trace output (verbosity 2 + action error),
and Gnash's player-container communication logs are also attached in `flash2js-zeroarg.zip`.
Gnash: 0.8.11dev (git 15d61a8 26-Dec-2015) NPAPI
Flash Player: 11.2 r202 (11.2.202.491) NPAPI binary
Browser: Iceweasel 10.0.12 (debian)
System: Debian GNU/Linux 7.0 Wheezy i386
(file #35999)
|