[flexcoders] how to change to dot of line chart datatip

2008-06-17 Thread coder3
Hi, I made a line chart, with showDataTips="true", so it has a datatip with a dot to show the position on the chart. by default, the dot is a light color dot with a circle, but i would like to make the color darker, and remove the circle if possible, like the dots in google finance, http://financ

Re: [flexcoders] how to change to dot of line chart datatip

2008-06-19 Thread coder3
ry(components.icoontje)); > > where components.icoontje is just an image of a small custom made dot > image... > > > > > - Original Message > From: coder3 <[EMAIL PROTECTED]> > To: flexcoders@yahoogroups.com > Sent: Wednesday, June 18, 2008 1:

[flexcoders] interactive chart

2008-06-25 Thread coder3
Hi, where can i find sample and source of an interactive chart, like google finance? such as there is a upper main chart, and a lower range chart, with sliding windows. thanks C. -- View this message in context: http://www.nabble.com/interactive-chart-tp18124315p18124315.html Sent from the F

[flexcoders] ant build chart

2008-07-07 Thread coder3
Now I use ant to build my flex application on unix machine. i copied the flex sdk from my window to unix and the ant build is working except one case. if the flex contains chart, the build will fail. i guest it's because the flex sdk doesn't have the chart jar? where can i get it for the unix/l

Re: [flexcoders] ant build chart

2008-07-07 Thread coder3
the error is "Unable to resolve a class for ResourceBundle: charts." so it seems that the chart jar is missing. where can i get it? thanks C. coder3 wrote: > > > Now I use ant to build my flex application on unix machine. i copied the > flex sdk from my window to uni

[flexcoders] how to split a column in datagrid

2008-07-08 Thread coder3
ok I have a datagrid that shows, let's say, 50 rows. so it looks like: 1. 2. 3. :: 50 i want to make the datagrid as 2 sets, so it will look like: 1. 2. 3. 4. :: :: 49 50 is there a way to do it? thanks C. -- View this message in context: http://www.nabble.com/how-to-split-a-colum

[flexcoders] GroupingCollection compile error

2008-07-11 Thread coder3
Hi I added a mx:GroupingCollection to my mxml. but it gives me a compile error: Component declarations are not allowed here. (Note: visual children must implement mx.core.IUIComponent) what is it? how can i fix it? Thanks! C. -- View this message in

[flexcoders] mxmlc - Failed with return code: 255

2008-07-16 Thread coder3
Hi all, i got this error when i use mxmlc to build the flex app. what is code 255? i can't find it out. thanks! c. -- View this message in context: http://www.nabble.com/mxmlc---Failed-with-return-code%3A-255-tp18494095p18494095.html Sent from the FlexCoders mailing list archive at Nabble.co

[flexcoders] deprecated horizontalAxisRenderer

2008-08-08 Thread coder3
Hi All, i have flex2 code, and now shows warnings in flex 3 for example, ::: ::: will shows warning: 'horizontalAxisRenderer' has been deprecated. Please use 'CartesianChart.horizontalAx

Re: [flexcoders] deprecated horizontalAxisRenderer

2008-08-08 Thread coder3
not sure how to do it. is there an example? thanks Michael VanDaniker wrote: > > You have to tell your AxisRenderer which axis it should render by > setting the axis property. > > --- In flexcoders@yahoogroups.com, coder3 <[EMAIL PROTECTED]> wrote: >> >>

Re: [flexcoders] deprecated horizontalAxisRenderer

2008-08-08 Thread coder3
n for AxisRenderer: > http://livedocs.adobe.com/flex/3/langref/mx/charts/AxisRenderer.html#includeExamplesSummary > > --- In flexcoders@yahoogroups.com, coder3 <[EMAIL PROTECTED]> wrote: >> >> >> not sure how to do it. >> >> is there an example? >> >>

Re: [flexcoders] deprecated horizontalAxisRenderer

