[flex_india:19640] Re: Doubt

2009-02-24 Thread akshay gore
.width = parent.width * fraction; > > parent.addChild(a_child); > > I think this should solve your problem. > > You can get the number of children by parent.getChildren.length and > reference of child can be get as parent.getChildIndex(a_child); > > HTH, > > -Ravi > > On Feb 24,

[flex_india:19639] Re: Doubt

2009-02-24 Thread akshay gore
ercent values. > > http://gsjournals.wordpress.com/ > > On Feb 24, 4:34 pm, akshay gore wrote: > > > Hi all, > >          I have a Canvas in my application, in that i am adding a > > child (box) dynamically.. now when i change the height n width > > (Layo

[flex_india:19632] Re: Doubt

2009-02-24 Thread akshay gore
the layout of each child becoz i am adding its children dynamically.. How could i find that how many children are there?? How could i get the reference of each child ?? Pl help me.. Is there another way to do it?? Pl let me know.. Thanks, Regards, Akshay On Feb 24, 5:46 pm, akshay gore wrote: >

[flex_india:19631] Re: Doubt

2009-02-24 Thread akshay gore
of parent(canvas) {parent.height}. > Just try it out and let me know if it works. > > -Ravi > > On Feb 24, 4:34 pm, akshay gore wrote: > > > Hi all, > >          I have a Canvas in my application, in that i am adding a > > child (box) dynamically.. now when i

[flex_india:19628] Doubt

2009-02-24 Thread akshay gore
Hi all, I have a Canvas in my application, in that i am adding a child (box) dynamically.. now when i change the height n width (Layout) of the canvas dynamically i also want its children get resized accordingly .. Here i am getting the problem that children (Layout) are not changing acco

[flex_india:19606] Re: trace

2009-02-23 Thread akshay gore
Hi all, Where could i get the output of the trace.. means in which file i will get the output.. Thanks, Regards, Akshay On Feb 24, 8:26 am, Shaleen Jain wrote: > something like this > > var num:int = 5; > trace("value of num is: "+num); > or > trace(num); > > Thanks, > Shaleen Jainhttp:

[flex_india:19583] How to add scrollbar

2009-02-23 Thread akshay gore
Hi all, I have canvas in my application in that i want to add scrollbar.. here i have added but the problem is that i am not understood which property should i so that i will see scrolling page means which property should set which decides how much size of page should see in one scroll ev

[flex_india:19580] Re: Get id of components of .mxml file to the actionscript file

2009-02-23 Thread akshay gore
Hi Vishal, You could get the access to ur component in another way also.. where u can pass the reference of the component to ur action script class.. I think it will be easiest way .. if that include stmt isnt working.. Lets take one example; say u have declared one Canv

[flex_india:19574] Re: Can i add scrollbar as component in mxml

2009-02-23 Thread akshay gore
Hey thanks a lot On Feb 23, 2:22 pm, "" wrote: > > > http://www.adobe.com/2006/mxml";> > >       >         >     > >             width="100%" >         color="blue" >         text="Click on the ScrollBar control to view its properties."/ > > > >             height="100%" >         minScrol

[flex_india:19565] Can i add scrollbar as component in mxml

2009-02-22 Thread akshay gore
Hi all, I have one query that i want to add scrollbar in my application..Can i add it as separate component in my mxml application.. Thanks in advance .. Regards, Akshay --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[flex_india:19563] Re: How can i change the cursor

2009-02-22 Thread akshay gore
Akshay , > > For that create one Class type variable to the image you like to use as > > cursor, > > and assign that image as Cusor using SetCursor method > > here is the sample code > > > [Embed(source="assets/textcursor.png")] > >     [Bindable] public va

[flex_india:19487] Re: Static variables in Flex

2009-02-19 Thread akshay gore
Hey sudhi Have you defined all classes inside one package ? If yes then there will be no problem as all members inside single package defined in different class is accessible when declared as public.. Could you explain ur structure .. You can do one thing that static variable could get in differen

[flex_india:19471] Re: Static variables in Flex

