2011年5月8日のブックマーク (4件)

  • EvermoreArticles The Best Article and reinit.info

    Welcome to one of the best and fastest growing Web Directories around. Here you can submit your url for free and add your website to our free web directory list, we also offer very cheap paid advertising . The main goal of this website now is to provide useful information on services and free web directory listings for companies around the world. Each submission is reviewed and checked to make sur

    kkeisuke
    kkeisuke 2011/05/08
    Flashの画像連番を書き出してそれをAfterEffectにロード
  • newを封印して、JavaScriptでオブジェクト指向する(1)

    以下はプロトタイプ的継承だけで一通りの機能を実現できる、という一つの例です。もちろん他にも書き方はありますし、newを使うのがよくないと主張しているわけではないです。 (誤解を生みそうな文体が混じっているようなので追記: 2011/5/14) 春ですし、少し初心者向けの記事を書きます。タイトル通り、JavaScriptのオブジェクト指向について。ちょっと長くなるので目次です。 クラス(に相当するオブジェクト)を作る オブジェクトからオブジェクトを作る(インスタンス化) 単一継承 多重継承 privateは諦めましょう 親のメソッドを呼ぶ コンストラクタ instanceofに対応する ダックタイピングのススメ JavaScript標準のオブジェクト指向といえばnewやらprototypeやらを書く必要がありますが、これらは書くのが面倒臭い上に気をつけないといけない点がたくさんあります。Ja

    newを封印して、JavaScriptでオブジェクト指向する(1)
    kkeisuke
    kkeisuke 2011/05/08
    クラスの書き方
  • FlashDevelop Flex4プロジェクトでRSLの埋め込みを解除する - Dia de nagista

    Project Properties > Compiler Options > Static Link RSL を False に設定 デフォルトだとTrueになっていてTLFなどのSWZがSWFに含まれる設定になっている。Falseにすることで、ビルドされるSWFのサイズもかなり軽くなる。

    FlashDevelop Flex4プロジェクトでRSLの埋め込みを解除する - Dia de nagista
    kkeisuke
    kkeisuke 2011/05/08
    Project Properties > Compiler Options > Static Link RSL を False に設定。ビルドされるSWFのサイズもかなり軽くなる。
  • とりあえずIEを判別するJavaScript | 知らないはリスク

    [js] if (typeof document.body.style.maxHeight != "undefined") { if (!/*@cc_on!@*/false){ // IE以外のブラウザ alert(‘Not IE.’); }else if (document.documentMode >=8) { // IE8 alert(‘IE8’); }else { //IE7, IE8(IE7モード) alert(‘IE7, IE8(IE7モード)’); } } else { // IE6またはそれより古いブラウザ alert(‘ IE6又はそれより古いブラウザ’); } [/js]

    kkeisuke
    kkeisuke 2011/05/08
    document.body.style.maxHeight で