[mtasc] Invisible Hello World text in Tuto example
Stephane Eybert
mittiprovence at yahoo.se
Thu Jun 29 18:18:19 CEST 2006
Dear all,
I'm trying to run the Hello World Tuto.as actionscript example found on the website at www.mtasc.org
I can compile it fine.
But running it will not display anything.
I'm running it on Linux Kubuntu 5.50 and Windows XP.
And the problem is the same on the two platforms.
Here is the compile command:
mtasc -swf Tuto.swf -main -header 800:600:20 Tuto.as -mx -cp "/usr/local/apps/mtasc/std/"
Here is the source code of the example:
class Tuto {
static var app : Tuto;
function Tuto() {
_root.createTextField("tf",0,0,0,800,600);
_root.tf.text = "Hello world !";
}
static function main(mc) {
app = new Tuto();
}
}
Has any one encountered this issue..?
Stephane
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.motion-twin.com/pipermail/mtasc/attachments/20060629/de0205bf/attachment.htm
More information about the mtasc
mailing list