[flexcoders] Flex / Data / Create Application from Database - Can this also work as a module?

2008-10-10 Thread sailorsea21
Hi, I had a question, When I create an application from a Database (Flex / Data / Create Application from Database). Can I modify the code to convert it into a module? I have a main application that I would like to load the Database as a module. I tried replacing the mx:Application Tags to

[flexcoders] Re: Flex / Data / Create Application from Database - Can this also work as a module?

2008-10-10 Thread sailorsea21
my iPhone On Oct 10, 2008, at 8:41 AM, sailorsea21 [EMAIL PROTECTED] wrote: Hi, I had a question, When I create an application from a Database (Flex / Data / Create Application from Database). Can I modify the code to convert it into a module? I have a main application that I

[flexcoders] Preventing Modules from being Cached???

2008-10-10 Thread sailorsea21
How can I prevent a module from being cached? Thanks.

[flexcoders] Loading, unloading and then re-loading a module with a chart populated from a My

2008-10-10 Thread sailorsea21
Hi everyone, I can find a solution to my problem... Loading, unloading and then re-loading a module with a chart populated from a MySQL database gives me this error: TypeError: Error #1034: Type Coercion failed: cannot convert mx.managers::[EMAIL PROTECTED] to mx.managers.IDragManager.

[flexcoders] How can I create a dynamic button that adds a new panel in my mx:Tile?

2008-10-14 Thread sailorsea21
Hello everyone, How can I create a dynamic button that adds a new panel or canvas in my mx:Tile/mx:Tile everytime I click it? Thanks!

[flexcoders] Internet Explorer bug? Automatic updating of chart works in Firefox not in IE...

2008-10-15 Thread sailorsea21
Hi everyone. I have a chart that is populated from a MySQL database via PHPXML. The chart is automatically updated every 30 seconds. This works perfectly in Firefox but in Internet Explorer it never updates Here is my script, hope this can help: mx:Script ![CDATA[

[flexcoders] sailorsea21 - How can I add the progress loading box when I load a module?

2008-10-16 Thread sailorsea21
Hi everyone, how can I add the progress loading box when I load a module? Is it an automated thing with flex or must I code it? Thanks. :)

[flexcoders] sailorsea21 - RemoveChild question.

2008-10-16 Thread sailorsea21
Hi, I have a Tile in my application: mx:Tile width=100% height=100% id=tiletest/ I also have a linkbutton that loads moduleloaders in mx:Tile: mx:LinkButton label=Load click=loadmodule() buttonMode=true/ mx:Script

[flexcoders] Re: sailorsea21 - RemoveChild question.

2008-10-16 Thread sailorsea21
Hi Tracy, thank you for your quick response. I'm a little stuck on this one... I can't get it to work... I'm now able to load a module and unload it. But if I load several modules, I'm only able to unload the latest one. When I try unloading the other loaded modules I receive the follow

[flexcoders] Re: sailorsea21 - RemoveChild question.

2008-10-17 Thread sailorsea21
. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sailorsea21 Sent: Thursday, October 16, 2008 4:38 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: sailorsea21 - RemoveChild question. Hi Tracy

[flexcoders] Re: sailorsea21 - RemoveChild question.

2008-10-17 Thread sailorsea21
]); tiletest.removeChild(event.target); }// onClickUnload Try this. it is untested. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sailorsea21 Sent: Friday, October 17, 2008 11:45 AM To: flexcoders

[flexcoders] Re: sailorsea21 - RemoveChild question.

2008-10-17 Thread sailorsea21
] at content_module_template_blank/unloadclick() [C:\Inetpub\wwwroot\LWY\UI\UI Score\UI Score 004 \src\content_module_template_blank.mxml:39] Thanks. --- In flexcoders@yahoogroups.com, Paul Andrews [EMAIL PROTECTED] wrote: - Original Message - From: sailorsea21 [EMAIL PROTECTED] To: flexcoders

[flexcoders] Re: sailorsea21 - RemoveChild question.