2008-08-11 Thread coder3
> If you need any more help, feel free to ask. If you can tell us when > _computedGutters becomes null, we might be able to provide some > insight as to why. > > Question for you: Was the AxisRenderer you found written for Flex 2 or 3? > > --- In flexcoders@yahoogroups.com, code

Re: [flexcoders] deprecated horizontalAxisRenderer

2008-08-11 Thread coder3
i change the "public function get gutters():Rectangle" to return _gutters in that InnerAxisRenderer.as i don't know why it was returning null before, but so far my application runs fine. thanks! c coder3 wrote: > > it is flex2, and it has no problem with flex2. > &g

[flexcoders] how to make stacking line chart in flex3

2008-08-11 Thread coder3
Hi All, is there a way to do stacking line chart in out of box flex3? i see there are stacking bar charts, is there an example for stacking line/area chart? thanks!!! C -- View this message in context: http://www.nabble.com/how-to-make-stacking-line-chart-in-flex3-tp18935738p18935738.html Se

[flexcoders] how to make stacking area chart in flex3

2008-08-11 Thread coder3
Hi, is there a way to do stacking area/line with out of box flex3. for example, i have data as: day line1 line2 1 3 2 2 4 6 i choose line1 first, the chart will be 1 area: 3-4 then i add line2, the chart will be 2 areas: line one: 3-4, line two, 5-10 i know that we can

Re: [flexcoders] how to make stacking area chart in flex3

2008-08-11 Thread coder3
I have found this regarding stacking charts, which can be helpful: http://livedocs.adobe.com/flex/3/html/help.html?content=charts_displayingdata_11.html the problem is my chart is CartesianChart, is there a way to get stacking in CartesianChart? thanks! C. coder3 wrote: > > > Hi

[flexcoders] how to change slider thumb to a vertical line

2007-11-20 Thread coder3
Hi, i am trying the change the slider thumb from that triangle to a vertical line. i know we can embed an image to thumb*skin, but is there a quick way to change it to a line only? like that slider thumb in google finance? or i have to create a image? Thanks c -- View this message in context:

[flexcoders] convert the Date to local time zone

2007-12-19 Thread coder3
Hi, there might be an another way to convert the UTC to local time zone other than the following. because this doesn't take care the daylight saving time. any suggestions? // creates a Date in local time var nextDay:Date = new Date("Mon May 1 2006 11:30:00 AM"); // converts the Date to UTC

[flexcoders] IE cache

2008-01-02 Thread coder3
Hi All, I need an auto refresh feature in my flex application, my code is like this: var timedProcess:uint = setInterval(refreshResults, 30); it works fine on firefox. but looks like there is a cache problem on IE. the refreshResults() doesn't get called.

[flexcoders] flex meter

2008-01-04 Thread coder3
Hi All, i need to implement a real time meter for my web app. does FLEX have that kind of feature? i can't find it. thanks -- View this message in context: http://www.nabble.com/flex-meter-tp14623087p14623087.html Sent from the FlexCoders mailing list archive at Nabble.com.

Re: [flexcoders] IE cache

2008-01-04 Thread coder3
h > Scott > > Scott Melby > Founder, Fast Lane Software LLC > http://www.fastlanesw.com > > > > coder3 wrote: >> >> >> Hi All, >> >> I need an auto refresh feature in my flex application, my code is like >> this: >> >> var ti

Re: [flexcoders] flex meter

2008-01-07 Thread coder3
it's cool but it costs $800?? Christophe Jolif wrote: > > Hi, > > Maybe ILOG Elixir (http://flex.ilog.com) gauges can help? > > An "under work" demo is available at: > > http://visudemos.ilog.com/webdemos/gauges/gauges.html > > ILOG Elixir is s

RE: [flexcoders] flex meter

2008-01-07 Thread coder3
is it just me? can't download the file... Alex Harui wrote: > > http://weblogs.macromedia.com/pent/archives/2004/12/gauge_component.cfm > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of c

[flexcoders] how to make numbers look digital?

