0
我想弄清楚如何調整子畫布的大小,但我無法弄清楚。在Flex中調整子畫布的大小
我有這樣的周圍父帆布一堆小畫布:
<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" />
每種類型調整大小的(左上,右下等)
我該如何獲得這些在點擊並按住時調整畫布大小?