Thanks RAvi, Rahul and Neelima.. thanks for these examples and code. :) On Mon, May 25, 2009 at 9:56 PM, Neelima Kakarla < [email protected]> wrote:
> Hi > > Look at this code > > <?xml version="1.0" encoding="utf-8"?> > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" > layout="absolute" > > > *<mx:Script>* > <![CDATA[ > import mx.controls.Alert; > import mx.controls.ToolTip; > > private var buttFlag:int=0; > > > private function transitionFunc():void{ > if(buttFlag==0){ > hideeffect2.end(); > hideeffect2.play(); > buttFlag=1; > clickMe.source="Light-left.png"; > } > else{ > showeffect2.end(); > showeffect2.play(); > buttFlag=0; > clickMe.source="Light-right.png"; > } > > } > > > ]]> > *</mx:Script>* > > *<mx:Move* id="showeffect2" target="{MainCartPanel}" duration="1000" > xFrom="0" xTo="-370"/> > *<mx:Move* id="hideeffect2" target="{MainCartPanel}" xFrom="-370" xTo="0" > duration="1000"/> > > *<mx:Panel* id="MainCartPanel" verticalCenter="0" x="-370" height="306" > layout="absolute" visible="true" borderThicknessBottom="0" > borderThicknessLeft="0" borderThicknessRight="0" borderThicknessTop="0" > headerHeight="0" backgroundColor="#FFFFFF" backgroundAlpha="0.0" > horizontalAlign="right" cornerRadius="12" borderStyle="solid" > borderColor="#FFFFFF" borderThickness="1" width="412"> > *<mx:Image* buttonMode="true" mouseEnabled="true" useHandCursor="true" > id="clickMe" click="transitionFunc()" height="100%" width="41" > source="@Embed(source='Light-right.png')" x="369" y="0"/> > *</mx:Panel>* > *</mx:Application>* > > > Regards > Neelima > > On Mon, May 25, 2009 at 12:29 PM, Hemanth Kumar T.S < > [email protected]> wrote: > >> Hi, >> >> In this website >> http://www.phoenixisland.co.kr/index.aspx >> >> there is a small vertical bar that appears on the left most of the screen >> with ">" symbol, "Contents" and "View" >> >> On clcik of this bar it expands and on click of close, it contracts. >> >> Its developed using Flex. Do anyone knows what is the control/container >> used to do this kind.. >> >> Thanks, >> Hemanth >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

