Hello All,
I am running into a weird bug. I have a VBox with an id="w1",
within "w1" there is a <mx:Text> component. I am attempting to
adjusting the y coord. It doesn't work. BUT, when I replace
<mx:Text> with <mx:TextArea> component in the VBox, I _can_ adjust the
y coord of "w1". The reason I am trying to use the <mx:Text>
component is I want the Text to autosize.
I have attached a code sample below. Any help would be greatly
appreciated.
---------
public function setY(newY):void
{
w1.y = newY;
}
---------
DOES NOT WORK
---------
<mx:VBox width="50%" id="w1">
<mx:Text y="0" text="QUESTION"/>
</mx:VBox>
---------
DOES WORK
---------
<mx:VBox width="50%" id="w1">
<mx:TextArea y="0" text="QUESTION"/>
</mx:VBox>