<mx:Panel xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" width="400" height="300" mouseDown="startDrag()"
mouseUp="stopDrag()">
</mx:Panel>
本文介绍了一个使用Adobe Flex创建的面板组件,该面板通过简单的鼠标操作实现拖动功能。此示例展示了如何利用Flex框架中的Panel元素并为其添加mouseDown和mouseUp事件处理程序来实现基本的交互体验。
<mx:Panel xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" width="400" height="300" mouseDown="startDrag()"
mouseUp="stopDrag()">
</mx:Panel>

被折叠的 条评论
为什么被折叠?