public function Main() { var circle:Circle = new Circle(20, 0xED1A3D); addChild(circle); } Mainオブジェクトに赤円を描くCircleオブジェクトを貼り付けました。 この場合、Mainの子がCircleになるという親子関係が出来ますね。 Mainもstageによって(自動で)貼り付けられているので、stageの子はMainということが出来ます。
この『Adobe® Flash® Platform 用 ActionScript® 3.0 リファレンスガイド』では、Flash Platform のツール、ランタイム、サービスおよびサーバー用の ActionScript の言語エレメント、コアライブラリおよびコンポーネントパッケージとクラスについて説明します。 プリセットフィルターを使用して製品でフィルター このリファレンスガイドには、次の Adobe 製品とランタイムの ActionScript 言語エレメントおよびライブラリの情報を記載しています。このリファレンスガイドにフィルターを適用して最新バージョンの製品および関連するランタイムのコンテンツのみを表示するには、下の製品名をクリックしてください。
Web技術を追ってHTML5, JavaScript, Flex, Adobe AIRのことをつらつらと InsideRIAで公開されていたSean Moore氏による記事「Round up of ActionScript 3.0 and Flex optimization techniques and practices」をだいぶ適当に訳してみた。 Round up of ActionScript 3.0 and Flex optimization techniques and practices http://www.insideria.com/2009/04/51-actionscript-30-and-flex-op.html AS3, Flex最適化テクニック&プラクティス総まとめ 1. Avoid the new operator when creating Arrays Ar
こんにちは。きんくまです。 Photoshop Panelを利用するのにFlashCS4だとうまくいかなかったので、Flexですすめることにしました。 そしたら、いろいろと知りたいことがでてきたのでまとめです。 なので、今回はFlashIDEで普段やっているけどmxmlはさっぱり!の人向けです。 今回作ったサンプル ※10/04/28 メインのMXMLからスクリプト部分を外部ファイル化しました。 ■リスト表示のもととなるMXML MyListComponentView.mxml <?xml version="1.0" encoding="utf-8"?> <mx:List xmlns:mx="http://www.adobe.com/2006/mxml"> </mx:List> ■上のMyListComponentView.mxmlを拡張したもの MyListComponent.as pa
思いは言葉に。 はてなブログは、あなたの思いや考えを残したり、 さまざまな人が綴った多様な価値観に触れたりできる場所です。
例えば、動的に生成されたコンポーネントをバインディングさせたい場面など、 mxmlでは設定できません。 そこでActionScriptクラス内でバインディングの登録をする事になりますが 以外に設定方法がやっかいです。 以下はそのサンプルになります。 [mxmlでバインディングを行う場合] <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:Script> <![CDATA[ /** * テキストインプットに入力された情報は_bindTxtに格納されます。 * ラベルは_bindTxtをバインディングしている為、 * テキストインプットの内容が変わると、自動的にラベルのテキストにも反映されます。 */ [B
Hi, I am new to Flex, so sorry if my questions seem naive. My company has an internal CMS application which I helped write several years ago. The front-end is a desktop app which has a Rich Text Editor that allows users to drag images from another panel of the app, drop them on a paragraph, and depending on where they dropped (right or left side of the paragraph), right or left align the image wi
Overview The Text Layout Framework is an extensible ActionScript library, built on the new text engine in Adobe® Flash® Player 10 and Adobe AIR 1.5, which delivers advanced, easy-to-integrate typographic and text layout features for rich, sophisticated and innovative typography on the web. The framework is designed to be used with Adobe Flex® or Adobe Flash Professional and is included in Flex 4,
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く