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 [...]
Let’s say you’ve just pasted in a snippet of code, or loaded a file that is missing imports. When you compile, you get errors and you’re stuck importing each definition by hand. Flex Builder provides a bit of a hidden feature here to help you import your missing types: next to each type that is [...]