actionscript 3 - Flash CS4 Textfield weirdness! -


I am working on a flash project where a designer has typewriter effect

Working for the best part of the day, and now with some minor changes in other parts of the flame, it is not working!

Does anyone have any idea why this does not work ....

  import flash.text.TextField; Var phrase_string: string = "sale is ending"; Var n: number = phrase_string.length; Var i: Number = 0; AddEventListener (Event.ENTER_FRAME, textCheck); Function text check (e: event): zero {if (i & lt; n) {display_txt.text = phrase_string.substr (0, i + 1); I ++; Trace (phrase_string.substr (0, i + 1)); }}  

This is simply called display_txt with the dynamic textfield of the movieclip (embedded with fonts)

I'm completely foggy!

This is a classic font embedding problem. Some fonts treat different types of bold and italic wits, and to display these bold or italic versions, you can export a new 'font' (same font name, but different font weight) to your library. May have to add.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -