Your code works fine for me. I tried it in Flex 3 and Flex 2.0.1. What
build are you using. Please be sure that you have the panLogin object
in your application. Here is the entire application that I compiled:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"; 
    layout="vertical" creationComplete="createEffect(event)">
<mx:Script>
<![CDATA[
    import mx.effects.*;
    
    public var myZoomShow:Zoom;
    public var myRotateShow:Rotate;
    public var ZRShow:Parallel;
    
    private function createEffect(eventObj:Event):void {
    // Create a Zoom effect.
    myZoomShow=new Zoom(panLogin);
    myZoomShow.zoomHeightFrom=0.0;
    myZoomShow.zoomWidthFrom=0.0;
    myZoomShow.zoomHeightTo=1.0;
    myZoomShow.zoomWidthTo=1.0;
    // Initialize a Rotate effect.
    myRotateShow=new Rotate(panLogin);
    // Initialize a Parallel effect.
    ZRShow=new Parallel();
    ZRShow.addChild(myZoomShow);
    ZRShow.addChild(myRotateShow);
    ZRShow.play();
}
]]>
</mx:Script>

<mx:TitleWindow id="panLogin" title="blue moon" showCloseButton="true">
    <mx:Button label="open popup"/>
    <mx:TextInput />
</mx:TitleWindow>
</mx:Application>

Hope this helps,
Joan

Reply via email to