2008-01-07 Thread coder3
is there a way to make a digital meter or clock? like 2 looks like: __ __| |__ 3 looks like __ __| __| that kind of thing? -- View this message in context: http://www.nabble.com/how-to-make-numbers-look-digital--tp14678941p14678941.html Sent from the FlexCoders mailing list arch

Re: [flexcoders] IE cache

2008-01-08 Thread coder3
noyances/ > > On Jan 6, 2008 5:51 PM, Scott Melby <[EMAIL PROTECTED]> wrote: > >>Did you try the max-age header? >> >> >> Scott >> >> Scott Melby >> Founder, Fast Lane Software LLChttp://www.fastlanesw.com >> >> >> &

[flexcoders] a checkbox in mx:DataGrid

2008-01-11 Thread coder3
Hi All, i am using mx:DataGrid to display a list of results. but i would like to add a checkbox in front of each item to get a list of detail reports later. how can i do it? thanks -- View this message in context: http://www.nabble.com/a-checkbox-in-mx%3ADataGrid-tp14768070p14768070.html Se

[flexcoders] dynamic VBox?

2008-01-23 Thread coder3
Hi All, I need to display a list of chart reports. the number of chart is changing depends on some searching results. if the search returns one result, one chart; if returns 8, 8 charts; my chart is a component, i would like to use a VBOX to dynamically list the charts, but i don't know to do i

[flexcoders] how to create a file and then download

2008-01-31 Thread coder3
Hi, I need to generate a file based on the current data on the page and then download it. help? the sample code i can find is to download an existing file from the same directory as the SWF document. thanks! c -- View this message in context: http://www.nabble.com/how-to-create-a-file-and-t

RE: [flexcoders] how to create a file and then download

2008-01-31 Thread coder3
filedata "this is the data you wrote to this > file" and the server simply gives you a download with that filename and > data. > > I could give you some code if I know your back end environment. > > > > Seth > > > > From: flexcoders@yahoogroups.c

RE: [flexcoders] how to create a file and then download

2008-01-31 Thread coder3
ion is and then download it? thanks -c Tracy Spratt wrote: > > Send the data to the server, generate the file there, pass back the > saved location, and download it. > > Tracy > > > > > > From: flexcoders@yahoogroups.com [mai

RE: [flexcoders] how to create a file and then download

2008-01-31 Thread coder3
side, generate the file you want to have > them download and send it. > > > > Seth > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of coder3 > Sent: Thursday, January 31, 2008 5:03 PM > To: flexcoders@yahoogroup

RE: [flexcoders] how to create a file and then download

2008-02-15 Thread coder3
> header("Pragma: public"); > > header("Expires: 0"); > > header("Cache-Control: must-revalidate, post-check=0, pre-check=0"); > > echo $_REQUEST['filedata']; > > exit(); > > > > ?> > > > >

[flexcoders] how does mx:DataGrid state work?

2008-02-20 Thread coder3
Hi All, I am trying to use "state" to change to column fields of mx:DataGrid. for example, if it's state1, i show column1, column3 only. if it's state2, i show column2, column3 only. so i made it this way: it works fine right after i change the stat

RE: [flexcoders] how does mx:DataGrid state work?

2008-02-21 Thread coder3
; > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of coder3 > Sent: Wednesday, February 20, 2008 11:26 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] how does mx:DataGrid state work? > > > > > Hi All, > > I am trying to use &q

RE: [flexcoders] how does mx:DataGrid state work?

2008-02-21 Thread coder3
yes. i think that's the case. thanks Alex Harui wrote: > > In certain cases, resetting the DP can reset the columns. > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of coder3 > Sent

[flexcoders] can flex do auto-fill for input text fields??

2008-03-04 Thread coder3
Hi, is there a way to do autofill in flex like google suggest? is there a sample somewhere? thanks!!! c. -- View this message in context: http://www.nabble.com/can-flex-do-auto-fill-for-input-text-fields---tp15838672p15838672.html Sent from the FlexCoders mailing list archive at Nabble.com.

