[flex_india:25579] Re: Panel Minimize Maximize - Help

2009-09-30 Thread Sumant
Hi rohit, the problem was in thePanel.parentApplication. After changing Application tag to Panel, your panels are in a new panel not in Application. Just replace thePanel.parentApplication to this as UIComponent from lines 56, 64 and 80. That will work fine I checked. regards, Sumant --~--~

[flex_india:25578] Re: HBox implementation in reverse order

2009-09-30 Thread khushi
thanks a ton Gaurav for the perfect solution! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_india@googlegroups.com To unsubscribe from this g

[flex_india:25577] Re: Panel Minimize Maximize - Help

2009-09-30 Thread khushi
the solution is: create a mxml component with the following code: http://www.adobe.com/2006/mxml"; layout="absolute" width="100%" height="100%"> and in the main application, create an instance of the component: http://www.adobe.com/2006/mxml"; layout="absolute" wid

[flex_india:25576] Re: datagrid with menu using flex 3

2009-09-30 Thread kalai selvi
actually i wanted in AIR On Wed, Sep 30, 2009 at 6:32 PM, prem wrote: > > Use ContextMenu > > http://blog.flexexamples.com/2007/08/20/using-a-custom-context-menu-with-the-flex-datagrid-control/ > http://livedocs.adobe.com/flex/3/html/help.html?content=Menus_4.html > > > On Sep 30, 5:09 pm, kalai

[flex_india:25575] Re: datagrid with menu using flex 3

2009-09-30 Thread prem
Use ContextMenu http://blog.flexexamples.com/2007/08/20/using-a-custom-context-menu-with-the-flex-datagrid-control/ http://livedocs.adobe.com/flex/3/html/help.html?content=Menus_4.html On Sep 30, 5:09 pm, kalai selvi wrote: > Hi All, > > i have dataGird and when i rightClick  to dataField it sh

[flex_india:25574] datagrid with menu using flex 3

2009-09-30 Thread kalai selvi
Hi All, i have dataGird and when i rightClick to dataField it should display the menu. please let me know.how to do. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to thi

[flex_india:25573] Re: Tree and HDividedBox how to handle

2009-09-30 Thread gaurav rai
You can use ModelLocator (singleton class) that should have ur tree item object property, whenever u click on any item get item on modellocator singleton class object property. This property should be bind with the displayobject where u wanna display result. On Wed, Sep 30, 2009 at 3:21 PM, prajni

[flex_india:25572] Re: Tree and HDividedBox how to handle

2009-09-30 Thread explorer
You should use bindable variable so different components can share this data. Something like you have on adobe site http://www.adobe.com/2006/mxml";>

[flex_india:25571] Re: keyboard listener problem

2009-09-30 Thread Sumant
Hi, I have two/three ideas. check if one of them solve your problem: panel.addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler); private function keyDownHandler(evt:KeyboardEvent):void { evt.stopImmediatePropagation(); } evt.stopImme

[flex_india:25570] Re: HBox implementation in reverse order