2009-02-19 Thread akshay gore
Hi sudhi, Hey you can pass the reference of the variable.. for that create object of the class where u want to access that variable n catch that variable in class's constructor.. so that u will get reference of that variable.. Now u can use that variable inside action script class.. T

[flex_india:19409] Re: How can i change the cursor

2009-02-17 Thread akshay gore
Hi Flexian_NGL, Thanks for reply.. Hey i have used it... i want to use custom cursor.. so how can i do this .. Which Mouse listener should i handle?? Pl tell me.. Regards, Akshay On Feb 18, 11:25 am, "Flexian_NGL ,@Bangalore" wrote: > Refer CursorManager classes it has

[flex_india:19406] How can i change the cursor

2009-02-17 Thread akshay gore
Hi all, I have a canvas in my application,in which i am adding boxes dynamically. Now i want to resize those children dynamically, but in this case when i move the cursor on border of added box, I want to change the cursor.. Can u pls tell me which mouse listener should i handle.. and how

[flex_india:19404] Re: How to identify parent of the component

2009-02-17 Thread akshay gore
Hey Nicholas.. I got answer .. Thanks for reply... Regards, Akshay On Feb 18, 9:21 am, akshay gore wrote: > Hey thanks Nicholas, >                Hey what should i do in case of parent component .. it > will work with parent property .. > > On Feb 17, 8:36 pm, Nicholas wrote:

[flex_india:19401] Re: How to identify parent of the component

2009-02-17 Thread akshay gore
> immediate display parent, but you might want parentDocument, which is > the parent component that created the child. > > -N > > On Feb 17, 7:35 am, akshay gore wrote: > > > Hi abdul, > >              Hey i didnt find the parent property .. where is it ?? I >

[flex_india:19381] Re: How to identify parent of the component

2009-02-17 Thread akshay gore
added to a parent, If it's an orphan (i.e. not yet added to display), > parent should be null? > > -abdul > > akshay gore wrote: > > Hi all, > >          Is there anyway to identify the parent of the child..In my > > application i am creating children dynamically

[flex_india:19378] How to identify parent of the component

2009-02-17 Thread akshay gore
Hi all, Is there anyway to identify the parent of the child..In my application i am creating children dynamically .. Now i want to identify the parent of the child.. Can u pls tell me that how can i do this? Thanks Regards, Akshay --~--~-~--~~~---~--~~ You

[flex_india:19363] Re: create new instance of container

2009-02-16 Thread akshay gore
Hey we can create the component dynamically using ActionScript class .. n even u can fetch their properties from class itself ... Regards, Akshay On Feb 17, 11:17 am, flex wrote: > hi all, > Can we create runtime instance for container? > my canvas is > >   > > > i want to create new instan

[flex_india:19361] How can i make the communication between flex and AIR

2009-02-16 Thread akshay gore
Hi all, Actually i want to write XML object into the file.. for writing i hv written AIR application.. now i want to communicate with AIR for sending XML object .. Can u tell me pls how can i do this .. Thanks in advance Regards, Akshay --~--~-~--~~~---~--~

[flex_india:19243] how to get the reference of child

2009-02-13 Thread akshay gore
Hi all, I hv a canvas in my application in that i am adding boxes dynamically.. if particular box is selected then i am dividing that box in this i am creating 2 new boxes and adding as child in that selected box.. but now the problem is that when i am trying divide that child box it doe

[flex_india:19225] Re: Focus Event

2009-02-13 Thread akshay gore
hi Varun thnx lot .. its working fine... On Feb 13, 2:02 pm, vrathore wrote: > First of all you need to get the cell selected , Please follow this > simple example > var canBox: Box  = new Box; > canBox.addEventListener(MouseEvent.CLICK, clickHandlerFunction); > >                         } > pub

[flex_india:19209] How to find out the current focused component

2009-02-12 Thread akshay gore
Hi all, I hv no boxes in my canvas.. i hv written the focus event for that now i want to find out which box is focused .. The box gets focused only when user clicks on the box .. pls tell me how can i do that .. in my application i hv wriiten.. boxobject = canvasobject.getFocus();

[flex_india:19206] Re: Focus Event

