ActionScript2.0と3.0のプロパティの違い

ActionScript2.0, ActionScript3.0 — Tags: — chimanaco @ 12:31 PM このエントリをはてなブックマークに追加

上記を読んで全くその通りだなぁ、と。俺も最近アタマ悪くなったなぁと想っていたのですが、少し考えれば元々アタマは悪かったんですよね。受験勉強してた時(普通の文系)も同じ参考書を何回も何回もやってやっと覚えたわけで。アタマ悪いんだから純粋に勉強量で勝負しなくては。ということで
ActionScript 3.0 プログラミング入門を全て理解できるまで読み直していこうと想います。少しでも曖昧なところは全部あげていきます。(でもProgressionもちょこちょこやってくよ!)

まずはプロパティ名の違いから。

名称が変更されたプロパティ
AS2.0以前 AS3.0以前
_alpha alpha
_height height
_parent parent
_root root
_rotation rotation
_visible visible
_width width
_x x
_y y
_xmouse mouseX
_ymouse mouseY
_xscale scaleX
_yscale scaleY

alphaやscaleXなど%表記されていたものは0~1の範囲で記述するようになっています。

設定できる値の範囲
AS2.0以前 AS3.0以前
0~100 0~1

0 Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Comments links could be nofollow free.

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.
(c) 2010 chimanaco blog | powered by WordPress with Barecity