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

by motikawa_rgm forked from [Study] Re: short coding clock? (diff: 6)
誰かimport文をなんとかして
友達に大きなデジタル時計を出きるだけ行数減らして作れって言われました。
作ってみたのですが「長い」と馬鹿にされます。誰か助けてください。
♥2 | Line 5 | Modified 2010-07-09 15:44:41 | MIT License
play

ActionScript3 source code

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

// forked from alumican_net's [Study] Re: short coding clock?
//誰かimport文をなんとかして

// forked from applicott's short coding clock?
//友達に大きなデジタル時計を出きるだけ行数減らして作れって言われました。
//作ってみたのですが「長い」と馬鹿にされます。誰か助けてください。
package {
    public class c extends Sprite{
        var $ = function() { addEventListener("enterFrame",function() {(numChildren? getChildAt(0): addChild(new (loaderInfo.applicationDomain.getDefinition("flash.text.TextField") as Class)())).text=new Date().toLocaleTimeString()},0,scaleX=scaleY=7)}();
    }import flash.display.*;
}