2012-01-18 10 views
0

子キャンバスのサイズを変更する方法を理解しようとしていますが、わかりません。サイズ変更の種類ごとにフレンド内の子キャンバスのサイズ変更

<mx:Canvas width="10" height="10" backgroundColor="#040404" top="0" left="0" id="anchorTL" /> 
    <mx:Canvas width="10" height="10" backgroundColor="#040404" right="0" top="0" id="anchorTR" /> 
    <mx:Canvas width="10" height="10" backgroundColor="#040404" horizontalCenter="0" top="0" id="anchorTM" /> 
    <mx:Canvas width="10" height="10" backgroundColor="#040404" verticalCenter="0" left="0" id="anchorML" /> 
    <mx:Canvas width="10" height="10" backgroundColor="#040404" left="0" bottom="0" id="anchorBL" /> 
    <mx:Canvas width="10" height="10" backgroundColor="#040404" horizontalCenter="0" bottom="0" id="anchorBM" /> 
    <mx:Canvas width="10" height="10" backgroundColor="#040404" bottom="0" right="0" id="anchorBR" /> 
    <mx:Canvas width="10" height="10" backgroundColor="#040404" right="0" verticalCenter="0" id="anchorMR" /> 

ワン(左上、右下、など)私はなるだろうどのように

私はこのような親キャンバスの周りのミニキャンバスの束を持っていますこれらは、クリックして保持するキャンバスのサイズを変更するには?

答えて

2

あなたのためにこれを行うコンポーネントが既にあります(前にこれをコーディングしようとしましたが、表面上のように単純ではありません)。

http://www.objecthandles.com/

^それはあなたのためか、より具体的なニーズを持っている場合は動作するかどうか私に教えてください。