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
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.
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
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
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
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.
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
First question is whether I can pass actual parameters to a callback
in the first place? This is what I need to do:
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
>
> 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
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
{
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
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
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
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
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
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
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
XML node:
for each (var line:XML in pathsXML)
{
var style:String = [EMAIL PROTECTED];
/* var dataPath:String = [EMAIL
PROTECTED]; */
var dataPath:String = [EMAIL PROTECT
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
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.
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.
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
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
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
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.
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!
&
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
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.
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
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.
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
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.
//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
t; wrote:
>
> On the VBOX
>
>
>
> verticalGap="0"
>
>
>
> Regards
>
> Dale Fraser
>
> <http://learncf.com/> http://learncf.com
>
> <http://flexcf.com/> http://flexcf.com
>
>
>
>
>
> From: flexcod
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
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.
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.
>
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.
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:
Is there actionscript somewhere that already does this or do I need to
roll my own? As always, much appreciated,
Regards,
Mic
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
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
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
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
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
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
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
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
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
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
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
>
> 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
>
>
>
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.
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,
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
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
, "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
Is there anyway to get the first hierarchical column of the OLAPDataGrid to
display node icons and expand/collapse a la ADG? TIA,
Mic.
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
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
61 matches
Mail list logo