我为用户提供了创建项目的能力.创建项目对话框,例如:
<s:Panel id="postitNoteCreatePanel"
horizontalCenter="0" verticalCenter="0"
...
Run Code Online (Sandbox Code Playgroud)
如何使面板可拖动,以便用户可以在页面上移动它,以便它不会阻止其他项目
小智 7
你可以尝试:
添加鼠标并将事件列表器鼠标向上添加到面板的titleBar,并添加两个函数:
private function handleDown(event:MouseEvent):void{
this.startDrag();
}
private function handleUp(event:MouseEvent):void{
this.stopDrag();
}
Run Code Online (Sandbox Code Playgroud)
"这个"是指专家组.