I am extremely new to as3 and just have started coding in as3. I have the following code in a001.as file
package {
import flash.display.Sprite;
public class FirstCode extends Sprite {
public function FirstCode() {
trace("yes");
}
}
}
It seems extremely simple and I feel very positive that there is no error in this code.
And this line in a001.fla
import as3.a001;
The .as file is in as3 folder so I think the import should work fine.
The one (and only) problem (that could arise) is that the trace leaves nothing in the output window.
I tried various other codes instead of this but to no avail. None work. Its just a blank screen.
This problem is actually taking me to the verge of hating as3. I am stuck on this for days and none of the solutions I saw seem to work for me. Any help would be appretiated.
By the way I have Flash CS4.