![詳説 ActionScript 3.0](https://cdn-ak-scissors.b.st-hatena.com/image/square/45295c6952f297b9e701fdcb09b66ed7954b0c14/height=288;version=1;width=512/https%3A%2F%2Fwww.oreilly.co.jp%2Fbooks%2Fimages%2Fpicture_large978-4-87311-387-6.jpeg)
This webpage was generated by the domain owner using Sedo Domain Parking. Disclaimer: Sedo maintains no relationship with third party advertisers. Reference to any specific service or trade mark is not controlled by Sedo nor does it constitute or imply its association, endorsement or recommendation.
AS3ではガベージコレクションによるメモリ管理が導入されています。 ガベージコレクションとは、簡単に言えば「どこからも参照されなくなったオブジェクトがころあいを見計らって勝手にメモリから消去される」仕組みです。 この「どこからも参照されなくなった」という条件がクセモノで、気をつけないとすぐにメモリーリークの原因になります。 メモリーリークの例 まず、キーボードが押されるとTESTというイベントを発行するSampleクラスを定義します。 package { import flash.display.Sprite; import flash.events.Event; import flash.events.KeyboardEvent; import org.as3s.Document; //Sample Class Ver.1 public class Sample exten
Flashで始めるActionScript3.0(AS3)入門、オブジェクト指向(OOP)の基礎知識、サンプルコードなど 正規表現は文字の出現パターンを定義し、文字列のチェックや操作などに使います。 正規表現を使うには、まずパターンをインスタンス化します。 次の2行は同じ意味です。 private var num :RegExp = /^[0-9]+$/; private var num :RegExp = new RegExp("^[0-9]+$"); 上のパターンはすべて数値かをチェックするためのものです。 test()メソッドを使い、文字列をチェックすると、パターンに一致した場合はtrue、不一致の場合はfalseを返します。 trace(num.test("ab1"));// 出力 false trace(num.test("123"));// 出力 true trace(
// ¤É¤Á¤é¤Ç¤â²Ä var MyArray:Array = new Array("hoge", "foo"); var MyArray:Array=["hoge","foo"]; ÇÛÎó¤Ï²ÄÊÑĹ¡£ ¤É¤Î·¿¤À¤í¤¦¤¬Æþ¤ë¡£ ¤³¤ì¤ÏÁ´¤Æ¤ÎÂçËܤǤ¢¤ëObject·¿¤ÎÇÛÎó¤Ç¤¢¤ë¤¿¤á¡£ ¤Ê¤ª¡¢ÌÀ¼¨¤·¤¿Í×ÁÇ¿ô¤òĶ¤¨¤ÆÇÛÎó¤Ë¥¢¥¯¥»¥¹¤·¤Æ¤â¡¢ActionScript¤Ç¤Ï¤½¤Î¤Þ¤Þ»ÈÍѤǤ¤ë(Èò¤±¤¿¤Û¤¦¤¬ÌµÆñ¤À¤¬) // Èϰϳ°¥¢¥¯¥»¥¹Îã var MyArray:Array=["hoge","foo"]; MyArray[3]="bar"; for(var i:int=0; i<MyArray.length;i++)
LCDS基礎講座 第1章 LiveCycle Data Servicesを活用したPDF帳票作成 AIR基礎講座 第1章 AIRアプリケーションの作成 第2章 画面のカスタマイズ 第3章 コンポーネント 第4章 ネイティブメニュー 第5章 ファイルオブジェクトの利用 第6章 Drag&Drop 第7章 PDFファイルの表示 第8章 SQLiteでDB操作 第9章 ネットワーク監視 第10章 タスクトレイアイコンの表示 第11章 メッセージングとRemoteObjectの利用 第12章 アプリケーションの更新 第13章 アプリケーションの自動起動 Flex2基礎講座 Flex Builder2を使った、Flex2によるアプリケーション開発のための講座です。基本的なMXML、 ActionScriptの使い方からちょっとした応用までをご紹介します。 第1章 まず始めに 第2章 MXML基礎
Flex SDK coding conventions and best practices Note: This page is not yet complete and has some sections marked TBD. But there's plenty here to get you started! Introduction This document lays out the coding standards for writing open-source Flex framework components in ActionScript 3. Adhering to these standards makes the source code look consistent, well-organized, and professional. Some of thes
Eureka, A day or two ago polyGeek has revived an old and challenging idea that one could make use of custom right-click functionality in Flash (AS3 + Javascript). Why would anyone want to do this? Well, there are several very important reasons: 1) Games – the power of AS3 has brought Flash to the world of digital entertainment. At last it is possible to focus on the idea of your game rather than
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く