-
rotation and TextFields
I'm not sure what I'm seeing here. I've got a class (Table) that extends Sprite with a mousedown handler which creates a new Sprite (DescBox), adds it, then constructs and adds a TextField to the DescBox. This all works just fine.
However, if the original Table had a rotation other than 0, the newly added DescBox and TextField would fail to render. It was there, responding to mouse events, just not showing on the screen.
It's not such a big deal, because I realized I want the text level anyway, so I simply told the DescBox holding the text that its rotation was -1*rotation (of the holding Table), thus cancelling it out. When I did that, things render fine.
Is this a known bug or pitfall? Did I do something very dumb?
-
You're probably running into the issue that dynamic TextFields won't render their text at any rotation besides zero unless their font is embedded...
-
Not that I need to fix it, but is there a consolidated list of this sort of known issue?
-
hehhh...yeah, just grep a google search for AS3 and anything that's not in the f*n manual.