Hi all,


Has anyone find a way to calculate the real size that a textfield should take in order to display its content correctly. The trouble comes from the mix of TextFormat properties and TextField ones :

TextFormat.getTextExtend did a good job before the safron text engine included in Flash8. Now we can set thickness directly on the textfield, but the preceding method of TextFormat doesn't take account of that.

So obviously the result is smaller than needed.

Is there a factor to multiply to the getTextExtend method to get it work with those nice textfield enhancements ?


Thanks for your lights.
-----------
erixtekila
http://blog.v-i-a.net/

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to