[Laszlo-dev] How to check "flexversion" at runtime/compile-time?
andre.bargull at udo.edu
Sat Dec 11 08:16:26 PST 2010
Do you think a string-constant is sufficient, e.g. $flexversion?
I've got an extended compile-time evaluator which also supports string
comparison, so there is no issue wrt the current evaluator - like the
ClassCastException in LPP-9582.
On 12/11/2010 4:10 PM, Henry Minsky wrote:
> 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,
> 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.
> task and assign to me?
> On Sat, Dec 11, 2010 at 9:34 AM, André Bargull <andre.bargull at udo.edu
> <mailto: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 <mailto:hminsky at laszlosystems.com>
More information about the Laszlo-dev