運営元のロゴ Copyright © 2007-2024 All Rights Reserved by Gijutsu-Hyoron Co., Ltd. ページ内容の全部あるいは一部を無断で利用することを禁止します。個別にライセンスが設定されている記事等はそのライセンスに従います。
slotWithdrawals 26 Libreng Trial Bonus {MAHUSAY} limitadong oras na alok Classificação: diskwento fonte: Bakit dapat mong piliin na maglaro sa slot Vietnam?slot – Natatanging casino house sa merkado Noon, iba ang bookie slot (HVL88) sa nangungunang 10 bookies na inirerekomenda ng BettingTop10 dahil hindi ito isang bookie na dalubhasa sa pagtaya sa sports sa pangkalahatan. At lalo na ang pagtay
Devenir un expert en marketing, est-ce si compliqué ? Il ne le semble pas, car finalement quelques connaissances permettent de progresser et de maitriser les principales techniques. Il est cependant nécessaire de s'entourer de spécialistes qui pourront vous aiguiller sur les actions nécessaires afin d'atteindre l'objectif que vous vous êtes fixé. Le marketing a énormément évolué ces dernières anné
フラグ(変数値)によってメソッドを呼び出すためのライブラリを SparkProject にコミットしました。 Flagment そうめんに触発されて以前作ったChainライブラリに手を入れようかなと思ったんですが、非同期処理ってどうもソースコードが汚くなりがちなのでもっと単純にすべきなのではと考えた挙句、フラグ駆動に落ち着きました。 まあぶっちゃけこれだけで非同期処理やろうとしても、かえってフラグ管理が大変になるのでオススメできないのですが、依存度の低いクラスの中で判定のためだけにインスタンス参照持ちまわすとかアホくさいことしなくても済みます。 他に有用なケースはないか探してみますが、いい使い方あったら教えてください。 使いたい時にちょっとだけ入れてみる、それだけで使えます。 インスタンス作る必要もありません。 以下サンプルコード Flagment.register("a", 1 ); /
(English page) ActionScript Thread Library 1.0 (そうめん) ActionScript Thread Library 1.0 (そうめん) は、タスクシステムと Java のスレッドモデルをベースとした疑似スレッドライブラリです。 複雑で冗長になりがちな、イベント処理や非同期処理、リアルタイム処理を、分かりやすくスマートに記述することを可能にします。 もちろん、割り込みやキャンセル、例外処理もバッチリです。スレッドを使って、イベントリスナー地獄から抜け出しましょう。 ダウンロード MXP パッケージ for Windows (Flash CS3) http://www.libspark.org/svn/as3/Thread/tags/v1.0/release/Thread-1.0-win.mxp MXP パッケージ for Mac OSX (F
公式サイトのFAQやリファレンスには、子swfがストリームを利用している場合のunload方法が紹介されています。 Loader インスタンスを unload しても NetStream が閉じられない(support.adobe.co.jp) が、私の場合はストリームを利用していなくてもunloadでswfが破棄されず、メモリリークが発生する現象が発生。1週間ほど苦しんだ末にやっと以下の方法で解決できました。 unload時に、子swf内のイベントリスナーを全てremoveする unload時に、子swf内のクラス変数の中で、オブジェクトを参照しているもの全てにnullを代入する この対処をしないと破棄されないswfの正確な条件はまだ良く分かりませんが、とりあえず手元にあるやつだとPapervision3Dを利用しているものにこの対処が必要でした。 Loaderオブジェクトへの参照がある
AS3 のキーイベント監視でなんかいい方法ないかなー、と考えていたら良い方法が思いついたので実装してみた、らかなり便利な気がするので公開してみます。 http://github.com/hotchpotch/as3rails2u/tree/master 通常のキーイベントの監視では addEventListener(KeyboardEvent.KEY_DOWN, func) で関数を登録して switch で event.keyCode 判別して Shift が押されてるか Ctrl が押されてるかによって云々、でかなりめんどくさいです。でもこの KeyTypeListener を使うと驚き300%(当社比)の方法でキーイベントを定義できます。 // 読み込んで import com.rails2u.utils.KeyTypeListener; import com.rails2u.uti
「FlashやWebにまつわるいろいろなこと」さんで、 カメラの設定値からオブジェクトが100%で見える位置の算出ってどうやればいいんだろうか Papervision3D 2D上で100%に見える位置は っていうエントリを拝見。 そういややったことねーなと思って、既出かもしれないけどやってみた。 上記エントリによると、camera.focus:100、camera.zoom:11のとき、「ピクセル等倍で表示したい面」と camara の距離が1000離れていればいいと。これを汎用化するために、任意のfocus、zoomの場合にピクセル等倍になる距離を求められればいいのか。 大概こういう処理をする場合複雑に考えすぎて失敗するので、算数的な発想(むしろ勘)で ピクセル等倍になる距離 = camera.focus * camera.zoom - camera.focus という式をあてはめたら
知らないと損をするActionScript3.0の新文法をまとめて紹介します。 複数の変数の出力が楽に:trace 引数に変数を複数渡すと、自動的にスペースで区切って表示をしてくれます。 var a:int = 0; var b:String = 'hgoe'; trace(a, b); // Output: 0 hoge 要素の巡回が楽チン:for each 今まで、配列の要素を巡回するのは、次のようにするのがセオリーでした。 for (var i:Number = 0; i < list.length; ++I) { trace(list[i]); } しかし、もうこんな面倒な事は必要ありません。次のように書けば、list内の要素がひとつずつelementに代入されてループします。 for each (var element:Object in list) {
//then later, if you need to change the tween so that the "x" property tweens to 100 instead of 500... timeScale - Slow down or speed up a tween anytime. Half-speed would be 0.5, double-speed would be 2, etc. globalTimeScale - Slow down or speed up ALL TweenMax and TweenFilterLite tweens anytime. Heck, you could even tween this value with TweenLite (which isn't affected by globalTimeScale) so that
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
先日のTweener拡張、MatrixShortcut.as をさらに改造しました。 Tweenerの初期化後に、MatrixShortcuts.init() を呼ぶと、Tweenerにスペシャルプロパティが追加されます。 _matrix_a transform.matrix.a をトゥイーンする。 _matrix_b transform.matrix.b をトゥイーンする。 _matrix_c transform.matrix.c をトゥイーンする。 _matrix_d transform.matrix.d をトゥイーンする。 _matrix_tx transform.matrix.tx をトゥイーンする。 _matrix_ty transform.matrix.ty をトゥイーンする。 _matrix transform.matrixをまとめてトゥイーンする。 今回はさらに、俺至上便利
Tweener AS3 extension for color properties "_brightness", "_contrast" and "_saturation" Posted on August 28, 2007 There are a lot of AS3 Animation packages out there, all with pros and cons. One of my favorite tools is Tweener AS3, but at its current version (v.1.0.1) it supports only few color properties such as _color, _color_ra, _color_rb and so on. However, you have the option to create your o
Collection of people making stuff with the Papervision3D library for Flash. Newest links at the top. NEW: RSS Feed of the examples http://actionscriptarchitect.com/lab/FireSphere/ - Generated fire texture on a sphere http://www.osflash.org/pipermail/papervision3d_osflash.org/2007-June/007477.html - Control two independant ninjas http://chribbe.wordpress.com/2007/06/07/mech-demo/ - Control a mech
日頃より楽天のサービスをご利用いただきましてありがとうございます。 サービスをご利用いただいておりますところ大変申し訳ございませんが、現在、緊急メンテナンスを行わせていただいております。 お客様には、緊急のメンテナンスにより、ご迷惑をおかけしており、誠に申し訳ございません。 メンテナンスが終了次第、サービスを復旧いたしますので、 今しばらくお待ちいただけますよう、お願い申し上げます。
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く