2008-10-17 Thread sailorsea21
to keep references to the Vbox instead, and remove that. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sailorsea21 Sent: Friday, October 17, 2008 3:21 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re

[flexcoders] Re: sailorsea21 - RemoveChild question.

2008-10-20 Thread sailorsea21
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sailorsea21 Sent: Friday, October 17, 2008 3:21 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: sailorsea21 - RemoveChild question. Thanks Paul, that fixed

[flexcoders] Re: sailorsea21 - RemoveChild question.

2008-10-20 Thread sailorsea21
. You now need to keep references to the Vbox instead, and remove that. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sailorsea21 Sent: Friday, October 17, 2008 3:21 PM To: flexcoders@yahoogroups.com Subject

[flexcoders] Re: sailorsea21 - RemoveChild question.

2008-10-21 Thread sailorsea21
Hi Tracy, These are the errors I received in the debug: _aChildren[iIndexClicked] = errors during evaluation No such variable: undefined but the _aChildren variable is set as follows: private var _aChildren:Array=[]; and the iIndexClicked variable is set as

[flexcoders] Re: sailorsea21 - RemoveChild question.

2008-10-21 Thread sailorsea21
I got it working! Thanks Tracy. I removed the following line: modulestile.removeChild(DisplayObject(event.target)); I removed the following id: main_vbox.id = String(NewVbox); and assigned it to the unload button Thanks for all your help :) --- In flexcoders@yahoogroups.com, Tracy Spratt

[flexcoders] sailorsea21 - Does anyone know why this code works with Firefox but not with IE?

2008-10-22 Thread sailorsea21
Hey everyone, I populate my chart from a MySQL database. My php script retrieves the data and then converts it into XML for my flex chart. I needed to have the chart refreshed every 30sec without refreshing the entire page. I got a script working perfectly for Firefox. Every 30sec the chart

[flexcoders] Re: sailorsea21 - Does anyone know why this code works with Firefox but not with IE?

2008-10-22 Thread sailorsea21
I'm using POST and a unique string for the url. See below. [Bindable] private var HTTPService_url:String = company.php?ForceIEReloadms= + new Date().getTime(); mx:HTTPService url={HTTPService_url} method=POST id=data resultFormat=e4x result=xmlResultHandler(event);

[flexcoders] Re: sailorsea21 - Does anyone know why this code works with Firefox but not with IE?

2008-10-23 Thread sailorsea21
This worked! Thank you very much. :) -David --- In flexcoders@yahoogroups.com, SAAGAR SHETTY [EMAIL PROTECTED] wrote: Hi, Since you are using private var HTTPService_ url:String = company.php? ForceIEReload ms= + new Date().getTime( ); at the start of your code, it is being

[flexcoders] sailorsea21 - Is it possible to use a value from a variable as a Timer value?

2008-10-27 Thread sailorsea21
Hey everyone, I have a value of 3 stored in a MySQL database. I call this value and import it in flex via HTTPService (PHP XML): mx:HTTPService url=value.php method=POST id=rate useProxy=false result=getRate(event)/ I now have a timer: var myTimer:Timer = new Timer(3); Can I

[flexcoders] Re: sailorsea21 - Is it possible to use a value from a variable as a Timer value?

2008-10-27 Thread sailorsea21
that the variable is getting populated with the correct value and that the timer is being created after the getRate function completes. -Mike Chabot On Mon, Oct 27, 2008 at 4:11 PM, sailorsea21 [EMAIL PROTECTED] wrote: Hey everyone, I have a value of 3 stored in a MySQL database. I call

[flexcoders] How can I stop my HTTPService?

2008-11-03 Thread sailorsea21
Hi everyone, I have an HTTPService that I load in a module. When I unload the module the HTTPService keeps working... This is my HTTPService: mx:HTTPService url=test.php method=POST id=rate useProxy=false result=getRate(event) fault=FaultHandler() showBusyCursor=true/ I start my HTTPService

[flexcoders] Re: How can I stop my HTTPService?

