Close :)

You want:

modelLocator.testVO.["test" + i]

-Josh

On Tue, Jul 29, 2008 at 4:06 PM, chigwell23 <[EMAIL PROTECTED]> wrote:

> 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.
>
>
> ------------------------------------
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
> Links
>
>
>
>


-- 
"Therefore, send not to know For whom the bell tolls. It tolls for thee."

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]

Reply via email to