It´s a limit of the player. And it´s a weird one. I have to write some
custom function to find the maximum font site in a text field, if i found
a value 81 (empiric value) use the following function to find the
divisor:
function calcFSize(pSize:Number, pDiv:Number):Number {
if (!pDiv) pDiv = 1;
if ((pSize / pDiv) 81) return pDiv;
return calcFSize(pSize, ++pDiv);
}
then divide each font size by the scale, draw the text and scale the whole
text block by 100 * scale.
Hope that helps.
Regards,
On Fri, 09 Dec 2005 02:31:48 -0300, Dhiraj Girdhar [EMAIL PROTECTED]
wrote:
Hi,
Does anyone know about what is the maximum font size can be
given toHTML text in Flash?
If I create a HTML text field and change the font size to 127
pt, when I compare the SWF text size and text size in Flash
authoring, SWF text size is smaller than what is in the authoring. When
I trace textField.htmlText the size comes out to be 127, but it
writes the correct HTML tags to SWF file with whatever size was
given.
I couldn't figure out about this type of behavior?
Does anyone have clue about this?
Regards:
Dhiraj
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
--
_
Marcelo Volmaro
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders