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 (
) i set it free on the net.
- Most Wanted Bounty Winner
- Sold between 250 000 and 1 000 000 dollars
- Has been a member for 5-6 years
- Repeatedly Helped protect Envato Marketplaces against copyright violations
- Won a Competition
- Bought between 100 and 499 items
- Exclusive Author
- Referred between 200 and 499 users
Ok .. this is the last one
How about now guys? : http://www.rubenbristian.com/tempy/news.html
works here now mac FF 3 .3 and safari 3.2.1
- Most Wanted Bounty Winner
- Sold between 250 000 and 1 000 000 dollars
- Has been a member for 5-6 years
- Repeatedly Helped protect Envato Marketplaces against copyright violations
- Won a Competition
- Bought between 100 and 499 items
- Exclusive Author
- Referred between 200 and 499 users
works here now mac FF 3 .3 and safari 3.2.1Thanks
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.