[flexcoders] Flex 3 can save chart as image

2008-03-06 Thread coder3
Hi, I have heard that you can save the chart as image in flex3, with some built-in features, is that true? or is it pretty easy to do in flex2 too? how? -C -- View this message in context: http://www.nabble.com/Flex-3-can-save-chart-as-image-tp15885511p15885511.html Sent from the FlexCoders

Re: [flexcoders] Flex 3 can save chart as image

2008-03-06 Thread coder3
is there a sample to download chart? C coder3 wrote: > > Hi, > > I have heard that you can save the chart as image in flex3, with some > built-in features, is that true? > > or is it pretty easy to do in flex2 too? how? > > -C > -- View this message in c

[flexcoders] i create an image object, how to download it then?

2008-03-06 Thread coder3
i created an Base64Encoded Data, what do i do now?? i need to download this image to my local machine. help~~ C -- View this message in context: http://www.nabble.com/i-create-an-image-object%2C-how-to-download-it-then--tp15885946p15885946.html Sent from the FlexCoders mailing list archive at

Re: [flexcoders] Flex 3 can save chart as image

2008-03-11 Thread coder3
ch 08, 2008 3:30 AM >> *Subject:* Re: [flexcoders] Flex 3 can save chart as image >> >> Paul Andrews escreveu: >>> - Original Message - >>> From: "coder3" <[EMAIL PROTECTED]> >>> To:

Re: [flexcoders] Flex 3 can save chart as image

2008-03-11 Thread coder3
> On Tue, Mar 11, 2008 at 2:18 PM, coder3 <[EMAIL PROTECTED]> wrote: > >> >> but i do need to support IE. >> >> is there a sample of creating an image in flex and then call a >> jsp/servlet >> to show the image in a popup window? >> >> i don&

Re: [flexcoders] Flex 3 can save chart as image

2008-03-11 Thread coder3
bject to Object, or byte[] to byte[]. Help~~~ c. Josh McDonald-4 wrote: > > Use commons-codec: > > http://commons.apache.org/codec/ > > -J > > On Wed, Mar 12, 2008 at 11:10 AM, coder3 <[EMAIL PROTECTED]> wrote: > >> >> my question now is more to h

Re: [flexcoders] Flex 3 can save chart as image

2008-03-13 Thread coder3
Worked. thanks Josh McDonald-4 wrote: > > java.lang.String.getBytes() > > But we're getting off-topic. > > -J > > On Wed, Mar 12, 2008 at 12:03 PM, coder3 <[EMAIL PROTECTED]> wrote: > >> >> i don't quite understand. >> >>

[flexcoders] how to copy a DisplayObject

2008-03-20 Thread coder3
in my application, i have a and i want to make a copy of it for another panel. i can get this DataGrid object by calling: var dataGrid:DataGrid = DataGrid(container.getChildAt(0)); but when i called var displayObj : DisplayObject = DisplayObject(ObjectUtil.copy(dataGrid));

Re: [flexcoders] how to copy a DisplayObject

2008-03-20 Thread coder3
> - Original Message > From: coder3 <[EMAIL PROTECTED]> > To: flexcoders@yahoogroups.com > Sent: Thursday, March 20, 2008 8:57:43 PM > Subject: [flexcoders] how to copy a DisplayObject > > > in my application, i have a and i want to make a c

[flexcoders] how to make opaque panel border?

2008-03-24 Thread coder3
the default panel border is semi-transparent, that's why if I add 2 panels at the same position, the title of the panel will look messy. I know I can use borderStyle="solid" to make it opaque, but then i will lose the border color, which I really need. what's the solution of this? -- View this

[flexcoders] how to be authenticated from Active directory

2008-04-01 Thread coder3
Hi, how to authenticate my flex application from Active directory? C. -- View this message in context: http://www.nabble.com/how-to-be-authenticated-from-Active-directory-tp16431324p16431324.html Sent from the FlexCoders mailing list archive at Nabble.com.

