flash on 2011-10-18

by riafeed
♥0 | Line 13 | Modified 2011-10-18 01:02:58 | MIT License
play

ActionScript3 source code

/**
 * Copyright riafeed ( http://wonderfl.net/user/riafeed )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/gh7w
 */

package {
    import flash.display.MovieClip;
    import flash.display.Sprite;
    import mx.controls.*;
    import mx.core.*;
    import mx.flash.UIMovieClip;

    public class EntryClass extends MovieClip {
        // Application point of entry
        public function EntryClass () {
            // Create Flex framework UI components
            // For example:
            var button:Button = new Button();
            // Add UI components to the screen
            // For example:
            //var mxmlApp:Application = FlexGlobals.topLevelApplication;//Application(Application.application);
            //FlexGlobals.topLevelApplication.addChild(button);
            addChild(button);
        }
    }
}