On 2/1/16, 12:36 AM, "Christofer Dutz" <christofer.d...@c-ware.de> wrote:

>Hi Alex,
>
>well unfortunately exit can be used by the application to return a code,
>but it doesn't contain a list of the built-in error codes of the
>flashplayer. So I guess I'll stick to the "exit code = 0 --> all ok" and
>"exit code != 0 --> not ok" and use the detailed exit codes for xvfb-run
>(http://manpages.ubuntu.com/manpages/lucid/man1/xvfb-run.1.html#contenttoc
>6) and air 
>(http://help.adobe.com/en_US/air/build/WSfffb011ac560372f-6fa6d7e0128cca93
>d31-8000.html).

Maybe I'm not thinking clearly, but I can't figure out how you would know
the exit code came from AIR/Flash instead of the SWF itself.  Even AIR has
NativeApplication.exit [1] so it seems like a running SWF could always
report an exit code that would make you think it is one of the codes
listed in the links you posted.  I can ask the player team if there is a
set of codes used by the standalone projector for failure to load the SWF,
etc, but I don't know how you would distinguish between that and someone
calling exit() in their running SWF.

-Alex

[1] 
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/de
sktop/NativeApplication.html#exit()

Reply via email to