UEEEE displayed instead of text


hi, i'm learning how program book purchased , i'm making simple guessing game. programming follows...

package

{

          import flash.display.movieclip;

          import flash.events.mouseevent;

 

          public class main extends movieclip

          {

                    var startmessage:string;

                    var mysterynumber:uint;

 

                    public function main()

                    {

                              init();

                    }

                    function init():void

                    {

                              //initialize variables

                              startmessage = "i'm thinking of number between 1 , 100";

                              mysterynumber = 50;

                              //initialize text fields

                              output.text = startmessage;

                              input.text = "";

                              input.backgroundcolor = 0xffcccccc;

                              input.restrict = "0-9";

                              stage.focus = input;

                    }

          }

}

 

the problem whenever test it. no errors. in text box (instance named "output") instead of saying, "i'm thinking of number between 1 , 100" saying "ueeee". ran debuging permited , told me should embed text or use device central however, book says not though.

embed text , add no text output in ide.  assign text actionscript unless use static textfield.

 

(and, new book if adises against embedding fonts.)



More discussions in ActionScript 3


adobe

Comments

Popular posts from this blog

Joomla 3.3 Installation Error message - Joomla! Forum - community, help and support

Multilanguage infinite redirect loop error. - Joomla! Forum - community, help and support

Thread: Wine can't find the cd