[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. "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 each data point. I want to adjust the x-coordinate starti

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

2008-07-28 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

[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 2

[flexcoders] pass extra params to callback?

2008-07-29 Thread chigwell23
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')" and I expected this error: Initializer for 'lineSegmentRenderer': cannot parse value of type mx.core.IFactor

[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] Re: Can we subclass Application yet?

2008-07-31 Thread chigwell23
ote: > > You can certainly 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

[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:

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

2008-07-31 Thread chigwell23
development > http://pogopixels.com > > > > - Original 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 ca

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

2008-07-31 Thread chigwell23
> > On Thu, Jul 31, 2008 at 7:26 PM, 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 > > orde

[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
won't be able to expose 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@y

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

2008-07-31 Thread chigwell23
zzx00_99 <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > wrote: > > If you need to override functions in framework components that are > private (or what have you), why not just copy all of the code from > that component and make your own? Sure, future functionality mi

[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 wrote: > > --- In flexcoders@yahoogroups.com, "Josh McDonald" wrote: > > > > Not sure I follow what you want, but could you manipulate a view of > your > > data, rather than having to mess about with charti

[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 in

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

2008-04-17 Thread chigwell23
d in the new state." > http://livedocs.adobe.com/flex/3/html/using_states_3.html > > --- In flexcoders@yahoogroups.com, "chigwell23" > wrote: > > > > Several examples are coded where the Main.mxml base state is empty > and > > there is a child stat

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

2008-04-19 Thread chigwell23
XML Node: 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: for each (var line:XML in pathsXML) { var style:String = [EMAIL PROTECTED]; /* var dataPath:String = [EMAIL PROTECTED]; */ var dataPath:String = [EMAIL PROTECT

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

2008-04-19 Thread chigwell23
XML node: for each (var line:XML in pathsXML) { var style:String = [EMAIL PROTECTED];// works var dataPath:String = [EMAIL PROTECTED]; // Does not work :-) // split pairs

[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] 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] Re: still having trouble assembling Flex property assignments from string calcs

2008-04-26 Thread chigwell23
tring calcs > > > > You don't have quotes around #FF. > > > > It would help if you tell us what problem occurs when you do this. > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of chigwell23 > Sent: Friday

[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 bench contains the username and password entry fields sun contains t

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

2008-04-30 Thread chigwell23
stener 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, "chigwel

[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: Cairngorm - always event, always command? Part2

2008-05-02 Thread chigwell23
come back and bitten me on the arse. > I do still do it when I'm in experimental/creative or lazy mode, but now I'll try to refactor it into the cairngorm way sooner rather than later. > Which is sometimes a bit boring, but there you go. > > Hope that makes (at least some) sense! &

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

2008-05-04 Thread chigwell23
f you just want to add 1 + 1, try Googling on 'AbacusCommand' hehe! > > DK > > On Fri, May 2, 2008 at 3:55 AM, chigwell23 <[EMAIL PROTECTED]> wrote: > > > Thanks Jim. With the Delegate and Responder stuff, it seems on the > > surface that Cairngorm i

[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 we

[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] Re: Supressing drag/move of PopupManager window?

2008-05-12 Thread chigwell23
of PopupManager window? > > > > One solution would be to not use popupManager, but declare it at the end > of an absolute layout container (to keep it on top) and toggle visible > and includeInLayout properties to show/hide. > > > > Tracy > > > &g

[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
//learncf.com > > <http://flexcf.com/> http://flexcf.com > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of chigwell23 > Sent: Wednesday, 14 May 2008 5:47 PM > To: flexcoders@yahoogroups.com > Subject: [flexcod

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

2008-05-14 Thread chigwell23
t; wrote: > > On the VBOX > > > > verticalGap="0" > > > > Regards > > Dale Fraser > > <http://learncf.com/> http://learncf.com > > <http://flexcf.com/> http://flexcf.com > > > > > > From: flexcod

[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 CompletePurchaseComman

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

2008-05-19 Thread chigwell23
Before I start merging arrays etc, wondered if there is an easier solution. What happens if data providers are chart, chart1, chart2, chart3? TIA, Mic.

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

2008-05-19 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. > > > > What happens if data providers are chart, chart1, chart2, chart3? > > TIA, > > Mic. >

[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] 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] 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 not

[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&#

[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 th

[flexcoders] Re: sort "tree" column of AdvancedDataGrid

2008-05-25 Thread chigwell23
Bizarre - just found an example from the Cookbook (adg9:the Planets example) where the first tree folder column does sort - code is no different - only variation is that the array is defined from - not sure why that might make the difference? --- In flexcoders@yahoogroups.com, "chigw

[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

[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 autoflu

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

2009-08-26 Thread chigwell23
x27;t assign values to the so until the user clicks the save prefs. > > > > Tracy Spratt, > > Lariat Services, development services available > > _ > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On > Behalf Of chigwell23 &g

[flexcoders] Apply filterFunction to datagrid XMLListCollection dataprovider question

2009-08-26 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 ... .. . . et

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

2009-08-27 Thread chigwell23
ratt, > > Lariat Services, development services 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: [flexcode

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

2009-08-27 Thread chigwell23
s. > > > > I am pretty sure you are not getting the entire dataProvider in the > function. Do the trace. > > > > Tracy Spratt, > > Lariat Services, development services available > > _ > > From: flexcoders@yahoogroups.com [mailto:flexcod

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

2009-08-27 Thread chigwell23
t; Tracy Spratt, > > Lariat Services, 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: [flexc

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

2009-08-28 Thread chigwell23
> > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] 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 > > >

[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] Re: Apply filterFunction to datagrid XMLListCollection dataprovider question

2009-09-01 Thread chigwell23
MLListCollection and use that as the data > provider. > > > > Tracy Spratt, > > Lariat Services, development services available > > _ > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On > Behalf Of chigwell23 > Sent: Friday,

[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 implementat

[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
, "chigwell23" 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 > mg

[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 1

[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" wrote: > > Found exactly what I need in this amazing component, which is basicall