[flexcoders] How to control placement of vertical axis in chart.

2007-10-07 Thread generalxxaxx
I need to set the exact position of a vertical axis in a chart so that two charts (one above the other) will have their vertical axis line up and the horizontal data spread line up. Problem is, the axis moves when the data values change causing the labels to be longer or shorter (depending upon th

[flexcoders] Re: Generalizing an itemrenderer.

2007-10-07 Thread generalxxaxx
your data setter > > var myListData:DataGridListData = DataGridListData(listData); > var myDataField:String = myListData.dataField; > > valueYourInterestedIn = data[myDataField]; > > > --- In flexcoders@yahoogroups.com, "generalxxaxx" wrote: > > > > I am

[flexcoders] Generalizing an itemrenderer.

2007-10-04 Thread generalxxaxx
I am generalizing an item renderer so that I can use the same component on different columns in a datagrid. The glitch I've run into at the moment is figuring out how to access the different bits of data. Specifically I have an itemrenderer that works great for the column containing data.itempric

[flexcoders] Re: Question about use of datatipFunction in AreaChart with multiple AreaSeries

2007-10-04 Thread generalxxaxx
> > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of generalxxaxx > Sent: Thursday, October 04, 2007 11:47 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Question about use of datatipFunction in AreaChart > with multip

[flexcoders] Question about use of datatipFunction in AreaChart with multiple AreaSeries

2007-10-04 Thread generalxxaxx
I would like to customize the datatip on a chart that has two AreaSeries. Problem is, I can not tell which line in the series is being painted at the point the datatipFunction is called. And I wanted the datatip to have different text depending upon which line was involved. Is there a solution fo

[flexcoders] Re: Position popup relative to component. -- [SOLVED]

2007-09-28 Thread generalxxaxx
causes the popup to move when the browser is resized. The > > techniques will be the same. > > > > http://www.cflex.net/showfiledetails.cfm?ChannelID=1&Object=File&objectI > > D=689 > > > > > > > > Tracy > > > > > > >

[flexcoders] Position popup relative to component.

2007-09-27 Thread generalxxaxx
I would like to position my popup datepicker relative to the parent component, not to the mouse position. Basically have the popup right below my combobox. How does one go about this. Thanks, Claude

[flexcoders] Re: How to listen globally for escape key?

2007-09-21 Thread generalxxaxx
uot; <[EMAIL PROTECTED]> wrote: > > The browser usually eats ESC, so I don't think your app can rely on > getting it. > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of generalxxaxx > Se

[flexcoders] How to listen globally for escape key?

2007-09-20 Thread generalxxaxx
I know how to listen for keypress on an input field or text component. But how do I listen for an escape key, when I don't know for sure which component will have focus? Thanks for any hints. Claude

[flexcoders] Question about PieSeries style for insideWithCallout

2007-09-16 Thread generalxxaxx
I have a simple two wedge pie chart, typically the ratio of the wedges is about 90 to 10. This means that almost always one of the labels is inside and the other label is callout. Is there a way to use the style of the pieseries to have the font color of the inside label be light and the font col

[flexcoders] How do I set background color of selected button in buttonbar?

2007-09-14 Thread generalxxaxx
Actually I wouldn't mind knowing how to do this for either linkbar, buttonbar or togglebuttonbar. My preference would be to figure out how to have a linkbar with fixed width buttons and a background color on the selected button. Or, failing that a buttonBar with the ability turn off the borders a

[flexcoders] Re: Dynamic Assignment of DataGrid columns

2007-09-09 Thread generalxxaxx
Please ignore previous post. Just noticed that in copy/paste of the code I left the columns bit off. {_displayColumns} Sorry for the bandwidth, Claude --- In flexcoders@yahoogroups.com, "generalxxaxx" <[EMAIL PROTECTED]> wrote: > > I have created an mxml component for

[flexcoders] Dynamic Assignment of DataGrid columns

2007-09-09 Thread generalxxaxx
I have created an mxml component for a datagrid. I wanted to switch the columns between three sets. The code below is my attempt to accomplish this. A failed attempt. Is there something wrong with this approach? Or, is there perhaps something wrong with my implementation? Regards, Claude http:

[flexcoders] Re: Editor config question.

2007-09-04 Thread generalxxaxx
Sometimes it is the answers to the smallest questions that give us the greatest pleasure. Don't know how I missed the extra node in the preferences. Thanks a bunch, --- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > > I had the same issue with my guys using Windows VI

[flexcoders] Editor config question.

2007-09-04 Thread generalxxaxx
Forgive this question. It has little to do with Flex coding but everything to do with not getting strung up by my SVN-mates. When I edit an mxml file I end up inserting tab character in the source. For some reason they do not. What is the best practice for indent? How do folks manage to indent w

[flexcoders] Re: Stupid question - get ready to throw fruit.

2007-08-29 Thread generalxxaxx
--- In flexcoders@yahoogroups.com, "candysmate" <[EMAIL PROTECTED]> wrote: > Sorry guys, I didn't explain myself too well. What I want to happen is > to null the ArrayCollection after I've done with it. So it doesn't sit > around in memory hogging resources. > > best, Graham > I'm glad you didn'

[flexcoders] Re: Help - users having problem I can't reproduce

2007-08-29 Thread generalxxaxx
I am getting an actionscript error: ArgumentError: Error #2015: Invalid BitmapData. at flash.display::BitmapData$iinit() at sandy.util::DistortImage/::renderVector() at sandy.util::DistortImage/initialize() at com.adobe.ac.mxeffects::SimpleDistortion/com.adobe.ac.mxe

[flexcoders] How to best dynamically delete a node from XML object.

2007-08-28 Thread generalxxaxx
Using the code below I can remove a node from the x1:XML object. However, using the incremented count as the index value for the node in the XML makes me nervous. Is there a better way to get the index value of a node so that one can use the delete? var x1:XML =

[flexcoders] Re: Question about HTTPService and Perl

2007-08-28 Thread generalxxaxx
Two very useful suggestions. The XML file retrieval is working great now. Now I just need to brush up on the best practices for working with XML. Thanks Claude --- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > > Trace your result: > > flexitXML = event.result as XML;

[flexcoders] Question about HTTPService and Perl

2007-08-28 Thread generalxxaxx
I am trying to connect to a Perl script on my server. At the moment I'm mostly flopping around. Below are snippets of the code involved. I was hoping for hints on what bit of blatant stupidity I've overlooked. Or, perhaps a few best practices on how to debug returning information such as this. Or,