[flexcoders] how to find out the undo-select item in datagrid

2008-04-01 Thread coder3
Hi All, in datagrid, if one item is selected, it's easy to find out: var item:Object = event.currentTarget.selectedItem; but now i de-select it, how to find out the deselected item??? Help! C. -- View this message in context: http://www.nabble.com/how-to-find-out-the-undo-se

RE: [flexcoders] how to find out the undo-select item in datagrid

2008-04-02 Thread coder3
i have multiple-select, and i can deselect not just the last one. Alex Harui wrote: > > You should keep track of the last selectedItem. > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of coder

[flexcoders] how to remove the shade of ApplicationControlBar

2008-05-06 Thread coder3
Hi All, the comes with a default shade. I would like to remove it but can't find out which attribute handles it. help? thanks! c. -- View this message in context: http://www.nabble.com/how-to-remove-the-shade-of-ApplicationControlBar-tp17089637p17089637.html Sent from the FlexCoders maili

Re: [flexcoders] how to remove the shade of ApplicationControlBar

2008-05-06 Thread coder3
ok, i've found it. thx. coder3 wrote: > > Hi All, > > the comes with a default shade. I would like > to remove it but can't find out which attribute handles it. > > help? > > thanks! > > c. > -- View this message in context: ht

[flexcoders] a datagrid always shows all rows?

2008-05-06 Thread coder3
Hi, Can i make my datagrid always shows all the rows? I want to datagrid height be adjusted with the rows of dataprovider. Is this possible? thx. C. -- View this message in context: http://www.nabble.com/a-datagrid-always-shows-all-rows--tp17091081p17091081.html Sent from the FlexCoders maili

[flexcoders] how to call labelfuntion when datagrid get updated

2008-05-28 Thread coder3
Hi, in my datagrid, i have a column that uses labelfuntion, it will be called when the datagrid is created. but some rows of data can be changed and the labelfuntion creates the label based on all those data, not just its own column. how can i make the labelfunction be called when the datagrid

[flexcoders] fail to use ant build

2008-06-03 Thread coder3
Hi all, i copied the flexTasks.jar to my [ant home]/lib added this following to my build.xml but when i build it, it gave me "Command not found: mxmlc" can you see if anything wrong here? i am using linux machine. -- View this message in con

[flexcoders] compile failed for chart classes

2008-06-03 Thread coder3
Hi all, i copied the flexTasks.jar to my [ant home]/lib but when i build it, it gave me errors for chart classes " Error: Type was not found or was not a compile-time constant: CartesianChart." so it doesn't organize chart classes. and they are not in flex2sdk, do i need to get another jar to c

[flexcoders] compile error: Unable to resolve a class for ResourceBundle: charts.

2008-06-04 Thread coder3
Hi All, i got this compile error while i do ant build. i have flex2sdk, and looks like i need flex charting 2 installed on my linux machine? where i can find the flex charting 2 installer? now the adobe website has flex3 all over the place. thanks C. -- View this message in context: http://ww

[flexcoders] httpservice url decode problem

2007-10-18 Thread coder3
Hi, i need to use an url that contains "/" in the parameters. like http://www.mydomain.com/eTraffic.cgi?target=%2Fed-switchports%2F100%2F1006%2F16;range=d"; result="resultHandler(event)"/> i use unescapeMultiByte to convert first and then send it. srv.url

[flexcoders] crossdomain?? no result for the mx:httpService

2007-11-01 Thread coder3
i created an application using , it works fine on my machine, but after i copy the .swf to the machine that has a web application, the swf shows no results. i tested it by creating another httpService with url "http://weblogs.macromedia.com/mchotin/index.xml";, that works fine after deployment, b

RE: [flexcoders] crossdomain?? no result for the mx:httpService

2007-11-01 Thread coder3
___ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of coder3 > Sent: Thursday, November 01, 2007 10:43 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] crossdomain?? no result for the mx:httpService > > > > > i create

