[flexcoders] problem implementing show/hide menu on button click

2008-11-30 Thread prashant194
Hello all, I want to show and hide menu on button click. If one a click of a button, the menu is shown, then on another click of the same button, the menu should be hidden. I used a flag to implement this but got in to a problem. The code snippet is shown below: private var showMenu:Boolean =

[flexcoders] Re: problem implementing show/hide menu on button click

2008-11-30 Thread prashant194
[EMAIL PROTECTED] wrote: Usually you don't need a hide phase to the button. Once shown, clicking anywhere will hide it. Only set the flag to false on MENU_HIDE. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of prashant194 Sent: Sunday, November 30, 2008 2:08 AM

[flexcoders] drag drop invokes click handler of dragged compoent

2008-10-21 Thread prashant194
Is there any way i can strop the click handler of the dragged component being fired when the component is dragged and dropped over other region? I want the click handler to work only on non drag operation i.e. when the component is clicked only and i want to stop click handler from fired when

[flexcoders] how to regain the focus on the textinput when browser is minimized and maximized

2008-09-02 Thread prashant194
Hello all, If i set focus on a textinput of my application and minimize and maximize the browser, the focus is lost? Is there any way to deal with this problem? I am using Mozilla Firefox 3.0.1. The focus is regained when i switch between the tabs but now when maximized and minimized and

[flexcoders] how to change the state of custom item renderer of list control on itemFocusIn

2008-08-04 Thread prashant194
Hello all, I am using my custom component as item renderer of list control. The list displays my component very well but i have no idea how can i have a control over the list item which is my custom component. I want to change the state of my custom component whenever itemFocusIn event is fired.

[flexcoders] Re: textarea with auto height

2008-07-15 Thread prashant194
-9979960798 - Original Message From: prashant194 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, July 15, 2008 7:06:59 AM Subject: [flexcoders] Re: textarea with auto height Thanks for the reply but its still not working for me. Actually i tried the same u did

[flexcoders] textarea with auto height

2008-07-14 Thread prashant194
Hello all, I want to have my textarea auto resize its height based on the length of the text it contains. The width of the text area remains fixed. How can i do that?

[flexcoders] Re: textarea with auto height

2008-07-14 Thread prashant194
= this.textHeight; is the core. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of prashant194 Sent: Monday, July 14, 2008 1:00 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] textarea with auto height

[flexcoders] Re: how to show datatip manually in a chart?

2008-04-28 Thread prashant194
want to show a dataTip for a specific datapoint, where its visibility is controlled by some event other than onhover? --- In flexcoders@yahoogroups.com, prashant194 prashant194@ wrote: Hello all, Is there any way that i can show the datatip manually in the chart at the desired location?

[flexcoders] how to show datatip manually in a chart?

2008-04-27 Thread prashant194
Hello all, Is there any way that i can show the datatip manually in the chart at the desired location?

[flexcoders] intermediate value between the widely separated datapoints of line chart?

2008-04-27 Thread prashant194
Hello all, i am newbie to Flex and right now i am working on Flex 3. I drew a line chart based on two datapoints as shown: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ import