Just recently, I've been trying to learn Actionscript 3 for Adobe Flash. Unfortunately, I cannot even get the most basic code to work. For some reason, when I run it, noting shows up in output, even though I have it set to trace the word "Hello". My Actionscript file IS seperate from my flash file.
My code is as follows. If you can help me identify the problem, I will be much thankful.
package { import flash.display.*; public class Test extends MovieClip { public function Test() { trace("Hello"); } } }
var instance:Test = new Test();or if it's for a MovieClip in your library, you can also just drag and drop an instance to your stage ...