--- In flexcoders@yahoogroups.com, Dan Pride wrote:
>
> Actually that didn't work either.
> It returned a value if the var was untyped
> The var would not type
> I could not use it as an input where I need it.
> Centerscrip.as initApp() line 50 or so
> Eight suggestions from four developers
--- In flexcoders@yahoogroups.com, Dan Pride wrote:
>
> var crapola = squaresGrid. selectedItem;
> Works but Shows up with a warning of no type declaration
> It shows up in debugger as "Object"
> but var crapola:Object = squaresGrid. selectedItem;
> does not resolve the situation.
> Comments or
guage.
Dan
--- On Sat, 11/21/09, Dan Pride wrote:
From: Dan Pride
Subject: Re: [flexcoders] Re: Syntax Question
To: flexcoders@yahoogroups.com
Date: Saturday, November 21, 2009, 9:36 PM
var crapola = squaresGrid. selectedItem;
Works but Shows up w
Sat, 11/21/09, Dan Pride wrote:
From: Dan Pride
Subject: Re: [flexcoders] Re: Syntax Question
To: flexcoders@yahoogroups.com
Date: Saturday, November 21, 2009, 9:18 PM
var crapola = squaresGrid. selectedItem;
var name:String = crapola.NameCol. .toString(
var crapola = squaresGrid.selectedItem;
var name:String = crapola.NameCol..toString();
Thanks. That worked.
Dan
--- On Sat, 11/21/09, turbo_vb wrote:
From: turbo_vb
Subject: [flexcoders] Re: Syntax Question
To: flexcoders@yahoogroups.com
Date: Saturday, November 21, 2009, 8:51 PM
--- In flexcoders@yahoogroups.com, Dan Pride wrote:
>
> I tried all that in the first hour. None of it works
> I have been resisting it but I think I am just going to rewrite the whole
> damn thing in value objects.
> i started this app some time ago leveraging off the auto generated php code
Ok, so it is e4x, look into the double dot notation and, as others have said.
try toString() and toXMLString(). As close as you are it shouldn't be that
hard, even through trial and error, to drill down to the string.
-TH
--- In flexcoders@yahoogroups.com, Dan Pride wrote:
>
> Sorry that
> ht
Perhaps this will work:
var crapola = squaresGrid.selectedItem.NameCol;
var crapolaXML : XML = crapola[0] as XML;
var name : String = crapollaXML.Name;
-TH
--- In flexcoders@yahoogroups.com, Dan Pride wrote:
>
> Yes I would think something this absurdly simple would be a single sentence
> rep
8 matches
Mail list logo