Jump to content


text width


  • You cannot reply to this topic
6 replies to this topic

#1 ribo6

    Young Padawan

  • Members
  • Pip
  • 18 posts

Posted 28 January 2006 - 03:39 PM

Is it possible to get the text's width? Not the width of a text field, just the width of the text in it.

#2 funkysoul

    The Funky Stuff

  • Publishing Betazoids
  • PipPipPipPip
  • 2,307 posts
  • Gender:Male
  • Location:Zurich, Switzerland
  • Interests:Music: HIM, HIM, HIM, Cafe del Mar, Linkin Park, Fort Minor, Coldplay, Eric Jordan<br />Sports: Snowboarding, KiteSurfing, Extreme Sports<br />Computer: Flash, After Effects, Actionscript

Posted 28 January 2006 - 03:53 PM

simple search on google :D
http://livedocs.macromedia.com/flash/8/mai...e=00002730.html

#3 ribo6

    Young Padawan

  • Members
  • Pip
  • 18 posts

Posted 28 January 2006 - 04:48 PM

thank you, it was really easy :D

#4 ribo6

    Young Padawan

  • Members
  • Pip
  • 18 posts

Posted 28 January 2006 - 05:01 PM

But there is one more thing that I can't understand.
Should I always set a text field's width, or it could be set dynamicly?

#5 funkysoul

    The Funky Stuff

  • Publishing Betazoids
  • PipPipPipPip
  • 2,307 posts
  • Gender:Male
  • Location:Zurich, Switzerland
  • Interests:Music: HIM, HIM, HIM, Cafe del Mar, Linkin Park, Fort Minor, Coldplay, Eric Jordan<br />Sports: Snowboarding, KiteSurfing, Extreme Sports<br />Computer: Flash, After Effects, Actionscript

Posted 28 January 2006 - 06:39 PM

textfieldName.autoSize = true;


#6 ribo6

    Young Padawan

  • Members
  • Pip
  • 18 posts

Posted 28 January 2006 - 06:59 PM

:D Everything is so simple. Thank you again

#7 funkysoul

    The Funky Stuff

  • Publishing Betazoids
  • PipPipPipPip
  • 2,307 posts
  • Gender:Male
  • Location:Zurich, Switzerland
  • Interests:Music: HIM, HIM, HIM, Cafe del Mar, Linkin Park, Fort Minor, Coldplay, Eric Jordan<br />Sports: Snowboarding, KiteSurfing, Extreme Sports<br />Computer: Flash, After Effects, Actionscript

Posted 29 January 2006 - 04:22 AM

Such things are simple, try to use the dictionary more often, is really very helpful.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users