2008-11-03 Thread sailorsea21
It doesn't seem to work... When I try to reload my module and re- establish my HTTPService, it never connects... ? The cursor is always busy... Thanks. --- In flexcoders@yahoogroups.com, florian.salihovic [EMAIL PROTECTED] wrote: How about the cancel method of HTTPService? Best regards.

[flexcoders] sailorsea21 - How to stop a timer that is in a private function?

2008-11-06 Thread sailorsea21
Hi everyone, I have the following timer: private function initTimer():void { var myTimer:Timer = new Timer(3); myTimer.addEventListener(TimerEvent.TIMER, updateData); myTimer.start(); } How can I stop the following timer? Can it be stopped using another function? Thanks. -David

[flexcoders] Re: sailorsea21 - How to stop a timer that is in a private function?

2008-11-06 Thread sailorsea21
Is the reference global? My reference myTimer cannot be access from another function... Can you clarify? Thanks. --- In flexcoders@yahoogroups.com, Gregor Kiddie [EMAIL PROTECTED] wrote: The target property in the TimerEvent when it fires contains a reference to the Timer Object that you

[flexcoders] sailorsea21 - How can I add the % symbol on my vertical axis in my chart?

2008-11-07 Thread sailorsea21
Hello everyone, How can I add the % symbol on my vertical axis after my value? mx:LinearAxis id=percent interval=10/ mx:LineSeries verticalAxis={percent} yField=test showDataEffect=interpolate/ Thanks -David

[flexcoders] ss - Is it possible to display all my series in my chart but not in my legend?

2008-11-07 Thread sailorsea21
Hi everyone, is it possible to display all my series in my chart but not in my legend? Thanks.

[flexcoders] sailorsea21 - How can I modify the value in my ColumnSeries datatip.

2008-11-10 Thread sailorsea21
Hi everyone, I have a multiple series graph: ColumnSeries and LineSeries. How can I modify the value displayed in my ColumnSeries datatip? The value is a numeric value like 20465. I would like to apply a numberFormatter to the value displayed in the ColumnSeries datatip without affecting the

[flexcoders] sailorsea - Several buttons targeting different panels with 1 function?

2008-11-10 Thread sailorsea21
Hello everyone, I have several panels. They each have a print and a save button. Is it possible to have only one function to target the panel from the buttons? Here's my code: private function print(event:MouseEvent):void { var Printbutton:FlexPrintJob = new FlexPrintJob(); var

[flexcoders] Re: sailorsea21 - How can I modify the value in my ColumnSeries datatip.

