Current Position:Home > [svn:cairngorm3:] 16808: Changed close event from flash.events.Event. CLOSE to mx.events.CloseEvent.CLOSE.

[svn:cairngorm3:] 16808: Changed close event from flash.events.Event. CLOSE to mx.events.CloseEvent.CLOSE.

Update:11-30Source: network consolidation
Advertisement
Revision: 16808
Revision: 16808
Author:   [email protected]
Date:     2010-07-03 03:04:40 -0700 (Sat, 03 Jul 2010)
Log Message:
Changed close event from flash.events.Event.CLOSE to mx.events.CloseEvent.CLOSE. See MXML examples in PopupTest.
Modified Paths:
    cairngorm3/trunk/libraries/Popup/src/com/adobe/cairngorm/popup/PopUpBase.as
    cairngorm3/trunk/libraries/PopupTest/.actionScriptProperties
    cairngorm3/trunk/libraries/PopupTest/.flexProperties
    cairngorm3/trunk/libraries/PopupTest/src/PopUpMXMLExample.mxml
    cairngorm3/trunk/libraries/PopupTest/src/samples/MyPopup.mxml
    cairngorm3/trunk/libraries/PopupTest/src/samples/ZoomAndFadePopUpBehavior.mxml
    cairngorm3/trunk/libraries/PopupTest/src/samples/parsley/ParsleyPopup.mxml
Added Paths:
    cairngorm3/trunk/libraries/PopupTest/src/samples/ModulePopups.mxml

The Best Answer

Advertisement
Hmmm Strange!!!
Seems like a bug which requires target for parallel effect while hide only but does not set it.
For the time being you can remove the sequence effect as there is no othe effect other than parallel and use effect like
         <mx:Parallel id="fadeOutTw">
            <mx:Fade alphaFrom="1.0" alphaTo="0.0" duration="1000"/>
            <mx:WipeUp duration="1000" />       
        </mx:Parallel>
or you can also set target explicitly like :
<mx:Sequence id="fadeOutTW" >
        <mx:Parallel target="{largeImgTW}">
            <mx:Fade alphaFrom="1.0" alphaTo="0.0" duration="1000"/>
            <mx:WipeUp duration="1000" />       
        </mx:Parallel>   
    </mx:Sequence>
I have tested on this code, and works fine. Hope this helps you
-Vikash