Dear All,
Thanks in advance.
I am compiling an .as file with mxmlc on the fly using PHP.
CODE:
exec(“mxmlc example.as”,$retval,$success);
print_r($retval);
The output of above is just:
Array ( [0] => Loading configuration file /site/fsdk/frameworks/flex-config.xml )
Whereas actually, when I execute “mxmlc example.as” (From command line linux) I get many errors as:
public class My_273860 extends Sprite asdfasfasf
^
I want to catch all the errors:
Please help,
Thanks.