2008-11-10 Thread sailorsea21
. -David --- In flexcoders@yahoogroups.com, Amy [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, sailorsea21 sailorsea21@ wrote: Hi everyone, I have a multiple series graph: ColumnSeries and LineSeries. How can I modify the value displayed in my ColumnSeries datatip? The value

[flexcoders] sailorsea21 - How can I replace certain values in my array with my HTTPService?

2008-11-11 Thread sailorsea21
Hi everyone, I have 2 HTTPServices that populate my array: [Bindable] public var ArrayStats:ArrayCollection = new ArrayCollection; [Bindable] private var XMLStats:XML; private function get(event:ResultEvent):void { XMLStats = event.result as XML; for each(var ourxml:XML in XMLStats.elements() )

[flexcoders] Re: sailorsea21 - How can I modify the value in my ColumnSeries datatip.

2008-11-11 Thread sailorsea21
} else { ...your lineSeries code here } -Eddie --- In flexcoders@yahoogroups.com, Amy amyblankenship@ wrote: --- In flexcoders@yahoogroups.com, sailorsea21 sailorsea21@ wrote: Hi Amy, My graph is a multiple series (Column and Line). I successfully modified the column series

[flexcoders] sailorsea21 - showDataEffect disables my itemRenderer on my LineSeries...

2008-11-12 Thread sailorsea21
Hi everyone, when I add a showDataEffect on my LineSeries, my itemRenderer on my LineSeries is no longer visible. Here's my code: mx:SeriesInterpolate id=seriesInterpolate duration=1000 / mx:LineSeries showDataEffect={seriesInterpolate} itemRenderer=mx.charts.renderers.BoxItemRenderer

[flexcoders] If I have 2 panels, each with their own print buttons, can I have one function?

2008-11-13 Thread sailorsea21
Hello everyone, if I have 2 panels, each with their print buttons, can I simply have 1 function for both buttons? This way, if I have 15 panels, I can only use one function for all the print buttons instead of 15... This is my simplified script: private function print(event:MouseEvent):void {

[flexcoders] Re: If I have 2 panels, each with their own print buttons, can I have one function?

2008-11-13 Thread sailorsea21
Hi Gregor, are there any examples? How can I go about it? Thanks again. --- In flexcoders@yahoogroups.com, Gregor Kiddie [EMAIL PROTECTED] wrote: yes Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London

[flexcoders] Re: If I have 2 panels, each with their own print buttons, can I have one function?

2008-11-13 Thread sailorsea21
Printbutton. addObject(event.Target. ???); How do I target the panels? I would like each button to target their panel using the same function... Thanks. private function print(event: MouseEvent) :void { var Printbutton: FlexPrintJob = new FlexPrintJob( ); var printConfirmed: Boolean =

[flexcoders] Re: If I have 2 panels, each with their own print buttons, can I have one function?

2008-11-13 Thread sailorsea21
This worked! Thanks again :) --- In flexcoders@yahoogroups.com, Gregor Kiddie [EMAIL PROTECTED] wrote: Something like... ((Its been a while since I looked at the printing stuff, but this should give you a head start)) private function print(comp: UIComponent) :void { var

[flexcoders] Why does seriesInterpolate disables my CircleItemRenderer in my LineSeries...?

2008-11-13 Thread sailorsea21
Hi everyone, I have a ColumnChart with 2 ColumnSeries and 2 LineSeries. My LineSeries look like this: mx:LineSeries itemRenderer=mx.charts.renderers.CircleItemRenderer yField=test/ Everything works ok until I add an Interpolate effect to my 4 series. My LineSeries now look like this:

[flexcoders] How can I directly access the yField data?

2008-11-13 Thread sailorsea21
Is there a way to simplify the script below without using the if / else if? How can I directly access the yField data? If I type: value = event.item.yField; I get nothing insead of the data in my xml... private function myDataTipFunction(event:HitData):String { var value:String;

[flexcoders] How can I get my CircleItemRenderer to work with SeriesInterpolate?

2008-11-14 Thread sailorsea21
Hi everyone, how can I get my CircleItemRenderer to work with my interpolate on a LineSeries??? If I remove the Interpolate, the ItemRenderer works fine but when I add the Interpolate, the itemRenderer disapears??? Do I need to import anything to make this work??? (import mx.charts...) This

[flexcoders] How do I add a Progress bar to show the render to JPG progress?

2008-11-17 Thread sailorsea21
Hi everyone, I have a button which renders my component to JPG. How can I attach a progress bar to show the progress of the rendering? mx:Button label=render click=renderasJPEG()/ public function renderasJPEG():void { convertToImage(component001, new JPEGEncoder(100));

[flexcoders] How can I add a Progress bar to show the render to JPG progress?

2008-11-18 Thread sailorsea21
Hi everyone, I have a button which renders my component to JPG. How can I attach a progress bar to show the progress of the rendering? mx:Button label=render click=renderasJPEG ()/ public function renderasJPEG( ):void { convertToImage( component001, new JPEGEncoder( 100)); } private function

[flexcoders] Why aren't my .as files included when I build my project?

2008-11-19 Thread sailorsea21
Hi everyone, why are my .as files being excluded when I build my project? Thanks.

[flexcoders] Re: Why aren't my .as files included when I build my project?

2008-11-19 Thread sailorsea21
I'm working with Flex Buildre 3. All my .as files are in a folder called as. I link to them as follows: mx:Script source=as/myfile.as/ Here is the file: ?xml version=1.0 encoding=UTF-8? actionScriptProperties mainApplicationPath=uiscores.mxml version=3 compiler

[flexcoders] Re: Why aren't my .as files included when I build my project?

2008-11-19 Thread sailorsea21
Hi Tracy, I innitially had all my actionscript embedded in my mxml. I decided to clean up the file and put the actionscript in an .as file in a folder called as. After I build my application, the as folder and the .as files are not copied in my bin-debug folder therefore when I run the app, it

[flexcoders] Re: Why aren't my .as files included when I build my project?

2008-11-19 Thread sailorsea21
Thanks Tracy, the problem was not my .as file... For some reason, ie was not showing me any errors, the app was simply not working so I figured that it was not loading my .as files... I tested in firefox and received an error. I was able to fix the bug. Thanks for the help! :) --- In

[flexcoders] Memory Leaks... Cumulative Memory and Memory.

2008-11-19 Thread sailorsea21
Hi everyone, I think I'm having some issues with memory leaks. The memory of my Cumulative Memory and of my Memory keep increasing. When I unload modules, the memory doesn't drop and if I reload the modules, the memory keeps climbing... When I use the import command (ie:import

[flexcoders] How can I place my labels in my column chart vertically?

2008-11-20 Thread sailorsea21
Hi everyone, how can I place my label on my column chart series vertically? Thanks! -David

[flexcoders] I set my column labels vertically but now my vertical axis labels disappeared?

2008-11-20 Thread sailorsea21
I was able to set my column labels vertically but now my vertical axis labels disappeared... How can I fix this issue? Thanks.

[flexcoders] Re: How can I place my labels in my column chart vertically?

2008-11-21 Thread sailorsea21
Hi everyone, I'm actually talking about the labels for my ColumnSeries. I got something visually working but it doesn't always display the correct data. The data in my Column DataTips are precise but the data from my ColumnSeries Labels aren't always precise This is what I did: On my

[flexcoders] I can't get my ColumnSeries labels to display the correct data...

2008-11-21 Thread sailorsea21
Hey everyone, I can't get my ColumnSeries labels to display the correct data... My DataTips always display the correct data but some labels in my ColumnSeries are (at times or always) wrong... Can anyone help me out with this? Thanks. -David

[flexcoders] Can I use a nested XML element as a dataprovider for my pie chart?

2008-11-24 Thread sailorsea21
Hi everyone, can I use a nested XML element as a dataprovider for my pie chart? I have the following XML file: ?xml version='1.0' encoding='UTF-8' ? data result test001464/test001 test002425/test002 test00326/test003 test00463/test004 test0054573/test005 subresult

[flexcoders] Sailorsea21 - Can I use a nested XML node as a dataprovider for my pie chart?

2008-11-25 Thread sailorsea21
Hi everyone, can I use a nested XML node as a dataprovider for my pie chart? I have the following XML file: ?xml version='1.0' encoding='UTF- 8' ? data result test001464 /test001 test002425 /test002 test00326 /test003 test00463 /test004 test0054573 /test005 subresult answerYes /answer

[flexcoders] How can I force the labels on my ColumSeries to remain vertical?

2008-11-26 Thread sailorsea21
Hi everyone, How can I force the labels on my ColumSeries to always remain vertical? At the moment, if the labels are short enough, they will remain horizontal. This is what I have in my code: mx:ColumnChart showLabelVertically=true ... mx:ColumnSeries labelPosition=outside ... This is what I

[flexcoders] Is there a way to include MXML inside another MXML like PHP include ?

2008-11-28 Thread sailorsea21
Is there a way to include MXML inside another MXML like PHP include ? Thanks.

[flexcoders] Re: Is there a way to include MXML inside another MXML like PHP include ?

2008-11-28 Thread sailorsea21
www.xoriant.com From: sailorsea21 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, 28 November, 2008 7:56:30 PM Subject: [flexcoders] Is there a way to include MXML inside another MXML like PHP include ? Is there a way to include MXML

[flexcoders] sailorsea21 - is there an include command in Flex that acts likes PHP include?

2008-11-28 Thread sailorsea21
Hi everyone, I would like to clean up my main mxml file since it's getting farely big. Is there an include command that will allow me to split up my MXML code in several MXML files. Something like the PHP INCLUDE command? Thanks.

[flexcoders] Flex 3 - Export to Microsoft Excel?

2008-12-01 Thread sailorsea21
Hi everyone, is it possible to export to Excel? If I have a chart or a datagrid, is it possible to export it to Microsoft Excel? Thanks. -David.

[flexcoders] How can I display the ID of my HTTPService in my FaultEvent?

2008-12-03 Thread sailorsea21
Hi everyone, how can I display the ID of my HTTPService in my FaultEvent? The following script doesn't work and I can't understand why. private function get_fault(event:FaultEvent):void { mx.controls.Alert.show(event.currentTarget.id + ., event.fault.faultString + :);

[flexcoders] Copy multiple datagrids to the clipboard...

2008-12-03 Thread sailorsea21
Hi everyone, I have a script that copies data from a datagrid to a clipboard and I can then paste it in Excel. How can I modify this script if I would like to copy data from 2 or more datagrids??? Here's the script: mx:Button label=Copy It click=copyDataGrid(thedataGrid)/ public function

[flexcoders] Sailorsea21 - Animated pie chart still displays old data when updated???

2009-01-29 Thread sailorsea21
Hi everyone, I created an animated pie chart that is divided into 3 segments. mx:PieChart dataProvider={test} mx:series mx:PieSeries labelPosition=outside nameField=name field=field mx:showDataEffect mx:SeriesInterpolate/ /mx:showDataEffect /mx:PieSeries

[flexcoders] PIE - Animated pie chart still displays old data when updated???

2009-01-30 Thread sailorsea21
Hi everyone, I created an animated pie chart that is divided into 3 segments. mx:PieChart dataProvider= {test} mx:series mx:PieSeries labelPosition= outside nameField=name field=field mx:showDataEffect mx:SeriesInterpola te/ /mx:showDataEffect /mx:PieSeries /mx:series /mx:PieChart The pie

[flexcoders] RERENDER - Is there a way to force a canvas to re-render/refresh?

2009-02-02 Thread sailorsea21
Hi everyone, is there a way to force a canvas to rerender/refresh? Thanks. David

[flexcoders] XML - What var type can I use for my XML nodes?

2009-02-05 Thread sailorsea21
Hi everyone, I have the following: mx:XML id=testID format=e4x source=xml/test.xml/ mx:Text text={testID.result.(@now=='today').date}/ What var type can I use for testID.result.(@now=='today') to simply my text string? I would like to have the following: [Bindable] public var xmlvar:String =

[flexcoders] ACCORDION - How can I switch my cursor to a pointer?

2009-02-06 Thread sailorsea21
Hi everyone, how can I switch my cursor to a hand pointer when it goes over the accordion header? Thanks. -David.

[flexcoders] ArrayCollection DataProvider question.

2009-02-10 Thread sailorsea21
I loaded the following xml as an ArrayCollection. data result id=1 datetoday/date yes13154/yes no654321/no /result result id=1 dateyesterday/date yes21354/yes no5468432/no /result result id=2 datetoday/date yes2665/yes

[flexcoders] DYNAMIC LINKBUTTONS styleNames.

2009-02-13 Thread sailorsea21
I have a series of 3 linkButtons. I am able to switch the styleName of a linkButton when I click on it as follows: [Bindable] private var linkButton:String = 'linkButton'; [Bindable] private var linkButtonOff:String = 'linkButtonOff'; mx:LinkButton id=test001 label=001 styleName={linkButton}

[flexcoders] DYNAMIC actionscript child layout.

2009-02-15 Thread sailorsea21
Hi everyone, when I create my layout with mxml components, my layout is dynamic. If I resize my browser window, my components are also resized. How can I achieve this in actionscript using addChild??? var Layout:Canvas = new Canvas(); graphLayout.width=testlayout.width/2;

[flexcoders] How can I format the text in my custom labelFunction?

2009-03-11 Thread sailorsea21
Hi everyone, how can I format the text in my custom labelFunction (bold, center, color...) CategoryAxis: labelFunction=test_labelFunc. private function test_labelFunc(item:String,previousItem:Object,axis:CategoryAxis,labelItem:XML):String { var labelArray:Array = item.split('?'); return

[flexcoders] HOW can I convert a string into a DataGridColumn ?

2009-03-26 Thread sailorsea21
Hi everyone, I have the folowing script that adds the % symbol: public function dataGridPercent(item:Object, column:DataGridColumn):String { var str:String = item[column.dataField]; return str + %; } This works fine but it breaks my export to excel script. I'm thinking because

[flexcoders] horizontalAxisRenderer VS horizontalAxisRenderers?

2009-03-27 Thread sailorsea21
Hi everyone, I have the following script: var columnChart:ColumnChart = new ColumnChart(); var axisVRenderer:AxisRenderer = new AxisRenderer(); axisVRenderer.placement = left; axisVRenderer.axis = int_20;

[flexcoders] SeriesInterpolate in actionscript ColumnChart?

2009-03-27 Thread sailorsea21
Hi everyone, I'm trying to set a SeriesInterpolate for my ColumnSeries, this is my code: var columnChart:ColumnChart = new ColumnChart(); (...) var action:SeriesInterpolate= new SeriesInterpolate(); action.duration = 1000; action.minimumElementDuration =

[flexcoders] How can I add a SeriesInterpolate effect with actionscript to my PieChart?

2009-03-30 Thread sailorsea21
MXML: mx:SeriesInterpolate id=action duration=1000 minimumElementDuration=200/ ACTIONSCRIPT: var pie:PieSeries = new PieSeries(); pie.setStyle(showDataEffect,action); Does anyone know why the following doesn't animate my chart? Thanks.

[flexcoders] PieChart Legend Label???

2009-03-30 Thread sailorsea21
Hi everyone, with a ColumnChart, I can set my custom Legend name by setting the displayName attribute in my ColumnSeries. How can I set a custom name to my PieChart Legend Label?? Thanks.

[flexcoders] How can I call a function from a class?

2009-04-06 Thread sailorsea21
Hi everyone, How can I call a function from a class? // MAIN FILE import test.layout; private function callClassFunction():void { test.layout_QT.traceTest(); } // CLASS FILE layout.as package test { public class layout { public function

[flexcoders] Is it possible to include a .as file in actionscript within a function?

2009-04-07 Thread sailorsea21
Hi everyone, is it possible to include an .as file in actionscript within a function but not have the included .as be restricted within the function? private function loaded():void { include axis.as; } Above, the include file will only apply to the function. How can I include a file to

[flexcoders] include .as file question.

2009-04-08 Thread sailorsea21
Hi everyone, is it possible to do something similar to this on the MXML file: include this[parentApplication.filename + .as]; I want to dynamically include an .as file depending on what is received from my AMFPHP object... If this is not possible, is there a simpler way to accomplish this?

[flexcoders] How can I have my class return an ArrayCollection?

2009-04-08 Thread sailorsea21
Hi everyone, how can I have this following class return me an ArrayCollection whenever I call it [Bindable] public class Services { public var serviceArray:ArrayCollection; public var serviceXML:XML; public function getServices():void { var

[flexcoders] HAPPY EASTER EVERYONE !!!

2009-04-12 Thread sailorsea21
Just wanted to wish everyone a HAPPY EASTER !!! :)

[flexcoders] How can I create an event that calls a function?

2009-04-14 Thread sailorsea21
Hi everyone, How can I create an event that calls a function once an ArrayCollection is filled? This is what I'm using at the moment but I would like to avoid setTimeout: public function checkArrayCollection():void { if(myArrayCollection) { } else {

[flexcoders] I need to set a label...???

2009-04-15 Thread sailorsea21
Hi everyone, I need to set a label... The actual label is in a ArrayCollection. I can access is like this: parentApplication.MyLabelArray.getItemAt(0).label001 or parentApplication.MyLabelArray.getItemAt(0).label002 or parentApplication.MyLabelArray.getItemAt(0).label003 and so on... Is it

[flexcoders] How can I receive the smallest value within an Array?

2009-04-16 Thread sailorsea21
Hi everyone, if I have an array as var boxSize:Array = new Array(25, 45, 32, 70, 50, 46, 80, 10); Is there a function that will return me the smallest value within that array? Thanks. -David

[flexcoders] VIEWSTACK question.

2009-04-23 Thread sailorsea21
Hi everyone, I have a question on viewstacks. I have my viewstack created on MXML with the main canvas also created in MXML. something like: mx:Viewstack id='myViewstack' creationPolicy='all' initialize='getOtherCanvases()' mx:Canvas id='mainCanvas'/ /mx:Viewstack At initialize I call

[flexcoders] verticalAxisRenderers - How can I set my font size of my AxisRenderer Label ???

2009-04-27 Thread sailorsea21
Hi everyone, I have a BarChart with the following AxisRenderer. I am unable to change the fontsize of my label and my label does not display fully, it is shorten with '...'. Thanks barChart.verticalAxis= axisV; var axisVRenderer:AxisRenderer = new AxisRenderer();

[flexcoders] How can I pass a var to a class???

2009-04-28 Thread sailorsea21
Hi everyone, is it possible to pass a variable when I call a class??? This is what I'm doing: bar.setStyle('itemRenderer', new ClassFactory(BarColorRenderer)); My class is 'BarColorRenderer' and I would like to also pass it a variable. Is it possible? This is my class: public class

[flexcoders] Is it possible to create a 4 axis Plot Chart ???

2009-04-29 Thread sailorsea21
Hi everyone, is it possible to create a 4 Axis Plot Chart forming a + ? Left to Center: 0 - 50 Center to Right: 50 - 100 Bottom to Center: -100 - 0 Center to Top: 0 - 100 Thanks.

[flexcoders] Sorting columns in a Datagrid don't sort with itemRenderer...

2009-05-05 Thread sailorsea21
Hi everyone, I'm having a problem with sorting columns in a datagrid when using itemRenderer. Without the itemRenderer, everything works fine but when I use an itemRenderer, the column with the itemRenderer doesn't sort, it simply rotates the rows of that column dgColumn.itemRenderer =

[flexcoders] Forcing a ColumnSeries label to always display vertically?

2009-05-07 Thread sailorsea21
Hi everyone, how can I force a ColumnSeries label to always display vertically? Thanks. -David

[flexcoders] Which Class should I extend???

2009-05-08 Thread sailorsea21
Hey everyone, what class should I extend to manipulate the label inside my ColumnSeries ??? I would like to force the labels in my ColumnSeries to always display vertically and if there isn't enough room inside the column to automatically display outside the column... Thanks guys! -David

[flexcoders] Source could not be found.... when I CTRL-CLICK on a chart Class???

2009-05-08 Thread sailorsea21
Does anyone know why I get the following error when I CTRL-CLICK on a chart Class??? Source could not be found for mx.charts.series.ColumnSeries in C:\ProgramFiles\Adobe\Flex Builder 3\sdks\3.2.0\frameworks\libs\datavisualization.swc. I'm using Adobe Flex Builder 3.0 (build 3.0.2.214193) ???

[flexcoders] Extending ColumnSeries to force labels to always display vertically.

2009-05-11 Thread sailorsea21
Hi everyone, is it possible to create a class which extends ColumnSeries to force all the labels in my ColumnChart to rotate vertically? I am unable to accomplish this... Any thoughts or ideas??? Thanks everyone.