[flexcoders] Re: For Each loop with ArrayCollection

2006-08-14 Thread michrx7
Thanks for your help... I got it by doing the following:

for each (var testcompanyValue in testCompany) {
for each (var testcompanyValue2 in testcompanyValue) {
mytestcompanyOutput = mytestcompanyOutput + 
testcompanyValue2.toString() + \n;
}
}






--
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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Re: For Each loop with ArrayCollection

2006-08-13 Thread michrx7
Ok, I tried that and now I get the following error when running the 
app:

Error: Unknown Property: '[object Object]'.
at 
mx.collections::ListCollectionView/http://www.adobe.com/2006/actionsc
ript/flash/proxy::getProperty()
at admin_AddCompany/::checkcompanyHandler()
at admin_AddCompany/___Operation2_result()
at 
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchE
ventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at 
mx.rpc::AbstractOperation/http://www.adobe.com/2006/flex/mx/internal:
:dispatchRpcEvent()
at 
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::r
esultHandler()
at mx.rpc::Responder/result()
at mx.rpc::AsyncRequest/acknowledge()
at ::NetConnectionMessageResponder/NetConnectionChannel.as$37
:NetConnectionMessageResponder::resultHandler()
at mx.messaging::MessageResponder/result()







--
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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Re: For Each loop with ArrayCollection

2006-08-13 Thread Bjorn Schultheiss





So that means the the element you are trying to concatenate 
into a string is an object.

So your Array contains objects and the value must be inside 
the object

Array[index].value
Get it,
good

Regards,

Bjorn Schultheiss
Senior Flash Developer
QDC Technologies



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of michrx7Sent: 
Monday, 14 August 2006 3:23 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: For Each loop 
with ArrayCollection


Ok, I tried that and now I get the following error when running the 
app:Error: Unknown Property: '[object Object]'.at 
mx.collections::ListCollectionView/http://www.adobe.com/2006/actionscript/flash/proxy::getProperty()at 
admin_AddCompany/::checkcompanyHandler()at 
admin_AddCompany/___Operation2_result()at 
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()at 
flash.events::EventDispatcher/dispatchEvent()at 
mx.rpc::AbstractOperation/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()at 
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()at 
mx.rpc::Responder/result()at 
mx.rpc::AsyncRequest/acknowledge()at 
::NetConnectionMessageResponder/NetConnectionChannel.as$37:NetConnectionMessageResponder::resultHandler()at 
mx.messaging::MessageResponder/result()
__._,_.___





--
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.



  






__,_._,___