Jump to content

ActionScript

From Simple English Wikipedia, the free encyclopedia
Revision as of 00:46, 4 February 2022 by NguoiDungKhongDinhDanh (talk | changes) (Oops)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

ActionScript is a scripting language similar to JavaScript. It is used for Adobe Flash and Adobe Flex.

An example Hello World program in ActionScript 3.0:

package com.example
{
    import flash.text.TextField;
    import flash.display.Sprite;

    public class Greeter extends Sprite
    {
        public function Greeter()
        {
            var txtHello:TextField = new TextField();
            txtHello.text = "Hello World";
            addChild(txtHello);
        }
    }
}

Other websites

[change | change source]