2009-09-30 Thread prem
Gaurav, Thanks a lot Your implementation is perfectly correct. I wrote the following code package com { import flash.display.DisplayObject; import mx.containers.HBox; public class MyHBox extends HBox { public function MyHBox() {

[flex_india:25569] Re: Tree and HDividedBox how to handle

2009-09-30 Thread prajnith K
yeah i used selecteditemindex and viewstack tooo but how to get link between these too... and in viewstack i declared 1 panel. Prajnith On Wed, Sep 30, 2009 at 2:19 PM, Varun Bajaj wrote: > On click of a tree item get the selectedItemIndex of tree, and according to > selected index put a viewst

[flex_india:25568] Re: HBox implementation in reverse order

2009-09-30 Thread Gerald Anto Fernando
Hi gaurav thanks, I was aslo cleared for this doubt. Thanks&Regards, Gerald A On Wed, Sep 30, 2009 at 2:51 PM, gaurav rai wrote: > package > { > import flash.display.DisplayObject; > > import mx.containers.HBox; > > public class CustomHBox extends HBox > { > > public fun

[flex_india:25567] Re: HBox implementation in reverse order

2009-09-30 Thread rishi narang
you can use this.addChildAt(new Button(),MyHBox.numChildren-1) On Wed, Sep 30, 2009 at 3:14 PM, prem wrote: > > Let me code it, the codes should look like this > > > > > > > > This needs to layout components in follo

[flex_india:25566] Re: HBox implementation in reverse order

2009-09-30 Thread prem
Let me code it, the codes should look like this This needs to layout components in following manner Button 4 | Button 3 | Button 2 | Button 1 If I add another button with addChild(new Button()); the new button m

[flex_india:25565] Re: HBox implementation in reverse order

2009-09-30 Thread prem
However, I see the updateDisplayList() function in Box layout with the following loop for (i = 0; i < n; i++) { obj = IUIComponent(target.getChildAt(i)); top = (h - obj.height) * vertica

[flex_india:25562] Re: Tree and HDividedBox how to handle

2009-09-30 Thread Varun Bajaj
On click of a tree item get the selectedItemIndex of tree, and according to selected index put a viewstack index. On Wed, Sep 30, 2009 at 12:51 PM, prajnith K wrote: > Hey all, > > I place a HDividedBox in my application and VdivideBox, I place tree in > first vBox, now i want that when any o

[flex_india:25563] Re: HBox implementation in reverse order

2009-09-30 Thread gaurav rai
package { import flash.display.DisplayObject; import mx.containers.HBox; public class CustomHBox extends HBox { public function CustomHBox() { super(); this.setStyle("horizontalAlign","right"); } public override function add

[flex_india:25564] Re: HBox implementation in reverse order

2009-09-30 Thread Varun Bajaj
there is a property called direction my friend :) On Wed, Sep 30, 2009 at 2:37 PM, prem wrote: > > > > Guys, > Yesterday I faced an interview question. How to create a custom > component which behaves like an HBox but the children needs to be > layed out in reverse order, i.e. From right to lef

[flex_india:25561] Re: Tree and HDividedBox how to handle

2009-09-30 Thread explorer
Did you try put ViewStack inside that container. On 30 ruj, 09:21, prajnith K wrote: > Hey all, > > I place a HDividedBox in my application and  VdivideBox, I place tree in > first vBox, now i want that when any one click in any tree item, relevant > page > or content display in another vBox,

[flex_india:25560] Re: HBox implementation in reverse order

2009-09-30 Thread rishi narang
here are the steps: i) create a class that extends UI component ii) override createChildren method and in that method write all ur logic of layout i.e. create for loop to layout sprites as containers by decrementing there x values there by loop running in reverse order. iii) populate those sprite

[flex_india:25559] HBox implementation in reverse order

2009-09-30 Thread prem
Guys, Yesterday I faced an interview question. How to create a custom component which behaves like an HBox but the children needs to be layed out in reverse order, i.e. From right to left and not from left to right. I answered, we need to override updateDisplayList to move the children, but the

[flex_india:25558] Re: Looking for Flex trainers for freelance assignments in Mumbai

2009-09-30 Thread Lax Sar
Please mail resume ASAP. On Tue, Sep 29, 2009 at 1:31 PM, Santosh Rout wrote: > Hello, > I am a corporate training co-ordinator. We can take up this assignment. Let > me know how to proceed further. > > Regards, > Santosh > www.imetindia.in > > On Tue, Sep 29, 2009 at 4:03 PM, LaxSar Works wrote

[flex_india:25557] Re: Looking for Flex trainers for freelance assignments in Mumbai

2009-09-30 Thread Lax Sar
Send me resumes of interested candidates. Project Manager will take telecon. Its an urgent requirement. On Tue, Sep 29, 2009 at 1:31 PM, Santosh Rout wrote: > Hello, > I am a corporate training co-ordinator. We can take up this assignment. Let > me know how to proceed further. > > Regards, > San

[flex_india:25556] Tree and HDividedBox how to handle

2009-09-30 Thread prajnith K
Hey all, I place a HDividedBox in my application and VdivideBox, I place tree in first vBox, now i want that when any one click in any tree item, relevant page or content display in another vBox, how to do that? Prajnith --~--~-~--~~~---~--~~ You received this m