我刚接触flex。当我将鼠标悬停在面板中的图标上时,该特定面板应该通过覆盖窗口中的所有其他面板而位于最前面。我该怎么做请帮帮我
For bringing a panel to front, try this: `
<mx:Script>
<![CDATA[
protected function panel1_clickHandler(event:MouseEvent):void
{
setChildIndex(event.currentTarget as Panel, numChildren);
}
]]>
</mx:Script>
<mx:Panel width="200" height="400" y="50" x="50" rollOver="panel1_clickHandler(event)" title="back"/>
<mx:Panel width="200" height="400" id="otherPanel" rollOver="panel1_clickHandler(event)" title="front" />
`
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.