一個前のエントリーは回転、位置はマトリックスとかでもOKだったけど、拡大、縮小はできなかった。
そこで、基準点を中心にしたダミーMCを用意して、それに読み込んだMCを内包して、
ダミーMCを拡大、縮小することで対応した。
まぁ、かなり強引。読み込んだMCの位置、ダミーMCの位置などかなり注意が必要。
[sourcecode language=”java”]
base = new test_mc();
var _n1:n1 = new n1;
var _n0:n0 = new n0;
var _n00:n0 = new n0;
_n0.x = 45;
_n00.x = 55 * 2;
var xxxx:Sprite = new Sprite();
xxxx.addChild(_n1);
xxxx.addChild(_n0);
xxxx.addChild(_n00);
xxxx.x = -xxxx.width / 2;
xxxx.y = -xxxx.height / 2;
base.addChild(xxxx);
base.x = +xxxx.width / 2;
base.y = +xxxx.height / 2;
baseLoding.addChild(base);
[/sourcecode]