Re: [Flashcoders] DINAMIC MENU

2006-04-04 Thread Sebastián Sirvent
How can I center text among height, depending on the amount of  
characters?



Sebastián Sirvent
http://www.e-foco.com


On Mar 29, 2006, at 11:57 PM, <[EMAIL PROTECTED]>  
<[EMAIL PROTECTED]> wrote:


make the textfield dynamic, make it multilined, wordwrap and make  
sure it

can autosize.
mytxt.autoSize='left'; (can also be true)



Hi,

I'm loading texts from a XML file to be assigned to different
buttons, but this texts have different amout of characters, and  
I   need

the buttons to adjust to the amout of characters, keeping the   same
widht for all of them, and just changing height and make this
text to

wrap.
  For example, when text is "home" this button must have one line,
but when text is "This text is to long for a button" I need it to be
set in 2 or maybe 3 lines.

Thanks in advance.


Sebastián Sirvent
http://www.e-foco.com


___
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




___
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



___
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


Re: [Flashcoders] DINAMIC MENU

2006-03-29 Thread stacey
make the textfield dynamic, make it multilined, wordwrap and make sure it
can autosize.
mytxt.autoSize='left'; (can also be true)


> Hi,
>
> I'm loading texts from a XML file to be assigned to different
> buttons, but this texts have different amout of characters, and I   need
> the buttons to adjust to the amout of characters, keeping the   same
> widht for all of them, and just changing height and make this   text to
> wrap.
>   For example, when text is "home" this button must have one line,
> but when text is "This text is to long for a button" I need it to be
> set in 2 or maybe 3 lines.
>
> Thanks in advance.
>
>
> Sebastián Sirvent
> http://www.e-foco.com
>
>
> ___
> 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



___
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


[Flashcoders] DINAMIC MENU

2006-03-29 Thread Sebastián Sirvent

Hi,

I'm loading texts from a XML file to be assigned to different  
buttons, but this texts have different amout of characters, and I  
need the buttons to adjust to the amout of characters, keeping the  
same widht for all of them, and just changing height and make this  
text to wrap.
 For example, when text is "home" this button must have one line,  
but when text is "This text is to long for a button" I need it to be  
set in 2 or maybe 3 lines.


Thanks in advance.


Sebastián Sirvent
http://www.e-foco.com


___
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