I'm having a problem that maybe someone can help with. I have a text field which users can enter text into, and when hitting the "Add Text" button it gets dynamically added to the FlexTransformManager. This works great with short lines of text, but when a long line of text gets entered that extends the Text object's size beyond the bounds of the TransformManager I run into a problem. It allows it to be added, but once the user selects it, it scales itself down to a size that is about 80% of the TransformManager's width and jumps both the x and y coordinates to some random position down and to the right.
Idealy I would like to avoid the scenario above altogether and scale the object down to be within the boundaries at the point that it's added to the TransformManager instead of waiting until the user selects the object. Any ideas on how to accomplish this?
<?xml version="1.0" encoding="utf-8"?>