Re: [flexcoders] how to know the selectedItem in tree is a leaf or a branch in Flex2B3?

2006-05-12 Thread Sreenivas R
Use   tree.dataDescriptor.isBranch(selectedItem)  -Sreenivas  On 5/12/06, calvin33castic <[EMAIL PROTECTED]> wrote: in change Event, I got a selectedItem.but how can I know it's a leaf or a branch? Yahoo! Groups Sponsor ~-->You can search right from

Re: [flexcoders] Flex Framework Source Code

2006-03-20 Thread Sreenivas R
The framework source code will be made available in the final realse.   -Sreenivas  On 3/20/06, Paul BH <[EMAIL PROTECTED]> wrote: thats for 1.5 btw On 3/20/06, Paul BH <[EMAIL PROTECTED]> wrote: you might find this useful too:http://www.docsultant.com/site2/articles/flex_src.html On 3/20

Re: [flexcoders] Re: Question about setFocus() in text input

2006-03-20 Thread Sreenivas R
as I mentioned before, the setFocus() methodwon't work anywhere outside the scope of TextInput. I'm using flex 1.5.--- In flexcoders@yahoogroups.com, "Sreenivas R"<[EMAIL PROTECTED]> wrote:>> Hi John,>> You can try doing a textInput.setFocus() in the show event of t

Re: [flexcoders] Need to add EventListener at the Application level

2006-03-16 Thread Sreenivas R
Here is a sample I wrote quicky. Hope it helps.   http://www.adobe.com/2006/mxml" creationComplete="addHandler(event)" xmlns="*">           On 3/16/06, KOT_MATPOC <[EMAIL PROTECTED]> wrote: Hello,is there a way to add an event listener to the Application so that itwould lis

Re: [flexcoders] Problem with DateChooser selectedDate - flex 2

