Just wanna test the waters and see what people think before I clog up
adobe's pipeline with yet another request :)
What about a non-binding evaluation syntax for MXML? OpenLaszlo (shudder)
lets you do
<element attr="${ foo }"/>
Which is a binding, and:
<element attr="$once{ foo }"/>
Which is executed once. I imagine we'd want it done either post
instantiation, or before creationComplete. I think it'd be useful for
constants, as well as calling functions that return a closure to generate
things like labelFunctions, sortFunctions, etc.
Not sure on the syntax or exact execution time, but I think it's hella
useful. I'd definitely want a compile-time warning if you point it to a
variable or a function that returns a variable (rather than an immutable
primitive or another function).
Ideas? Feedback?
Love it / Hate it / "It's already in there you douchebag"?
-J
--
"Therefore, send not to know For whom the bell tolls. It tolls for thee."
:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]