2009-07-01から1ヶ月間の記事一覧

ウィンドウの最大化/通常/最小化のステータスが変わったイベントをとる

なぜかいくつかのサイトのサンプルコードなどコピペしても動かなかったので、メモ var appWin:NativeWindow=this.stage.nativeWindow; appWin.addEventListener(NativeWindowDisplayStateEvent.DISPLAY_STATE_CHANGE,btn_update);function btn_update(ev:Nat…

FlashPlayerの自動更新を無効にする

http://www.adobe.com/jp/support/kb/ts/228/ts_228473_ja-jp.htmlどこまでニーズあるか不明ですが、とりあえずメモ

Yahoo ASTRA Flash Components の Tree でテキストが途中できれてしまうのを回避する

デフォルトだと、なぜか一定の長さでテキストの表示がきれてしまう。 それを切れないようにする。\com\yahoo\astra\fl\controls\treeClasses\TreeCellRenderer.as を編集編集前(417行目〜) if (label.length > 0) { textField.visible = true; //var textW…

Yahoo ASTRA Flash Components の Tree で文字サイズを大きくする

http://developer.yahoo.com/flash/astra-flash/ //TextFormatでフォントサイズを指定する var myTextFormat:TextFormat=new TextFormat(); myTextFormat.bold=true; myTextFormat.size=50; mytree.setRendererStyle("textFormat", myTextFormat);//行の高さ…