Jump to content

Example from tutorial not working?


cs.punk

Recommended Posts

Well basically its:

 

create this script: (HelloWorld3.as)

package
{import flash.display.*;
  import flash.text.*;
  
  public class HelloWorld3 extends MovieClip 
   {public function HelloWorld3()
     {var myText:TextField = new TextField();
  myText.text = “Hello World!”;
  addChild(myText);
     }
   }
}

 

After that create a flash movie (a fla?)

and add 'HelloWorld3.as' as the document class.

 

Now I should run it and should be able to see 'hello word' ? but its blank?

Link to comment
https://forums.phpfreaks.com/topic/200885-example-from-tutorial-not-working/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.