1.1 Hello world

The following sections show various ways to implement simple programs such as the familiar 'hello, world' program in ActionScript 3.0:

trace("hello, world");

This is a single expression statement that calls a function named trace() with the argument that is a literal string "hello, world". An expression statement does nothing but execute an expression.


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/specs/actionscript/3/as3_specification3.html