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.

3711 posts Ruben Bristian
  • Sells items exclusively on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $750,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

3711 posts Ruben Bristian
  • Sells items exclusively on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $750,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.

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by