Re: [AFFUG Discuss] Syntax for Private VAR

2009-02-16 Thread Kit McCormick
Are you wanting the ChartID to hold the value of paramBack2 ? [Bindable] private var ChartID : String = chartManagerService.lastResult.charts.paramBack2; Kit On Mon, Feb 16, 2009 at 3:55 PM, Frank Griffin fgrif...@prorizon.com wrote: I am having problems with the syntax for a Private VAR

RE: [AFFUG Discuss] Syntax for Private VAR

2009-02-16 Thread Frank Griffin
Thanks, Kit and Atlanta Geek! This is one of the combinations I tried. When I use this, I don't even get my Form just a blank screen. FG -Original Message- From: ad...@affug.org [mailto:ad...@affug.org] On Behalf Of Kit McCormick Sent: Monday, February 16, 2009 4:05 PM To:

Re: [AFFUG Discuss] Syntax for Private VAR

2009-02-16 Thread Kit McCormick
If this works: mx:Text text={chartManagerService.lastResult.charts.paramBack2}/ and this is in the same mxml file: [Bindable] private var ChartID : String = chartManagerService.lastResult.charts.paramBack2; then the assignment to ChartID will work once you put it in the right spot. You need to

Re: [AFFUG Discuss] Syntax for Private VAR

2009-02-16 Thread Cameron Childress
On Mon, Feb 16, 2009 at 4:28 PM, Kit McCormick kit.mccorm...@gmail.com wrote: [Bindable] private var ChartID : String = chartManagerService.lastResult.charts.paramBack2; This will set the value of chartManagerService.lastResult.charts.paramBack2, into the variable called ChartID at the time

RE: [AFFUG Discuss] Syntax for Private VAR

2009-02-16 Thread Frank Griffin
Cameron, I didn't want to use the whole chartManagerService.lastResult.charts.paramBack2 because I need to embed the string it returns into the function below instead of {myCustIdHere}: private function returnToMagicHome():void {

Re: [AFFUG Discuss] Syntax for Private VAR

2009-02-16 Thread Darin Kohles
in Script [Bindable] private var chartID:String; in mxml mx:Binding source=chartManagerService.lastResult.charts.paramBack2' destination=chartID' / mx:Text text={chartID}/ Notice the lower case on variable names, which is the best practice, caps are reserved for Class names. You should really