[flexcoders] get submitted form data from a html page

2007-11-06 Thread coder3
I have a flex application which is controlled by a html page. the html page has a list of input data, after submitting a POST request, the flex application needs to get the form data and send a httpSerice. so my question is, how can the flex get the submitted data? thanks!!! -- View this mes

[flexcoders] how to use activate

2008-11-12 Thread coder3
Hi, I created a mxml component, in my application, i can use this component, the problem is, it will show when the application starts. but i only want to use it under certain condition. for example, in my main application if this.foo == 0, use this component, if this.foo != 0, don't use it. b

Re: [flexcoders] how to use activate

2008-11-13 Thread coder3
t; > --- In flexcoders@yahoogroups.com, coder3 <[EMAIL PROTECTED]> wrote: >> >> >> Hi, >> >> I created a mxml component, in my application, i can use this > component, the >> problem is, it will show when the application starts. >> >> but

RE: [flexcoders] how to use activate

2008-11-13 Thread coder3
{ > > myViewStack.selectedIndex = 0; > > } > > > > Or, If you have foo set up properly: > > > > > Tracy > > > > ____ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf

RE: [flexcoders] how to use activate

2008-11-13 Thread coder3
> Tracy > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of coder3 > Sent: Thursday, November 13, 2008 2:45 PM > To: flexcoders@yahoogroups.com > Subject: RE: [flexcoders] how to use activate > > > > > is t

[flexcoders] datagrid filter

2008-12-08 Thread coder3
Is there a sample to do multiple filtering? for example, i have a datagrid , i want to filter the year, 2006, 2007, 2008, 2009. if i select 2006, 2008, the datagrid shows the list for 2006 and 2008, i unselect 2006 and select 2009, the datagrid shows 2008 and 2009, thanks! -- View this mes

[flexcoders] flex date and timezone

2009-01-27 Thread coder3
Hi All i have 3 timezone strings, for example, "America/Thule", "Indian/Maldives", and "Europe/Luxembourg". is there a way to sort them from east to west? thanks!! c -- View this message in context: http://www.nabble.com/flex-date-and-timezone-tp21695609p21695609.html Sent from the FlexCoders

RE: [flexcoders] flex date and timezone

2009-01-27 Thread coder3
; > > HTH, > > Ryan > > > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On > Behalf Of coder3 > Sent: Tuesday, January 27, 2009 3:13 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] flex date and timezone > > > >

[flexcoders] DataGridColumn dataTipFunction HELP

