23 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 6-7 years
  • Referred between 1 and 9 users
  • Sold between 100 and 1 000 dollars
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.

3249 posts Nice Guy
  • Forum Superstar
  • Most Wanted Bounty Winner
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Has been a member for 6-7 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Won a Competition
  • Bought between 100 and 499 items
  • Exclusive Author
+6 more
RubenBristian says

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

230 posts
  • Beta Tester
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 1 and 9 users
  • Sold between 1 000 and 5 000 dollars
  • United Kingdom
theflashfactory says

works here now mac FF 3 .3 and safari 3.2.1

3249 posts Nice Guy
  • Forum Superstar
  • Most Wanted Bounty Winner
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Has been a member for 6-7 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Won a Competition
  • Bought between 100 and 499 items
  • Exclusive Author
+6 more
RubenBristian 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