Is this documented anywhere? Is Adobe aware? What a stupid limitation. Thanks 
for sharing the code.

Cheers

M 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Marcelo Volmaro
> Sent: 09 January 2007 12:53
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] Textformat size ignores anything over 96
> 
> You can´t. I had to develop an application that needed text 
> sizes bigger than that, and i had to create a "special" text 
> field in where if the size was bigger than 96px (in fact the 
> limit is on the line of the 80px, that´s why i use 81 in the 
> function), i scaled up (by for example 200%) the text field 
> and place the text scaled down (by 50% in this case).
> 
> The function i use to find the scale is:
> 
> private function calcFSize(pSize:Number, pDiv:Number):Number {
>      pDiv = pDiv || 1;
>      if ((pSize / pDiv) < 81) return pDiv;
>      return calcFSize(pSize, ++pDiv);
> }
> 
> 
> and you use it like:
> 
> var fontSize = 384;
> 
> var perc = calcFSize(fontSize); //fontSize is the size in 
> pixels of the font.
> textformat.size = fontSize/perc;
> textfield._xscale = textfield._yscale = perc * 100;
> 
> 
> Regards,
> 
> 
> On Tue, 09 Jan 2007 07:36:38 -0300, Mike Mountain 
> <[EMAIL PROTECTED]> wrote:
> 
> > Anyone know how to format text to above  96px high using 
> the texformat 
> > object - it seems to just ignore them.
> > Cheers
> > M
> >
> >
> >
> >
> >
> >
> >
> > ECM Systems Ltd, Ellifoot Park, Burstwick, East Yorkshire HU12 9DZ
> >
> > Tel: 01964 672000   
> > Fax: 01964 671102
> >
> > Registered in England no. 01646471  
> >
> > The information contained within this email expresses the 
> views of the 
> > sender and not necessarily those of the company. It is private and 
> > confidential and may be legally privileged. It is intended 
> solely for 
> > those authorised to receive it. If you are not the intended 
> recipient 
> > you are hereby notified that any disclosure, copying, 
> distribution or 
> > action taken in reliance on its contents is strictly prohibited and 
> > may be unlawful. If you have received this email in error, please 
> > telephone us immediately on
> > 01964 672000 or email a reply to highlight the error and 
> then delete 
> > it from your system. This email may contain links to web-sites, the 
> > contents of which ECM Systems Ltd have no control over and 
> can accept 
> > no responsibility for. Any attachments have been 
> virus-checked before 
> > transmission; however, recipients are strongly advised to carry out 
> > their own virus checking as ECM Systems Ltd do not warrant 
> that such 
> > attachments are virus-free. Please note that this email has been 
> > created in the knowledge that Internet email is not a secure 
> > communications medium.
> > We advise that you understand and observe this lack of 
> security when 
> > emailing us.
> >
> > ECM Systems Ltd, Ellifoot Park, Burstwick, East Yorkshire HU12 9DZ
> >
> > Tel: 01964 672000   
> > Fax: 01964 671102
> >
> > Registered in England no. 01646471  
> >
> > The information contained within this email expresses the 
> views of the 
> > sender and not necessarily those of the company.
> > It is private and confidential and may be legally privileged. It is 
> > intended solely for those authorised to receive it. If you 
> are not the 
> > intended recipient you are hereby notified that any disclosure, 
> > copying, distribution or action taken in reliance on its 
> contents is 
> > strictly prohibited and may be unlawful. If you have received this 
> > email in error, please telephone us immediately on 01964 672000 or 
> > email a reply to highlight the error and then delete it from your 
> > system. This email may contain links to web-sites, the contents of 
> > which ECM Systems Ltd have no control over and can accept no 
> > responsibility for. Any attachments have been virus-checked before 
> > transmission; however, recipients are strongly advised to carry out 
> > their own virus checking as ECM Systems Ltd do not warrant 
> that such 
> > attachments are virus-free.
> > Please note that this email has been created in the knowledge that 
> > Internet email is not a secure communications medium.
> > We advise that you understand and observe this lack of 
> security when 
> > emailing us.
> >
> >
> >
> > _______________________________________________
> > [email protected]
> > 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
> 
> 
> 
> -- 
> _____________
> Marcelo Volmaro
> _______________________________________________
> [email protected]
> 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
> 

ECM Systems Ltd, Ellifoot Park, Burstwick, East Yorkshire HU12 9DZ

Tel: 01964 672000       
Fax: 01964 671102

Registered in England no. 01646471                 

The information contained within this email expresses the views of the sender 
and not necessarily those of the company. 
It is private and confidential and may be legally privileged. It is intended 
solely for those authorised to receive it. If you are 
not the intended recipient you are hereby notified that any disclosure, 
copying, distribution or action taken in reliance on its 
contents is strictly prohibited and may be unlawful. If you have received this 
email in error, please telephone us immediately 
on 01964 672000 or email a reply to highlight the error and then delete it from 
your system. This email may contain links to 
web-sites, the contents of which ECM Systems Ltd have no control over and can 
accept no responsibility for. Any 
attachments have been virus-checked before transmission; however, recipients 
are strongly advised to carry out their own 
virus checking as ECM Systems Ltd do not warrant that such attachments are 
virus-free. 
Please note that this email has been created in the knowledge that Internet 
email is not a secure communications medium. 
We advise that you understand and observe this lack of security when emailing 
us.



_______________________________________________
[email protected]
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