cs.punk Posted May 6, 2010 Share Posted May 6, 2010 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? Quote Link to comment https://forums.phpfreaks.com/topic/200885-example-from-tutorial-not-working/ Share on other sites More sharing options...
n000bie Posted May 9, 2010 Share Posted May 9, 2010 After that create a flash movie (a fla?) and add 'HelloWorld3.as' as the document class. Just add HelloWorld3 as the document class (remove the .as) Quote Link to comment https://forums.phpfreaks.com/topic/200885-example-from-tutorial-not-working/#findComment-1055263 Share on other sites More sharing options...
cs.punk Posted May 9, 2010 Author Share Posted May 9, 2010 LoL! Thanks man. Quote Link to comment https://forums.phpfreaks.com/topic/200885-example-from-tutorial-not-working/#findComment-1055491 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.