haXe is universal high level programming language and its free compiler. haXe lets you create applications fir such platforms as JavaScript, Flash Player 6-8, Flash Player 9 (ActionScript 3) and Neko. Author of this technology is Nicolas Cannasse, the creator of the fastest flash compiler MTASC (now you’ve got a feeling about quality of haXe). Learn more about haXe.
class Test { static function main() { trace("Hello World !"); } }
-swf test.swf -main Test
<html> <head><title>haXe Flash</title></head> <body bgcolor=”#dddddd”> <object classid=”clsid:d27cdb6e-ae6d-11cf-96b8-444553540000″ width=”400″ height=”300″ id=”haxe” align=”middle”> <param name=”movie” value=”test.swf”/> <param name=”allowScriptAccess” value=”always” /> <param name=”quality” value=”high” /> <param name=”scale” value=”noscale” /> <param name=”salign” value=”lt” /> <param name=”bgcolor” value=”#ffffff”/> <embed src=”test.swf” bgcolor=”#ffffff” width=”400″ height=”300″ name=”haxe” quality=”high” align=”middle” allowScriptAccess=”always” type=”application/x-shockwave-flash” pluginspage=”http://www.macromedia.com/go/getflashplayer” /> </object> </body> </html>
Have good day with haXe!
These instructions is the compilation of the haXe Usage, haXe downloads and Getting Started with haXe/Flash pages.
For further studying and using haXe visit the last link and other haXe tutorials, for example, haXe for Flash9 as replacement of ActionScript 3.
Something is not clear? Don’t hesitate to ask here or in the haXe mailing list.
Last Modified : February 2nd, 2007 Filed under : flash, haxe, tutorials Navigate : Previous post / Next post Tecnhorati tags: flash haxe tutorials
There are no comments for this post so far.
Name (required)
Mail (will not be published) (required)
Website
Comment
Comments (No comments)
There are no comments for this post so far.
Post a comment