forked from: forked from: [Study] Re: short coding clock?

by mtkythr forked from forked from: [Study] Re: short coding clock? (diff: 1)
♥0 | Line 6 | Modified 2011-04-17 04:26:29 | MIT License
play

ActionScript3 source code

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

// forked from shohei909's forked from: [Study] Re: short coding clock?
// forked from alumican_net's [Study] Re: short coding clock?
// forked from applicott's short coding clock?
//友達に大きなデジタル時計を出きるだけ行数減らして作れって言われました。
//作ってみたのですが「長い」と馬鹿にされます。誰か助けてください。

//mx.coreでインポート文減らす
//あとコンパイラ警告を消した

package{
    import mx.core.*;
    public class c extends FlexSprite{
        public var a:* = [ scaleY=scaleX=7, addChild(new FlexTextField).addEventListener("exitFrame", function(e:*):*{e.target.text=new Date().toLocaleTimeString()}) ];
    }
}