Let me know if there is any problem ??

On Nov 11, 5:57 pm, Saravanan <[EMAIL PROTECTED]> wrote:
> Hi,
>
> this is the code i had done long time back
>
> <?xml version="1.0" encoding="utf-8"?>
> <mx:Panel xmlns:mx="http://www.adobe.com/2006/mxml"; layout="absolute"
> width="400" height="300"
>         xmlns:restaurantsView="restaurantsView.*">
> <mx:Metadata>
>         [Event(name="closePanel",type="events.panelButtonEvent")]
> </mx:Metadata>
>         <mx:Script>
>                 <![CDATA[
>                         import events.panelButtonEvent;
>                         private var titleButtons:panelButtons;
>
>                 override protected function createChildren():void
>                  {
>                          super.createChildren();
>                            titleButtons = new panelButtons();
>
> titleButtons.addEventListener(panelButtonEvent.CLOSE_PANEL,changeState);
>                            titleBar.addChild(titleButtons);
>                  }
>                  override protected function
> layoutChrome(unscaledWidth:Number, unscaledHeight:Number):void  {
>                          super.layoutChrome(unscaledWidth, unscaledHeight);
>                          titleButtons.width = unscaledWidth / 2;
>                          titleButtons.height = titleButtons.measuredHeight;
>                          titleButtons.move(statusTextField.x-10 , 6);
>                  }
>                  private function changeState(event:panelButtonEvent):void
>                  {
>                         var vdd:VideoContainer = VideoContainer(this.parent)
>                         vdd.currentState='';
>                         //trace("here"+)
>                  }
>
>                 ]]>
>         </mx:Script>
> </mx:Panel>
>
> On Nov 11, 5:53 pm, "Vinod M. Jacob" <[EMAIL PROTECTED]> wrote:
>
> > Check 
> > this....http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail...
>
> > On Tue, Nov 11, 2008 at 6:11 PM, <mx:AnandVardhan/>
> > <[EMAIL PROTECTED]>wrote:
>
> > > use SuperPanel component ... google you ll get it.
>
> > > On Nov 11, 5:31 pm, abhishekchess1 <[EMAIL PROTECTED]> wrote:
> > > > hello friends,
> > > > could u tell me how can we add minimize image or text  to TitleWindow
> > > > or Panel ?
>
>
--~--~---------~--~----~------------~-------~--~----~
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