Weird note of the day. If you place a multiline input Textfield on the stage (as opposed to creating it with the class constructor), it will contain a newline by default rather than the expected null. Simply reset it to proceed normally: myTextField.text = “”
Tattoo it on your arm, whatever it takes to remember: Package names can’t match property names in your classes. Try to plan accordingly. If you accidentally create a conflict, the compiler might not be as helpful as you’d hope. Let this be a warning to you.
The new scrollRect property in AS3 DisplayObjects is pretty cool. If you haven’t run into it yet, it’s a fairly simple way to set a rectangular window on a larger piece of content without the hassle of drawing a rectangle and using a mask and inverse positioning the content… For the most common masking operations […]