2009-02-12 Thread akshay gore
Hi, How can i find out that on which component focus is set, i am setting the focus Dynamically .. i hv written the focus event dispatcher on boxes now i want to find out that which box is currently focused .. Pls help me.. Thanx in advance .. Regards, Akshay On Feb 13, 10:06 am, vrathore

[flex_india:19205] Re: Focus Event

2009-02-12 Thread akshay gore
Hi varun Thnx ,Hey I hv also written the same stmt but problem is that how can i shift the focus from one cell to another.. How can i do this? On Feb 13, 10:06 am, vrathore wrote: > I am supposing that you have added the click in the cell, just use the > the following code on the cel

[flex_india:19195] Focus Event

2009-02-12 Thread akshay gore
Hi, I have created the grid og boxes,now i want to write the focus event so that the mouse click on the one cell (box) of the grid will get focused... n also on click on another cell will disable the focus on previous one.. How can i do this .. Pls help me.. which should i used FocusEvent or

[flex_india:19169] Re: How can i access custom component in ActionScript class

2009-02-12 Thread akshay gore
hi, How can i create the instance becoz i hv created only the method in script tag .. now i want to call this method .. How can i do this?? On Feb 12, 1:57 pm, "Flexian_NGL ,@Bangalore" wrote: > hi, > > create an instance of that component and call that method. > > -- > Thanks & Regards > G

[flex_india:19168] How to minimize the gap between the Children

2009-02-12 Thread akshay gore
Hi all, I have created box in which i want to add 2 boxes dynamically.. I have added but the problem is that There is Gap between 2 boxes .. now i want to reduce the gap to 0... Pl help me .. Thanks in advance Regards, Akshay --~--~-~--~~~---~--~~ You rece

[flex_india:19155] How can i access custom component in ActionScript class

2009-02-12 Thread akshay gore
Hi all, I have created the custom component using mxml but now i want to access the one function defined in that mxml file.. I want call that function from actionscript file.. How can i do this? pl help me.. regards, Akshay --~--~-~--~~~---~--~~ You recei

[flex_india:19156] Re: How can i resize the Children dynamically

2009-02-12 Thread akshay gore
t = 70; > > so when parent get resize child control get automatically resize as > per parent heigh/width. > > Thanks > Virat Patel > > On Feb 11, 3:13 pm, akshay gore wrote: > > > Hi all, > >          I want to resize the children of the boxes dynamically.. n

[flex_india:19127] How can i resize the Children dynamically

2009-02-11 Thread akshay gore
Hi all, I want to resize the children of the boxes dynamically.. n in this i am adding child to boxes at run time.. Can you tell me pls.. that how can i do this .. Is there any property of box thr which i could automatically resize its children .. Thanks in advance Regards, Akshay --~--~

[flex_india:19124] Re: alert message in actionscript project

2009-02-11 Thread akshay gore
Hi Kunal, U can use Alert.show(); method to put alert msg.. Regards, Akshay On Feb 11, 10:44 am, kunal wrote: > Hi > I am creating Actionscript project. > I want to put Alert box when some exception occurs. > please reply > Thanks --~--~-~--~~~---~--~---

[flex_india:19117] How to add focus on Click event

2009-02-11 Thread akshay gore
Hi all, I am made a grid on HBoxes, now i want to add focus for each cell on click event .. Anyone knw how can i do this?? Thanks in advance Regards, Akshay --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

[flex_india:19092] Re: Drag and Drop Images From Horizontal List

2009-02-10 Thread akshay gore
hi Ravi, Hey u can use mouse Up n Down, Move events combination.. that wil be help for u.. U can change the position of the image At least try this.. Regards, Akshay On Feb 10, 1:42 pm, Ravi wrote: > Hello, > I want to drag images from horizontal list to canvas,can any one help > me

[flex_india:19060] Re: How to Drag and drop

2009-02-09 Thread akshay gore
Hi Varun , Thanks.. Regards, Akshay On Feb 9, 2:10 pm, vrathore wrote: > Hello Akshay , > > Can you refine the question ,by the way these two events can be used > to drag drop >         dragEnter="doDragEnter(event);" >         dragDrop="doDragDrop(event);"/> > > Using these two event

[flex_india:19052] How to Drag and drop