2009-02-02 Thread coder3
Hi, I have a datagrid, the datagridColumns are dynamic, so i build the columns after i get the result. private function buildColumn(dataFieldName:String):DataGridColumn { var tempArr:Array = []; var dgc:DataGridColumn = new DataGridC

RE: [flexcoders] DataGridColumn dataTipFunction HELP

2009-02-03 Thread coder3
Return data[dataField]; > } > > Public function MyDataGridColumn() > { > dataTipFunction = dtFunction; > } > } > > From: flexcoders@yahoogroups.com [mailto:flexc

[flexcoders] multiple select in List w/o holding ctrl key?

2009-02-05 Thread coder3
Hi All, I have a mx:List that allows multipleSelection. It works. But in order to do multiple select/unselect, i need to hold the Ctrl key, otherwise, it will be single select/unselect. Is there a way to do the multiple select w/o holding the Ctrl Key? Thanks C -- View this message in contex

[flexcoders] can we create different mxml apps in different folder in flex3

2009-05-13 Thread coder3
Hi All, looks like all the mxml apps need to be under src. i know that different components can be under different folder, but can we have different individual apps in different folders? for example, if i have 10 small apps, i want them to be in one flex project, but in different folder under /

[flexcoders] absolute paths for mx:script source

2009-05-21 Thread coder3
Hi All, I wonder if there is a way to add absolute path to mx:script for example, my file is under src/app1/app1.mxml. and the as file is src/common/asfile.as is that a way to get absolute path instead of relative path? regarding adobe doc, it does support absolute paths. but it doesn't show

Re: [flexcoders] absolute paths for mx:script source

2009-05-22 Thread coder3
is there a way or a key to go to the project root directory relatively? thanks C Manish Jethani wrote: > > On Fri, May 22, 2009 at 5:32 AM, coder3 wrote: > >> I wonder if there is a way to add absolute path to mx:script >> >> for example, my file is under src

[flexcoders] how to set a layout object's height to 100%?

2009-07-08 Thread coder3
Hi All I create an object as Grid, and i need to set the height to 100%. how to do it in script? for example: var grid:Grid = new Grid(); for(..) { var gridrow:GridRow = new GridRow(); grid.addChild(gridrow); } //now how to set grid.height = 100% instead of grid.height=222??? --

[flexcoders] how to find a dynamic object in a function?

2009-08-05 Thread coder3
Hi All, This might be a simple question, but I have no clue: For example, I use mx:Repeater to create a list of radioButton, each inside a vBox, so the code is like this:

[flexcoders] how to wait for one event to finish?

2009-08-20 Thread coder3
Hi I have a module, that needs to wait for the parentApplication to finish the httpservice so that it can get the data and do some stuff. so the httpservice has a result handling function, how can the module know when to get the result? i guess i need to use eventlistener, how? thanks! c --

[flexcoders] how to wait for more than one httpserivice/remoteobject result to finish?

2009-08-20 Thread coder3
Hi my application needs to wait until two (or more) resultHandlers to get their results and use them together. for example, at application creationComplete, it calles myRO.getList1() and myRO.getList2() what can i do to make sure i get both results before i do anything el

Re: [flexcoders] how to wait for one event to finish?

2009-08-27 Thread coder3
messageEventBus.addEventListener("ParentApplicationFinish", > onParentApplicationFinish); > } > public function onParentApplicationFinish(event.Event):void { > //do what you want. > } > } > > > > --- In flexcoders@yahoogroups.com, coder

[flexcoders] how to remove extra space in datagrid header?

2009-09-14 Thread coder3
my advanceddatagrid has many columns, so space is limited. virtually, each column has enough space for the headertext, but the text is trimmed because the column reserved some extra white space. for example, if the column text is "name", the header shows: | na... | instead of | name | is t

[flexcoders] how to add one value to each array item?

2009-10-01 Thread coder3
Hi All, i have an ArrayCollection from remote object for the , now i need to add a flag(selected) to each item, what's the fastest way to do it? because the returned list is very long, so the performance is a concern. each returned item object is: ListItemObject { label:String; value:int; } ==

[flexcoders] cast/convert to a child class?

2009-10-15 Thread coder3
Hi All, I have a arrayCollection of class Pet, and i have a child class Dog extends Pet, is there a way to convert the arrayCollection of Pet to arrayCollection of Dog? -- View this message in context: http://www.nabble.com/cast-convert-to-a-child-class--tp25917283p25917283.html Sent from the

re[flexcoders] size checkbox/radioButton?

2009-10-20 Thread coder3
Hi All, I want to shrink the checkbox or radioButton but keep the size of the lable/text. i tried this: scalex/y makes the button and text smaller, so i increase the fontsize, but it seems that the label shows 80% of it. is there another way to made the checkbox smaller by using css and keep

[flexcoders] add a url/link to the datagrid datatip?

2009-10-26 Thread coder3
Hi All, I need to show a list of information for the items in the datagrid/advancedDatagrid. the output text is ok but it contains a url that needs to be displayed as a htmlLink so that when user clicks on it, the browser can goto that url. for example it's like this: " URL: www.nabble.com

Re: [flexcoders] add a url/link to the datagrid datatip?

2009-10-28 Thread coder3
super.data = value; > fieldValue = > value[DataGridListData(listData).dataField]; > > label = fieldValue; > enabled = true; > useHandCursor = true; > setStyle("color", "#FF"); &g

[flexcoders] dynamically show multiple containers?

2009-11-13 Thread coder3
HI All, There are ways to show different Flex containers, for examples, states or viewstacks. my problems, i have multiple combinations, for example, i need to show a list of cities based on a list of check boxes of states, say i have a list of AZ, CA, WA, if i select all, it shows major ci

[flexcoders] set module's stylesheet?

2009-11-13 Thread coder3
Hi All, I have a module that can be used by 2 applications. each application has its own css file as Style, how do i make the module to use the associated stylesheet? thanks! C -- View this message in context: http://old.nabble.com/set-module%27s-stylesheet--tp26346204p26346204.html Sent from

[flexcoders] alignment issue with vertical scrollbar on advanceddatagrid column

2009-11-24 Thread coder3
Hi All I created a advanceddatagrid, since the columns are depended on a returned set, i created the columns dynamically. the data of the datadrig is displayed properly at the beginning. but the problems happen after i use the scrollbar to go up and down of the report. the displayed data will al

[flexcoders] how to get an array as a part from another array?

2009-11-25 Thread coder3
Hi All, I have a ArrayCollection, it contains "id", "name", "sex", "isSenior", etc. now i only need an array of "id" through that list. what's the quickest way to get an array of "id"s if "isSenior" is true, without using a loop? thanks C -- View this message in context: http://old.nabble.co

Re: [flexcoders] how to get an array as a part from another array?

2009-11-25 Thread coder3
]); > > > var seniors:Array = > ac.toArray().filter(seniorsOnly); > > > > > > > > --- In flexcoders@yahoogroups.com, "turbo_vb" wrote: >>

