Is it possible to change the point which as3 considers when setting the x,y position of a textField?


Is it possible to change the point which as3 considers when setting the x,y position of a textField?



I have one textfield and I set it's position to for example x=5, y=5. So I have it like this:

1-2-3-4-5-6-7-8-9-x 2        3 4 5        6       TEXT 7 8 9 x 

Is it possible to set the textField in a way that the x y value are applied to the bottom corner of the textField like this

1-2-3-4-5-6-7-8-9-x 2        3 4    TEXT 5   6 7 8 9 x 

Hope I explained myself correctly.

Thank you in advance .

David




dynamic xml reading in flash

1:



Add own watermark to flex chart
You'd need to extend TextField and override updateDisplayList() with the appropriate logic to calculate this for you.


Sandy 3D: Creating a Room with Physics
There is no way to explicitly set the origin on a display object..
Limiting the values in an array collection


Flex profiler isn't showing me what I expect… Am I doin' it wrong?


Create instances of flex custom component by passing in type

2:



Understanding the “Instantiation” of Actionscript/Flash Objects
Other than just setting textfield.y = y - height, I don't think so..
ActionScript 3 clock example in flash



88 out of 100 based on 58 user ratings 658 reviews