2009-02-08 Thread akshay gore
Hi all, i want to drag the height of the Hbox in my application. Which mouse events n which other events should i handle ? can u pls tell me?? I hv added the Hbox in canvas. thanks in advance.. Regards, Akshay --~--~-~--~~~---~--~~ You received this message because

[flex_india:18997] How to resize the containers dynamically

2009-02-06 Thread akshay gore
Hi all, I hv Hbox in my application , i want to resize it dynamically. Can any one tell me any example ? Pl help me.. Thanks in advance Regards, Akshay --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Flex In

[flex_india:18987] Re: How to resize the HBox

2009-02-06 Thread akshay gore
Hi subeesh, No its not like that example. I want to create resize event for 4 hboxes in single canvas only... pl tell me how to do that .. Thanks in advance On Feb 6, 1:53 pm, subeesh a wrote: > Hi, > > Something like the panel in this example ?? > > http://www.wietseveenstra.nl/

[flex_india:18980] Re: How to resize the HBox

2009-02-06 Thread akshay gore
> you can create hbox component and assign what ever you need with addchild > so each time it comes in loop value will be added > even it is better to use canvas if required > > -- > Karthik.k > Mobile - +91-9894991640http://karthikkprofile.blogspot.com/ > On 2/6/09, akshay g

[flex_india:18970] Re: How to resize the HBox

2009-02-05 Thread akshay gore
-9894991640http://karthikkprofile.blogspot.com/ > > On 2/5/09, akshay gore wrote: > > > > > Hi all, > >        I want to resize the HBox in my application. Which events > > should i handle ? can u tell me pls > > Thank u in advance > > Regards, > > Akshay

[flex_india:18960] Re: How to resize the HBox

2009-02-05 Thread akshay gore
rds, > Paritosh > > On Feb 5, 6:03 pm, akshay gore wrote: > > > Hi all, > >         I want to resize the HBox in my application. Which events > > should i handle ? can u tell me pls > > Thank u in advance > > Regards, > > Akshay --~--~-~

[flex_india:18956] How to resize the HBox

2009-02-05 Thread akshay gore
Hi all, I want to resize the HBox in my application. Which events should i handle ? can u tell me pls Thank u in advance Regards, Akshay --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Flex India Community"

[flex_india:18803] Re: How to display the grid

2009-02-02 Thread akshay gore
On Jan 31, 3:51 pm, Venkat Viswanathan wrote: > Looking for something like this? > > http://blogs.adobe.com/aharui/DataGridFooter3/dg.swf > > Regards, > Venkatwww.venkatv.com > > On Fri, Jan 30, 2009 at 11:00 AM, akshay gore wrote: > > > Hi Venkat, > >  

[flex_india:18730] How to create Report Editor in FLEX

2009-01-30 Thread akshay gore
Hi all, I want to create report editor in my application that will generate report page(s). Anyone knows how to create it.Pl reply as early as possible.Thanks in advance. Regards, Akshay --~--~-~--~~~---~--~~ You received this message because you are sub

[flex_india:18713] Re: How to display the grid

2009-01-29 Thread akshay gore
- Using the Grid container (its deprecated in Flex 3) > - Use constraint-based layout (best option... recommended!) > > Regards, > Venkatwww.venkatv.com > > On Thu, Jan 29, 2009 at 6:30 PM, akshay gore wrote: > > > Hi all, > >          I want to display the grid on

[flex_india:18698] How to display the grid

2009-01-29 Thread akshay gore
hi all, I want to create displayable grid on my application. Can u tell me any logic for that.means what containers or controls should i use to display the grid. Thanks in advance akshay --~--~-~--~~~---~--~~ You received this message because you are subscr

[flex_india:18697] How to display the grid

2009-01-29 Thread akshay gore
Hi all, I want to display the grid on my container, can u tell me any way to display it or any idea how to do it.. Thanks in advance Akshay --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Flex India Commu

[flex_india:18429] How to build the report in flex

2009-01-22 Thread akshay gore
hi all, i want to build report in my application. can anyone help me.. at least tell me what are the APIs used for that.. pls help me.. thanks and regards, akshay --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Fle