Thanks Rahul

On 5/14/09, Rahul <[email protected]> wrote:
>
> Hi sankar,
>
> Try This...
>
>
> *Default Application : CustomizingAPopUpEffect*
>
> <?xml version="1.0" encoding="utf-8"?>
> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
> layout="vertical"
>     backgroundColor="#FFFFFF" creationComplete="init()"
> backgroundGradientColors="[#FFFFFF,#FFFF88]"
>     horizontalAlign="center" verticalAlign="middle">
>     <mx:Script>
>         <![CDATA[
>             import mx.managers.PopUpManager;
>
>             [Bindable]
>             private var win:MyTitleWindow;
>
>             private function init():void{}
>
>             private function createPopup():void{
>
> win=MyTitleWindow(PopUpManager.createPopUp(this,MyTitleWindow,true));
>                 win.title = 'This is my title window';
>                 win.x = -500;
>                 win.y = 0;
>                 customMove.end();
>                 customMove.play();
>             }
>         ]]>
>     </mx:Script>
>     <mx:Style>
>         TitleWindow {
>             borderStyle:solid;
>             borderThickness:2;
>         }
>     </mx:Style>
>
>     <mx:Parallel id="customMove" target="{win}">
>         <mx:Move duration="2000" xTo="{(stage.width  - win.width) / 2}"
> yTo="{(stage.height - win.height) / 2}" />
>         <mx:WipeRight duration="2000" />
>     </mx:Parallel>
>
>     <mx:Button label="Click here for popup" click="createPopup()" />
> </mx:Application>
>
> *
>  component File : MyTitleWindow*
>
> <?xml version="1.0" encoding="utf-8"?>
> <mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml";
> layout="vertical" creationComplete="init()"
>     close="PopUpManager.removePopUp(this)" showCloseButton="true"
> alpha=".8"
>     headerColors="[#000000,#1F3F62]" color="#FFFFFF" minHeight="200"
> minWidth="300"
>     backgroundColor="#000000">
>     <mx:Script>
>         <![CDATA[
>             import mx.managers.PopUpManager;
>
>             private function init():void{}
>
>         ]]>
>     </mx:Script>
>
>     <mx:VBox verticalAlign="middle" horizontalAlign="center">
>         <mx:Text color="#FFFFFF" text="THIS IS MY TITLE WINDOW WITH AN
> EFFECT"/>
>     </mx:VBox>
>
> </mx:TitleWindow>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> On Wed, May 13, 2009 at 8:49 PM, sankar swaroop <[email protected]>wrote:
>
>> hi friends,
>>
>> Iam facing a different problem.
>>
>> I have a custom title window and i am showing it with a popupmanager
>> class.
>> It is working fine but i cannot add the fade and zoom effects to this
>> title window
>> when it popups.
>>
>> So, please help me friends to add effects to  title window through popup
>>
>> Thanks in advance.
>>
>> bye.
>>
>>
>>
>
>
> --
> Regards
> Rahul
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to