2006-03-16 Thread Sreenivas R
I think the bug lies in the fact that the DateChooser is expecting a perfect date without any hours, seconds.   I tried the following it works.   public var temp:Date = new Date();   [Bindable]   public var now:Date = new Date(temp.fullYear, temp.month, temp.date);  On 3/16/06, pasflex <[EMA

Re: [flexcoders] Tooltips at cellRenderer

2006-03-16 Thread Sreenivas R
You need to set the showToolTip property of CheckBox to true. On 3/16/06, nahruka <[EMAIL PROTECTED]> wrote: Hi all,I've implemented a custom TileList with Flex 1.5 which cellRenderer isalso a custom component named Grup. Why are Grup tooltips not showed ??? Here is MyList.mxml:http://www.macrom

Re: [flexcoders] Restricting drag & drop to certain nodes of a tree

2006-03-16 Thread Sreenivas R
You need to add a handler for  the dragOver event and based on which item the mouse is you can set the action property of the event to allow/prevent the operation. On 3/16/06, Robs <[EMAIL PROTECTED]> wrote: Hi all,  Is it possible to restrict drag & drop operation to certain nodes ofa tree? If

Re: [flexcoders] Question about setFocus() in text input

2006-03-16 Thread Sreenivas R
Hi John,   You can try doing a textInput.setFocus() in the show event of the parent container.   -Sreenivas  On 3/16/06, wujunjr <[EMAIL PROTECTED]> wrote: Hi,I'm trying to set focus on a text input field by using setFocus()method in "creationCompelete" property of the TextInput. It works well w

Re: [flexcoders] Overlapping click regions

2006-03-05 Thread Sreenivas R
The canvas gets the click event because of the event bubbling.   You can handle the situation in two ways.   In canvasClicked you can check the event.target to be the canvas only before taking any action.   You can call event.stopPropagation() in the button click handler to prevent the event fro

Re: [flexcoders] Flex 2.0 Dashboard Project

2006-03-05 Thread Sreenivas R
Hi Sergio,   You can find a good tutorial about charts in Flex 1.5 here http://www.macromedia.com/devnet/flex/articles/charting.html   -Sreenivas  On 3/4/06, sergiosergiomon <[EMAIL PROTECTED]> wrote: Hello everyone!I had already posted here asking for a tutorial on how to build adashboard like

Re: [flexcoders] Form field direction

2006-03-01 Thread Sreenivas R
You can set the direction property to "horizontal".   -Sreenivas  On 2/28/06, Matt Chotin <[EMAIL PROTECTED]> wrote: Sorry, you'll just have to put an HBox inside to get that going.   Matt   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pablo Apanasion

Re: [flexcoders] DividedBox question - divider position

2006-01-31 Thread Sreenivas R
You can set the explicitMinHeight property of the panel to achieve this.   -Sreenivas  On 1/31/06, jgraham_us <[EMAIL PROTECTED]> wrote: Is there an easy way to set a minimum position for a divider in aDividedBox?  For example.  I have three panels in a VDividedBox when I drag divider 0 up I wan

Re: [flexcoders] Drawing on a chart?

2006-01-09 Thread Sreenivas R
Yes it is possible to draw shapes on top of a chart. You can create a generic UIComponent and add as a child to the application or chart. Then you can draw using the normal beginFill/drawRect/endFill rounties.   -Sreenivas  On 1/3/06, Doug Wagner <[EMAIL PROTECTED]> wrote: Is it possible to draw

Re: [flexcoders] How to find that in which font type the text is written

2006-01-09 Thread Sreenivas R
You can use measureText available on the controls (Button, TextInput etc) to find out the text width and height.   You can use fontFamily, fontSize etc styles to set/get the font type and size.   -Sreenivas.  On 1/6/06, leorajpoot <[EMAIL PROTECTED]> wrote: Hi all,I want to find the number of pi

Re: [flexcoders] Bar Chart with Dates

2005-12-21 Thread Sreenivas R
You can use the DateTimeAxis for the horizontal axis and provide the start and end date fields as minField and xField properties.   -Sreenivas  On 12/20/05, Sreejith Unnikrishnan <[EMAIL PROTECTED]> wrote: Hi, Can someone help me with a way to display a bar chart with floating bars depicting say

Re: [flexcoders] How do you change the color of text in a label

2005-12-19 Thread Sreenivas R
By setting the color style     will give you red colored text.  On 12/19/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: What is the property that you use to change it?--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.

Re: [flexcoders] dateChooser (2.0) start date

2005-12-19 Thread Sreenivas R
set the minYear property. On 12/19/05, yaagcur <[EMAIL PROTECTED]> wrote: How would I go about extending back the earliest date the calendar canaccess?The default just goes back to 1900 Yahoo! Groups Sponsor ~-->Get Bzzzy! (real tools to help you find

Re: [flexcoders] Menu Bar Killing me. Can someone help.

2005-12-14 Thread Sreenivas R
Hi Jeremy,   I tried using the code on cflex.net. It works fine for me.   What is the problem you are facing ?   -Sreenivas  On 12/8/05, Jeremy Rottman <[EMAIL PROTECTED]> wrote: I have a menu bar that I have written in flex 2.0, that I would liketo use to control a view stack. I have tried usin

Re: [flexcoders] Modifying Scroll Bars

2005-12-13 Thread Sreenivas R
Hi Jeff,   From what I know there are two ways to do this.   You can set the several styles available for the ScrollBar. Take a look at the default.css file which lists many of the styles. Using a Style tag for ScrollBar you can change the look at feel of all the scroll bars in your application

Re: [flexcoders] (Flex 2.0) Slider.labels bug?

2005-12-06 Thread Sreenivas R
Hi Darin,   This is a bug. It will be fixed in the next release.   -Sreenivas.  -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS

Re: [flexcoders] Re: listen a custom event from a dialog(Flex 2.0)

2005-12-01 Thread Sreenivas R
Hi Keishichi,   Are you saying you are not receiving the event or that you are receiving the event but tile list is not getting refreshed ?   You can put a trace / alert in the event handler and check whether you are receiving the event or not.   -SreenivasOn 12/1/05, keishichi2001 <[EMAIL PROTE

Re: [flexcoders] button

2005-11-30 Thread Sreenivas R
he AS file. (It has nearly 600 lines as it has not been trimmed down ) -Sreenivas  On 11/30/05, Jeremy Tooley <[EMAIL PROTECTED]> wrote: Hi SreenivasI should have been more clear. I am using flex 2.0 to comile an Actionscript project. and using the as button components S

Re: [flexcoders] Strange Issue with Flex 2 Alpha States, MenuBar and Button Control

2005-11-29 Thread Sreenivas R
I think this is a bug in Alpha where the focus is retained in a object even after it has been removed (button in your case) and causing this error.   As label doesnot have focus it is not giving any problems. Try forcing the focus to something else in the event handler.   -Sreenivas  On 11/30/05

Re: [flexcoders] button

2005-11-29 Thread Sreenivas R
Hi Jeremy,   I think without all Flex initialization code (SystemManager, Application, Styles etc) this is not going to work !   I am saying this based on my look at the generated AS file for a simple Flex MXML app. It generates lot of code !   It is easy to insert components into a minimal Flex

Re: [flexcoders] Re: How to view attachment file

2005-11-28 Thread Sreenivas R
Assuming you are using Flex 1.5 and you are following the CustomComponents->ActionScript components example   you need to add the xmlns="*" string to the application tag.  On 11/28/05, jag reddy <[EMAIL PROTECTED]> wrote: Hi ,   I followed the code http://127.0.0.1:8700/samples/explorer/explore

Re: [flexcoders] Alert message fully displaying

2005-11-28 Thread Sreenivas R
Can you share the MXML file ? Which version of Flex are you using ?   -Sreenivas  On 11/29/05, Jignesh Dodiya <[EMAIL PROTECTED]> wrote: I am not able to display the Alert message fully.i.e. it is displaying only first few words in the message.Total message is not displayed. Morething, whats t