Internally on the Flex team, we’ve been talking about how to partition the new Flex 4 features within the existing Flex 3 SDK. Flex 4 introduces new Buttons, CheckBoxes, etc that must live happily with components from Flex 3. And, Flex 4 also introduces new “language” features, like the new states syntax. As an example, [...]
So after a three week vacation, I think I’m finally ready to dive into a few other fun pieces of ActionScript. And really, what better place to start than local variable hoisting.
In Java and C++, local variables are scoped per block, starting at the beginning of a function. Each set of curly braces corresponds to [...]