当前位置: 代码迷 >> Web前端 >> click 奇效
  详细解决方案

click 奇效

热度:768   发布时间:2012-10-25 10:58:58.0
click 特效
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
    <mx:Script>
        <![CDATA[
            private function onClick(event:Event):void {
                be.target = event.currentTarget;
                be.play( );
            }
        ]]>
    </mx:Script>
  
    <mx:Blur id="be" blurXTo="50" blurYTo="50" duration="1000" />

    <mx:Panel id="p" width="200" height="180" click="onClick(event)" />
</mx:Application>
  相关解决方案