23 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has sold $100+ on Envato Market
  • Has collected 1+ items on Envato Market
+1 more
encoder says

well.

i dont know what your code looks like. but here is how i work:

i allways use

and any textField, that has to have it’s height checked or some additional metric data generated from it, should be created dynamically. you will have full control of it.

for the embedding part: just create a new font in the library and set its name as you want. (don’t forget to export for as). after that pass that name as a string to the font property. if you use bold or italic you should create separate font classes in yr library. i think the name here dose not matter if you use it together with the normal version. (this works in as3)

see as3 reference for for more info

and don’t know in as2 (i abandoned just after as3 got out) but in as3 .height (the equivalent of _height) gives and sets the height of the textfield and has nothing to do with the true height of the text. in as3 that property is named .textHeight

have a nice coding day

ps: right now i am working on a framework for creating flash sites (mainly xml based), and if i have made enough money with it ( :P ) i set it free on the net.

3565 posts Ruben Bristian
  • Sells items exclusively on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $500,000+ on Envato Market
  • Has been part of the Envato Community for over 6 years
+10 more
KrownThemes says

Ok .. this is the last one :D How about now guys? : http://www.rubenbristian.com/tempy/news.html

230 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+3 more
theflashfactory says

works here now mac FF 3 .3 and safari 3.2.1

3565 posts Ruben Bristian
  • Sells items exclusively on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $500,000+ on Envato Market
  • Has been part of the Envato Community for over 6 years
+10 more
KrownThemes says
works here now mac FF 3 .3 and safari 3.2.1
Thanks :D i can’t believe that the issue was the embedded font in the library.. I removed that font and embedded the font directly in the textField and it works now.
by
by
by
by
by
by