Draknek/FlashPunk — Issue #50: Make Text class more flexible
Author: Draknek
Created: 2011-11-06 22:08:41+00:00
State: open
Labels: Improvement

There are many properties on `TextField` and `TextFormat` that aren't directly accessible on the `Text` class. It would be good to have a way of interacting with those wrapped objects so that you don't have to hack Text.as to make use of them.

I'm envisaging a function like `setTextProperty(name:String, value:*)` but possibly there's a better name.

It would see if `name` is a property of the internal `TextField` or `TextFormat` object and update the appropriate one. I assume there is no property which is on both.