Re: [flexcoders] how to get an array as a part from another array?

2009-11-25 Thread coder3
l looping; behind the scenes. > > -TH > > --- In flexcoders@yahoogroups.com, coder3 wrote: >> >> >> by using a filter funtion can return you the array with isSenior==true; >> >> but i need an arry of id's only. >> in this case, >&

re[flexcoders] move an "empty" row in datagrid

2010-02-10 Thread coder3
Hi All, For example i have a datagrid of student info. student name, class, payment, ... if a row contains only student name, other columns data is empty, i don't want to show this row. How can i do it? thanks C. -- View this message in context: http://old.nabble.com/remove-an-%22empty%22

[flexcoders] how to filter our a column in datagrid?

2010-07-01 Thread coder3
Hi it's a little complicated. i have a datagrid with student info: name | class | grade what i want is, if the row has no class and grade data, i want to remove this row from the datagrade. I don't want to change the object in the datagrid dataprovider array, because the array needs to be us

[flexcoders] mx:ComboBox - show dropdown by default

2010-07-16 Thread coder3
Hi. I have a comboBox. how do i control the dropdown display without clicking it? for example, if i check a checkbox, i want the comboBox show the list. Thanks C. -- View this message in context: http://old.nabble.com/mx%3AComboBox---show-dropdown-by-default-tp29188848p29188848.html Sent from

[flexcoders] how to disable the rest of application when one combo box is open

2010-08-17 Thread coder3
Hi I have a combo box, if it's open, user needs to make a selection to close it. so, if nothing is selected, the combo box will keep opening. my question is, when the combo box is open, i want to disable the rest of the application, how do i do it? thanks C -- View this message in context:

[flexcoders] can flex app send a flag/text back to the wrapper html

2010-09-08 Thread coder3
Hi all, I have a flex app. and of course there is a standard html that launchs this .swf. now what i want is, if the flex app (swf) has an error, it can send a boolean/text/exception back to the html, so that the html can call some javascript to do something. how to do this?? thanks C -- Vie

[flexcoders] can flex app send a flag/text back to the wrapper html?

2010-09-08 Thread coder3
Hi all, I have a flex app. and of course there is a standard html that launchs this .swf. now what i want is, if the flex app (swf) has an error, it can send a boolean/text/exception back to the html, so that the html can call some javascript to do something. how to do this?? thanks C -- Vie