the help matt.
--- In [email protected], "Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> It's hard to know what the problem might be, I'd just recommend running
> in a debugger and seeing what the result object actually looks like.
> Maybe there's another array or object in the hierarchy you're not
> seeing? Otherwise this would look like result[0].GCI based on what
> you've written here.
>
>
>
> Matt
>
>
>
> ________________________________
>
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of Jeremy Rottman
> Sent: Monday, April 24, 2006 7:41 PM
> To: [email protected]
> Subject: [flexcoders] Re: Help with populating from array
>
>
>
> The object returned are not as object. They are objects returned from
> my cfc. As an array of strcutures. I need to pull the first record from
> the first object called GCI in my array.
>
> The array I return from my cfc looks like this. In Array Object 1, I
> need to pull the strcut object GCI and use the results to populate a
> text input.
>
> 1
>
> struct
>
> ADDRESS
>
> 5119 N 20th St. Phoenix
>
> ADDTRANSFEE
>
> 2500
>
> AGENTCOMM
>
> 31500
>
> AGENTNAME
>
> Jeremy Rottman
>
> COMMTOTAL
>
> 3
>
> EN0
>
> 50
>
> FILENUM
>
> S060001
>
> GCI
>
> 75000
>
> PERCENTSIDE
>
> 42
>
> POSITION
>
> 1
>
> PROPPRICE
>
> 2500000
>
> TRANSFEE
>
> 250
>
> TRANSSIDE
>
> buyer
>
> 2
>
> struct
>
> ADDRESS
>
> 5119 N 20th St. Phoenix
>
> ADDTRANSFEE
>
> 0
>
> AGENTCOMM
>
> 75000
>
> AGENTNAME
>
> Jeremy Rottman
>
> COMMTOTAL
>
> 3
>
> EN0
>
> 50
>
> FILENUM
>
> S060001
>
> GCI
>
> 75000
>
> PERCENTSIDE
>
> 100
>
> POSITION
>
> 2
>
> PROPPRICE
>
> 2500000
>
> TRANSFEE
>
> 250
>
> TRANSSIDE
>
> seller
>
>
> --- In [email protected], "Tracy Spratt" <tspratt@> wrote:
> >
> > Assuming you have an array of AS objects in Flex, try:
> >
> > result.gci[0].ADDRESS
> >
> >
> >
> > Tracy
> >
> >
> >
> > ________________________________
> >
> > From: [email protected] [mailto:[EMAIL PROTECTED]
> On
> > Behalf Of Jeremy Rottman
> > Sent: Monday, April 24, 2006 6:53 PM
> > To: [email protected]
> > Subject: [flexcoders] Help with populating from array
> >
> >
> >
> > in my app, I have a closing screen. The data returned from my cfc is
> an
> > array of structures. It is retunred like this.
> >
> > 1
> >
> > struct
> >
> > ADDRESS
> >
> > 5119 N 20th St. Phoenix
> >
> > ADDTRANSFEE
> >
> > 2500
> >
> > AGENTCOMM
> >! ;
> > 31500
> >
> > AGENTNAME
> >
> > Jeremy Rottman
> >
> > COMMTOTAL
> >
> > 3
> >
> > EN0
> >
> > 50
> >
> > FILENUM
> >
> > S060001
> >
> > GCI
> >
> > 75000
> >
> > PERCENTSIDE
> >
> > 42
> >
> > POSITION
> >
> > 1
> >
> > PROPPRICE
> >
> > 2500000
> >
> > TRANSFEE
> >
> > 250
> >
> > TRANSSIDE
> >
> > buyer
> >
> > 2
> >
> > struct
> >
> > ADDRESS
> >
> > 5119 N 20th St. Phoenix
> >
> > ADDTRANSFEE
> >
> > 0
> >
> > AGENTCOMM
> >
> > 75000
> >
> > AGENTNAME
> >
> > Jeremy Rottman
> >
> > COMMTOTAL
> >
> > 3
> >
> > EN0
> >
> > 50
> >
> > FILENUM
> >
> > S060001
> >
> > GCI
> >
> > 75000
> >
> > PERCE! NTSIDE
> >
> > 100
> >
> > POSITION
> >!
> > ; 2
> >
> > PROPPRICE
> >
> > 2500000
> >
> > TRANSFEE
> >
> > 250
> >
> > TRANSSIDE
> >
> > seller
> >
> >
> >
> > The issue I have is, when trying to populate text inputs, it puts all
> > the objects that are returned in that array object into the text input
> > and gives me a null output. I have tried this code below to get the
> > first object and return it to the text input, but this also doenst
> > work. Anyone have an idea on how I can pull the first object from an
> > array of structures that returns more then 1 array
> >
> >
> > var gciFirst:Object = result.gci.getItemAt(0);
> > parentApplication.closing.commTotal.text = gciFirst;
> >
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
> > http! ://www.mail-archive.com/flexcoders%40yahoogroups.com
> >
> >
> >
> >
> > SPONSORED LINKS
> >
> > Web site design development
> >
> <http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+
> >
> site+design+development&w2=Computer+software+development&w3=Software+des
> >
> ign+and+development&w4=Macromedia+flex&w5=Software+development+best+prac
> > tice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ>
> >
> > Computer software development
> >
> <http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=We
> >
> b+site+design+development&w2=Computer+software+development&w3=Software+d
> >
> esign+and+development&w4=Macromedia+flex&w5=Software+development+best+pr
> > actice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw>
> >
> > Software design and development
> > <http://groups.yahoo.com/gads?t=ms&k=!
> Software+design+and+development&w1=
> > Web+site+desig! n+develo
> pment&w2=Computer+software+development&w3=Software
> >
> +design+and+development&w4=Macromedia+flex&w5=Software+development+best+
> > practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ>
> >
> > Macromedia flex
> >
> <http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+
> >
> development&w2=Computer+software+development&w3=Software+design+and+deve
> >
> lopment&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=1
> > 66&.sig=OO6nPIrz7_EpZI36cYzBjw>
> >
> > Software development best practice
> >
> <http://groups.yahoo.com/gads?t=ms&k=Software+development+best+practice&
> >
> w1=Web+site+design+development&w2=Computer+software+development&w3=Softw
> >
> are+design+and+development&w4=Macromedia+flex&w5=Software+development+be
> > st+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw>
> > >
> >
> >
> >
> > ________________________________
> >
> > YAHOO! GROUPS LINKS
> >
> >
> >
> > * Visit your group "flexcoders
> > <http://groups.yahoo.com/group/flexcoders> " on the web.
> >
> > * To unsubscribe from this group, send an email to:
> > [EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>
> >
> > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> > Service <http://docs.yahoo.com/info/terms/> .
> >
> >
> >
> > ________________________________
> >
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
>
>
>
>
> ________________________________
>
> YAHOO! GROUPS LINKS
>
>
>
> * Visit your group "flexcoders
> <http://groups.yahoo.com/group/flexcoders> " on the web.
>
> * To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>
>
> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/> .
>
>
>
> ________________________________
>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

