[flexcoders] AdvancedDataGrid virtual/pivot column creation?

2009-09-11 Thread chigwell23
Not sure whether virtual or pivot is the right word, but the columns do not exist as columns in the returned result set, but as data. MGR PROD SOLD mgr1 beer 100.99 mgr1 rice 200.55 mgr1 soap 400.33 mgr2 beer 123.50 mgr2 rice 428.88 mgr2 soap 555.55 I wish to turn this into MGR BEER

[flexcoders] Re: AdvancedDataGrid virtual/pivot column creation?

2009-09-11 Thread chigwell23
@yahoogroups.com, chigwell23 chigwel...@... wrote: Not sure whether virtual or pivot is the right word, but the columns do not exist as columns in the returned result set, but as data. MGR PROD SOLD mgr1 beer 100.99 mgr1 rice 200.55 mgr1 soap 400.33 mgr2 beer 123.50 mgr2 rice 428.88

[flexcoders] Expand/Collapse on OLAPDatagrid?

2009-09-11 Thread chigwell23
Is there anyway to get the first hierarchical column of the OLAPDataGrid to display node icons and expand/collapse a la ADG? TIA, Mic.

[flexcoders] vert scroll fix for Satish T J's PivotComponent?

2009-09-11 Thread chigwell23
Found exactly what I need in this amazing component, which is basically unusable as there is no vertical scroll of the grid when the rows increase. Has anybody figured out a fix for this? The author actually works for Adobe, and I find it hard to believe that there have been no fixes to it for

[flexcoders] Re: vert scroll fix for Satish T J's PivotComponent?

2009-09-11 Thread chigwell23
Fixed it by editing OLAPDataGridEx.as. public function OLAPDataGridEx() needs a this.enabled = true; added to it. This is serious component :-) --- In flexcoders@yahoogroups.com, chigwell23 chigwel...@... wrote: Found exactly what I need in this amazing component, which is basically

[flexcoders] Re: Apply filterFunction to datagrid XMLListCollection dataprovider question

2009-09-01 Thread chigwell23
provider. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of chigwell23 Sent: Friday, August 28, 2009 12:39 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Apply

[flexcoders] custom components destroy Flex design mode ....

2009-09-01 Thread chigwell23
This one is starting to really drive me crazy ... placing any one of a multitude of custom components on the mxml stops design mode from opening. Just grabbed the SteelPotato footerdatagrid to see if it can be seen if it is used. Nope - stops design mode. Wanted to try it because our

[flexcoders] Re: Apply filterFunction to datagrid XMLListCollection dataprovider question

2009-08-28 Thread chigwell23
, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of chigwell23 Sent: Thursday, August 27, 2009 2:09 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Apply filterFunction to datagrid XMLListCollection

[flexcoders] Re: Apply filterFunction to datagrid XMLListCollection dataprovider question

2009-08-28 Thread chigwell23
] On Behalf Of chigwell23 Sent: Friday, August 28, 2009 2:53 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Apply filterFunction to datagrid XMLListCollection dataprovider question 1. Datagrid displays fine 2. Datagrid dataprovider = lstRepRankDrill[0].record which

[flexcoders] Curious - anybody doing anything with Flex and MS Reporting Services 2005?

2009-08-28 Thread chigwell23
I am putting link buttons on the Flex app that point to RS report URLs, but wonder if there is a way of making it more integrated? TIA, Mic.

[flexcoders] Apply filterFunction to datagrid XMLListCollection dataprovider question

2009-08-27 Thread chigwell23
private function filterRepRankDtlChnl(item:Object):Boolean{ if(item.results.record.chnl_cd == PREM) return true; else return false; } Filter is not filtering and I think it maybe item.results.record.chnl_cd - the item:Object is in this format: item ...results ..record

[flexcoders] Re: Apply filterFunction to datagrid XMLListCollection dataprovider question

2009-08-27 Thread chigwell23
available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of chigwell23 Sent: Thursday, August 27, 2009 2:40 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Apply filterFunction to datagrid XMLListCollection dataprovider question

[flexcoders] Re: Apply filterFunction to datagrid XMLListCollection dataprovider question

