I just checked in a change to trunk that lets you pass two options to the
flex compiler to compile AIR apps, using
a new syntax

>From command line you can specify

lzc --runtime=swf10 --flex-options=version=10.1,air foo.lzx

or from the browser you can specify it like this, with the 'flexoptions' arg
to the new  'lzoptions' string


http://localhost:8080/trunk-clean/demos/lzpix/app.lzx?lzoptions=proxied(true),flexoptions(version=10.1,air),runtime(swf10)


The SWF10 backend parses out the flexoptions and sets the -target and air
config  command line options to the flex compiler, e.g.,
 
-load-config=/Users/hqm/openlaszlo/trunk-clean/WEB-INF/frameworks/air-config.xml

and
-target-player=10.1



-- 
Henry Minsky
Software Architect
[email protected]

Reply via email to