I know this isn't an overly critical issue, but it's real ugly.  Does anyone have a workaround for this?  Or at least confirm that it'll be fixed in the production version?  Thanks.

On 5/31/06, Jason Y. Kwong <[EMAIL PROTECTED]> wrote:
I have a Canvas with a border and it contains a TextArea.  The Canvas is intentionally made larger than the TextArea via layout constraints.  I then apply a Move effect to the Canvas.  While the Canvas is moving, the size of the Canvas gets reduced to the minimum size required to contain the TextArea.  After the effect is complete, the Canvas is back to its original larger size.  In Beta 2, the Canvas kept its size while it was being moved, which is the expected behaviour.  The little app below demonstrates.  Click the Button to move the Canvas.

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" layout="absolute">
    <mx:Move id="canvasMover" duration="500" target="{mycanvas}" xBy="200"/>
    <mx:Canvas borderStyle="solid" width="500" height="400">
        <mx:Canvas id="mycanvas" x="50" width="200" borderStyle="solid" borderThickness="4" top="5" bottom="5">
            <mx:TextArea x="33" y="51"/>
        </mx:Canvas>
    </mx:Canvas>
    <mx:Button x="10" y="408" label="Button" click=" canvasMover.play ()"/>
</mx:Application>

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to