2009-08-27 Thread chigwell23
the entire dataProvider in the function. Do the trace. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of chigwell23 Sent: Thursday, August 27, 2009 4:25 AM To: flexcoders

[flexcoders] Re: SharedObject - do I need to stop it flushing at app exit?

2009-08-26 Thread chigwell23
the save prefs. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of chigwell23 Sent: Wednesday, August 26, 2009 12:25 AM To: flexcoders@yahoogroups.com Subject: [flexcoders

[flexcoders] SharedObject - do I need to stop it flushing at app exit?

2009-08-25 Thread chigwell23
Multiple dropdowns are used to configure stored procedure parameters to load a dashboard view. A Save Preferences button saves the current configuration to a local SO. The user can then change the parameters and load different dashboard views . problem is that when the app quits it

[flexcoders] Re: Overriding function not marked for override? Why ...

2008-08-01 Thread chigwell23
Hi Amy, both the column series and the line series use the same horizontal axis mx:horizontalAxis mx:CategoryAxis id=hAxis categoryField=mfg/ /mx:horizontalAxis mx:series mx:ColumnSeries id=colPrevSeries horizontalAxis={hAxis} ... mx:ColumnSeries id=colCurrSeries

[flexcoders] Re: Can we subclass Application yet?

2008-07-31 Thread chigwell23
subclass Application via AS. Are you trying to do it in MXML? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of chigwell23 Sent: Wednesday, July 30, 2008 11:51 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Can we

[flexcoders] Chart: pass info about series1 to series2 lineSegmentRenderer callback?

2008-07-31 Thread chigwell23
First question is whether I can pass actual parameters to a callback in the first place? This is what I need to do: mx:ColumnSeries id=salesSeries yField=sales /mx:ColumnSeries mx:LineSeries id=percSeries yField=percent lineSegmentRenderer=PercentLineRenderer(orig callback params, new

[flexcoders] Re: Chart: pass info about series1 to series2 lineSegmentRenderer callback?

2008-07-31 Thread chigwell23
Message From: chigwell23 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, July 31, 2008 4:33:54 PM Subject: [flexcoders] Chart: pass info about series1 to series2 lineSegmentRenderer callback? First question is whether I can pass actual parameters to a callback

[flexcoders] Re: Chart: pass info about series1 to series2 lineSegmentRenderer callback?

2008-07-31 Thread chigwell23
, chigwell23 [EMAIL PROTECTED] wrote: Hi Laurent, Yes true, but the data passed to the renderer is only the data for the associated series, and I also need the data for the first series in order to do my calcs within the renderer :-( --- In flexcoders@yahoogroups.com flexcoders

[flexcoders] Can see series[0].seriesRenderData in debug - cannot code to it?

2008-07-31 Thread chigwell23
Hi all, Thanks very much for all your help so far ... I am now accessing the chart object from within the line renderer with: override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void {

[flexcoders] Overriding function not marked for override?

2008-07-31 Thread chigwell23
Again thanks for all the help so far ... turns out that LineSeries.RenderData is a protected property renderData property renderData:Object [read-only] Stores the information necessary to render this series. Implementation protected function get renderData():Object ... so I

[flexcoders] Re: Overriding function not marked for override?

2008-07-31 Thread chigwell23
it without monkey-patching the original file, as _renderData is almost certainly going to be private, so you can never set it. -Josh On Fri, Aug 1, 2008 at 8:37 AM, Amy [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, chigwell23 chigwell23@ wrote: Again thanks for all the help

[flexcoders] Re: Overriding function not marked for override? Why ...

2008-07-31 Thread chigwell23
functionality might be in-the-air, but for Flex3 stuff certain off-limits stuff is sometimes needed. --- In flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com , chigwell23 chigwell23@ wrote: Yes Josh it is protected read-only why would the flex developers intentionally

[flexcoders] Can we subclass Application yet?

2008-07-30 Thread chigwell23
As far as I can tell the Flex2 problems with subclassing Application still exist in Flex3 i.e. bye-bye mxml components on parent class? Is this correct and has anybody worked around this? TIA, Mic.

[flexcoders] modelLocator.testVO.test[i] indirection for modelLocator.testVO.test1?

2008-07-29 Thread chigwell23
modelLocator.testVO.test1 = some string; var i:int = 1; modelLocator.testVO.test[i]= some string; // gives error undefined property - how does one code this kind of indirection in Flex? TIA, Mic.

[flexcoders] Re: modelLocator.testVO.test[i] indirection for modelLocator.testVO.test1?

2008-07-29 Thread chigwell23
And the answer is: modelLocator.testVO[test + i] --- In flexcoders@yahoogroups.com, chigwell23 [EMAIL PROTECTED] wrote: modelLocator.testVO.test1 = some string; var i:int = 1; modelLocator.testVO.test[i]= some string; // gives error undefined property - how does one code this kind

[flexcoders] Re: modelLocator.testVO.test[i] indirection for modelLocator.testVO.test1?

2008-07-29 Thread chigwell23
Thanks Josh - you were posting just as I was! --- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: Close :) You want: modelLocator.testVO.[test + i] -Josh On Tue, Jul 29, 2008 at 4:06 PM, chigwell23 [EMAIL PROTECTED] wrote: modelLocator.testVO.test1 = some

[flexcoders] pass extra params to callback?

2008-07-29 Thread chigwell23
mx:LineSeries id=mySeries lineSegmentRenderer=myLineRenderer This callback takes a LineSeriesSegment I think. What I want to do is pass more information about the chart to it, as in lineSegmentRenderer=myLineRenderer('mySeries','var1', 'var2')

[flexcoders] chart LineSeries.form=horizontal - how to tweek behaviour of horizontal?

2008-07-26 Thread chigwell23
Setting form=horizontal for a chart LineSeries e.g. mx:LineSeries id =mySeries1 form = horizontal /mx:LineSeries horizontal: Draws only the vertical line from the x-coordinate of the first point to the x-coordinate of the second point at the y-coordinate of the second point. Repeats this for

[flexcoders] Stopping the initial random date column sort on AdvancedDataGrid.

2008-05-28 Thread chigwell23
I have got the AdvancedDataGrid columns that display dates to sort correctly by putting full dates in the data (2008/01/01) and using a label function with DateFormatter for the display (MMM ). But when the grid first displays, Flex does what looks like a random ordering of the columns. How do

[flexcoders] Re: Footer for AdvancedDataGrid

2008-05-25 Thread chigwell23
Got Alex's DataFooterGrid converted to AdvancedDataGrid and working with grouped data. --- In flexcoders@yahoogroups.com, chigwell23 [EMAIL PROTECTED] wrote: Appreciate suggestions for this ... are there any updates to the earlier solutions e.g. Alex's DataFooterGrid etc? Which are excellent

[flexcoders] sort tree column of AdvancedDataGrid

2008-05-25 Thread chigwell23
In looking at all the examples of AdvancedDataGrids where the first column is the tree-folder created by hierarchical or grouped data, the sort header is non-functional. Example : Taking the Adobe Region:SouthWest example and adding Region:NorthEast, folders will not resort. Should they sort? Is

[flexcoders] Re: sort tree column of AdvancedDataGrid

2008-05-25 Thread chigwell23
, chigwell23 [EMAIL PROTECTED] wrote: In looking at all the examples of AdvancedDataGrids where the first column is the tree-folder created by hierarchical or grouped data, the sort header is non-functional. Example : Taking the Adobe Region:SouthWest example and adding Region:NorthEast, folders

[flexcoders] Footer for AdvancedDataGrid

2008-05-24 Thread chigwell23
Appreciate suggestions for this ... are there any updates to the earlier solutions e.g. Alex's DataFooterGrid etc? Which are excellent but do not seem to work with grids which need grouped data from flat sources ... I don't think the DataFooterGrid inherits enough to do this - lot of properties

[flexcoders] tab delimited to xml?

2008-05-22 Thread chigwell23
Is there actionscript somewhere that already does this or do I need to roll my own? As always, much appreciated, Regards, Mic

[flexcoders] Displaying chart legend from multiple data provider series?

2008-05-20 Thread chigwell23
Before I start merging arrays etc, wondered if there is an easier solution. mx:Legend direction=horizontal dataProvider={chart}/ What happens if data providers are chart, chart1, chart2, chart3? TIA, Mic.

[flexcoders] Re: Displaying chart legend from multiple data provider series?

2008-05-20 Thread chigwell23
Found it in LiveDocs :-) --- In flexcoders@yahoogroups.com, chigwell23 [EMAIL PROTECTED] wrote: Before I start merging arrays etc, wondered if there is an easier solution. mx:Legend direction=horizontal dataProvider={chart}/ What happens if data providers are chart, chart1, chart2

[flexcoders] chart - reference to series source array from LegendMouseEvent?

2008-05-20 Thread chigwell23
private function chartFilter(event:LegendMouseEvent):void{ if (event.item.series array that legend represents Can I click on a LegendItem and then work out which array sources the selected series? TIA, Mic.

[flexcoders] Help: sanity check - debug versus LiveDocs?

2008-05-20 Thread chigwell23
Following on from my message about retrieving the series array from the clicked LegendItem using LegendMouseEvent, a little digging put me back into the is it me or is it me? mode. I read LiveDocs, work out what is passed and then try and trap it and there is nothing there :-) Latest scenario:

[flexcoders] Close gap between HBoxes placed in VBox?

2008-05-14 Thread chigwell23
When e.g. 3 HBoxes at 100%/100% are placed within a VBox, they are separated by small gaps vertically. Is there any way to close these gaps? TIA, Mic.

[flexcoders] Re: Close gap between HBoxes placed in VBox?

2008-05-14 Thread chigwell23
: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of chigwell23 Sent: Wednesday, 14 May 2008 5:47 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Close gap between HBoxes placed in VBox? When e.g. 3 HBoxes at 100%/100% are placed within a VBox, they are separated

[flexcoders] Re: Close gap between HBoxes placed in VBox?

2008-05-14 Thread chigwell23
verticalGap=0 Regards Dale Fraser http://learncf.com/ http://learncf.com http://flexcf.com/ http://flexcf.com From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of chigwell23 Sent: Wednesday, 14 May 2008 6:22 PM To: flexcoders

[flexcoders] Cairngorm: bundling functions to complete a task?

2008-05-14 Thread chigwell23
Example: read a local shared object when user logs on, and send value from local shared object to back-end. The only example I have found of Cairngorm executing a use case of more than one function is a Cairnstore version where ValidateCreditCardCommand needs to continue with

[flexcoders] Re: Supressing drag/move of PopupManager window?

2008-05-13 Thread chigwell23
container (to keep it on top) and toggle visible and includeInLayout properties to show/hide. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of chigwell23 Sent: Thursday, May 08, 2008 5:51 AM To: flexcoders@yahoogroups.com

[flexcoders] Supressing drag/move of PopupManager window?

2008-05-08 Thread chigwell23
What is the best way to fix a Panel or TitleWindow etc in position after the PopupManager has popped it? The Drag methods and Move methods could be overridden, but I am thinking that there is an easier way? TIA, Mic.

[flexcoders] Wrap button text?

2008-05-05 Thread chigwell23
I know that some time ago there was discussion on how to wrap the text on a button, and the workarounds were rather convoluted . any advances on this one? TIA, Mic.

[flexcoders] Re: Wrap button text?

2008-05-05 Thread chigwell23
Answering myself: just found Alex Harui's MultiLineRadioButton class. --- In flexcoders@yahoogroups.com, chigwell23 [EMAIL PROTECTED] wrote: I know that some time ago there was discussion on how to wrap the text on a button, and the workarounds were rather convoluted . any advances

[flexcoders] Re: Cairngorm - always event, always command? Part2

2008-05-04 Thread chigwell23
AM, chigwell23 [EMAIL PROTECTED] wrote: Thanks Jim. With the Delegate and Responder stuff, it seems on the surface that Cairngorm is predisposed to service/backend communication solutions. Taking the example of a function that at the moment is reading Shared object data - how would

[flexcoders] Re: Cairngorm - always event, always command? Part2

2008-05-02 Thread chigwell23
. Which is sometimes a bit boring, but there you go. Hope that makes (at least some) sense! -Original Message- From: flexcoders@yahoogroups.com on behalf of chigwell23 Sent: Thu 01/05/2008 22:51 To: flexcoders@yahoogroups.com Subject: [flexcoders] Cairngorm - always event, always

[flexcoders] Cairngorm - always event, always command?

2008-05-01 Thread chigwell23
pseudocode: creationComplete var ipAddress:String ipAddress = getUserIP() function getuserIP():String{ // use Services to go out to ColdFusion which can tell me user IP return IP } But Cairngorm encapsulates actions into commands which are driven by an event and a delegate.

[flexcoders] Re: Tapping into the Cairngorm event model? Merging info from different compon

2008-04-30 Thread chigwell23
clicks the button. In the bench component, add an event listener for the userLogAttempt event. Then, in the bench's event listener method, dispatch the signonEvent; with the appropriate VO data attached. Hope that this helps, -TH --- In flexcoders@yahoogroups.com, chigwell23

[flexcoders] Tapping into the Cairngorm event model? Merging info from different components

2008-04-29 Thread chigwell23
PseudoGUI: Screen shows green fields, blue sky, yellow sun and a park bench. The fields and the sky are the main scenery mxml file gui, and both the sun and the park bench are each mxml components loaded with the standard comp:sun id=sun1 /comp:sun comp:bench id=bench1 /comp:bench bench

[flexcoders] Re: still having trouble assembling Flex property assignments from string calcs

2008-04-26 Thread chigwell23
:[EMAIL PROTECTED] On Behalf Of chigwell23 Sent: Friday, April 25, 2008 12:01 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] still having trouble assembling Flex property assignments from string calcs testSurface.fill221.color = #FF; //works testSurface.[fill + fillNo].color

[flexcoders] still having trouble assembling Flex property assignments from string calcs

2008-04-25 Thread chigwell23
testSurface.fill221.color = #FF; //works testSurface.[fill + fillNo].color = #FF // fillNo = 221 is what I would do in another life :-) ... could someone set me on the straight and narrow? TIA, Mic.

[flexcoders] How to get XML child node value with line.@ syntax?

2008-04-19 Thread chigwell23
XML Node: g style=fill: #ff path d=M-122.304/ /g for each (var line:XML in pathsXML) { var style:String = [EMAIL PROTECTED]; // style = fill: #ff var dataPath:String = [EMAIL PROTECTED]; // not correct code :-( // do stuff

[flexcoders] how to access child XML node with [EMAIL PROTECTED]

2008-04-19 Thread chigwell23
XML node: g style=fill: #ff path d=M-122/ /g for each (var line:XML in pathsXML) { var style:String = [EMAIL PROTECTED]; /* var dataPath:String = [EMAIL PROTECTED]; */

[flexcoders] how to access child XML node with [EMAIL PROTECTED]

2008-04-19 Thread chigwell23
XML node: g style=fill: #ff path d=M-122/ /g for each (var line:XML in pathsXML) { var style:String = [EMAIL PROTECTED];// works var dataPath:String = [EMAIL PROTECTED]; // Does not work :-)

[flexcoders] Apologies for repeated message on XML children ....

2008-04-19 Thread chigwell23
Machine bombed just I was sending first copy waited forever to see if it showed up on list finally decided it was lost and rewrote it. Mic.

[flexcoders] Advantages of empty Application Base State?

2008-04-17 Thread chigwell23
Several examples are coded where the Main.mxml base state is empty and there is a child state called e.g. main App (start) containing the initial gui components. (Examples are based on the Flex multi-window architectures). Does this make cleaner coding? Because one could obviously jump straight

[flexcoders] Re: Advantages of empty Application Base State?

2008-04-17 Thread chigwell23
/using_states_3.html --- In flexcoders@yahoogroups.com, chigwell23 chigwell23@ wrote: Several examples are coded where the Main.mxml base state is empty and there is a child state called e.g. main App (start) containing the initial gui components. (Examples are based on the Flex multi