タグ「as3」のすごいエントリーRss

ActionScript 3.0 コーディング規約とも言うべき Adobe の 「Coding Conventions - Flex SDK - Confluence」 の日本語訳に取り組んでいます。 一晩じゃ終わりませんでした。すいません。毎度のことですが、英語も AS も自信ナイので、読まれる方は原文と照らし合わしながら読むとよいかと思います。まぁ原文もコードが中心なので訳す必要があるのかも謎ですが、パッと目を通して概要を知るきっ... 続きを読む
21 コメント   このエントリーを含むはてなブックマーク このエントリーのブックマーク数
便利すぎる。まぁこんなソースで。 package { import flash.display.Sprite; import flash.text.TextField; import flash.display.Shape; public class Test1 extends Sprite { public function Test1() { var tf:TextField = new TextField(); tf.text = 'MyText'; var shape:Shape = new Shape(); shape.graphics.beginFill(0xFF0000); shape.graphics.drawCircle(10, 10,10); addChild(shape); log([1,2,3,[4,5]]); log(tf); log(shape); log(this); } } } これは今までの log() と同じだけど(ちょっと違うけ... 続きを読む
6 コメント   このエントリーを含むはてなブックマーク このエントリーのブックマーク数
AS3 experiment that uses a BitmapData as a map to determine whether the particles should change their speed because of an obstacle. The obstacles in this case are elements that vary from black to white, where white is the most difficult area to cross. There is a GlowFilter applied to the particles, that creates a nice visual result when they are grouped together. 続きを読む
8 コメント   このエントリーを含むはてなブックマーク このエントリーのブックマーク数
I managed to have some time to put together the simulation i was talking about last week: roughly based on a "Flade" (now APE) demo of that time, it makes use of APE for the physics and Papervision3D for the rasterization process. Actually, using PV3D for merely rasterizing polygons its obviously an ugly solution if you, [...] 続きを読む
11 コメント   このエントリーを含むはてなブックマーク このエントリーのブックマーク数

[PR]これはカワイイ!ブログランキングBITZ