[Laszlo-dev] How to check "flexversion" at runtime/compile-time?

Henry Minsky henry.minsky at gmail.com
Sat Dec 11 07:10:43 PST 2010


We don't have a compile time constant right now, but I could add one.

There's an option that can be supplied now via the lzc command line or the
new URL options(...) list,

        "--flex-options=version=10.x,air,debug",

Internally that string is stored in the compiler options hashtable as

Compiler.FLEX_OPTIONS = "flexoptions"

And in  sc/SWF9External there's some code that parses out the version in
order to pass the flag
to the flex compiler. That's the only place it's used now.

I can add a javascript compile time constant for it. Can you file a JIRA
task and assign to me?


On Sat, Dec 11, 2010 at 9:34 AM, André Bargull <andre.bargull at udo.edu>wrote:

> Is there any way to check the "flexversion" property at runtime resp. at
> compile-time? So something similar to the compile-time constants like
> "$swf10", "$swf9" etc. This is important when you want to import class
> definitions for swf10.1, for example.
>



-- 
Henry Minsky
Software Architect
hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20101211/ddea65de/attachment.html


More information about the Laszlo-dev mailing list