In case Flash no longer exists; a copy of this site is included in the Flashpoint archive's "ultimate" collection.

Dead Code Preservation :: Archived AS3 works from wonderfl.net

forked from: What is the meaning of life?

Get Adobe Flash player
by wh0 05 May 2010
    Embed
// forked from makc3d's What is the meaning of life?
package {
    import flash.display.Sprite;
    import flash.text.TextField;
    public class MeaningOfLife extends Sprite {
        public function MeaningOfLife () {
            // write your response here..
            var t:TextField = new TextField();
            addChild(t);
            t.appendText(Life.meaning + '\n');
            t.appendText((Life && TheUniverse && Everything).meaning);
        }
    }
}

// scroll down for answers



















internal var Life:Object = {};
internal var TheUniverse:Boolean = true;
internal var Everything:Object = {meaning: 42};