23 posts
  • 7 Years of Membership
  • Affiliate Level 1
  • Author Level 2
  • Collector Level 1
+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.

3804 posts
  • Elite Author
  • Author Level 11
  • Trendsetter
  • 7 Years of Membership
+12 more
KrownThemes
says

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

230 posts
  • 7 Years of Membership
  • Affiliate Level 1
  • Author Level 3
  • Beta Tester
+3 more
theflashfactory
says

works here now mac FF 3 .3 and safari 3.2.1

3804 posts
  • Elite Author
  • Author Level 11
  • Trendsetter
  • 7 Years of Membership
+12 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