Hi Jason,

I was trying out a similar scenario with fluorine when noticed your comment
" //traces as object  !?!" and that was the snippet about.


Zoli


-----Original Message-----
From: Merrill, Jason [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 25, 2006 10:23 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Webservices and .NET array serialization

>>var ar:Array = new Array();
>>trace(typeof(ar));
>>trace(ar instanceof Array);
>>
>>
>>Mit freundlichem Gruß,
>>Zoli

That's not what I'm asking, but thanks.

Jason Merrill
Bank of America
Learning & Organization Effectiveness - Technology Solutions 
 
 
 
 
 

>>-----Original Message-----
>>From: [EMAIL PROTECTED] [mailto:flashcoders- 
>>[EMAIL PROTECTED] On Behalf Of Zoltan Csibi
>>Sent: Friday, August 25, 2006 1:41 PM
>>To: 'Flashcoders mailing list'
>>Subject: RE: [Flashcoders] Webservices and .NET array serialization
>>
>>
>>
>>var ar:Array = new Array();
>>trace(typeof(ar));
>>trace(ar instanceof Array);
>>
>>
>>Mit freundlichem Gruß,
>>Zoli
>>
>>
>>-----Original Message-----
>>From: Brake, Stephen [mailto:[EMAIL PROTECTED]
>>Sent: Friday, August 25, 2006 3:47 PM
>>To: Flashcoders mailing list
>>Subject: RE: [Flashcoders] Webservices and .NET array serialization
>>
>>Me too.  I have searched the internet and have found no other people 
>>(or
>>examples) of this being done or being a problem.
>>
>>
>>
>>-----Original Message-----
>>From: [EMAIL PROTECTED]
>>[mailto:[EMAIL PROTECTED] On Behalf Of 
>>Merrill, Jason
>>Sent: Friday, August 25, 2006 8:45 AM
>>To: Flashcoders mailing list
>>Subject: RE: [Flashcoders] Webservices and .NET array serialization
>>
>>I'm surprised nobody has dealt with this before?  Array serialization 
>>from a .NET Webservice?
>>
>>
>>
>>Jason Merrill
>>Bank of America
>>Learning & Organization Effectiveness - Technology Solutions
>>
>>
>>
>>
>>>>>>-----Original Message-----
>>>>>>From: [EMAIL PROTECTED] 
>>>>>>[mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of 
>>>>>>Merrill, Jason
>>>>>>Sent: Thursday, August 24, 2006 3:35 PM
>>>>>>To: Flashcoders mailing list
>>>>>>Subject: [Flashcoders] Webservices and .NET array serialization
>>>>>>
>>>>>>Here I was helping someone today with complex objects in .NET 
>>>>>>webservices and didn't notice a big problem on my end.
>>>>>>
>>>>>>I thought I had this figured out, but Arrays are coming across 
>>>>>>weird
>>>>in
>>>>>>a .NET webservice as generic objects not arrays that Flash can 
>>>>>>understand.  I never noticed it before because I can still 
>>>>>>reference
>>>>the
>>>>>>properties in objects in the array OK, just not the array itself.
>>For
>>>>>>example (projObj is the object of arrays and objects resulting 
>>>>>>from
>>my
>>>>>>webservice method call):
>>>>>>
>>>>>>trace(projObj.Content.Topics) //traces as undefined.  Expected an
>>>>array
>>>>>>trace(typeof(projObj.Content.Topics));  //traces as object  !?!
>>>>>>
>>>>>>and
>>>>>>
>>>>>>trace(projObj.Content.Topics[0])  //traces [object 
>>>>>>Object],undefined //but I expected [object Object], [object 
>>>>>>Object], [object Object]
>>>>>>
>>>>>>Finally:
>>>>>>
>>>>>>projObj.Content.Topics[0].TextAreas[0].HtmlText  //traces the 
>>>>>>value
>>I
>>>>am
>>>>>>expecting!!! ???
>>>>>>
>>>>>>What's up?  I can get the property values OK, but I cannot treat 
>>>>>>the array as an array as you would in Flash?
>>>>>>
>>>>>>Jason Merrill
>>>>>>Bank of America
>>>>>>Learning & Organization Effectiveness - Technology Solutions
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>_______________________________________________
>>>>>>Flashcoders@chattyfig.figleaf.com
>>>>>>To change your subscription options or search the archive:
>>>>>>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>>>>>
>>>>>>Brought to you by Fig Leaf Software Premier Authorized Adobe 
>>>>>>Consulting and Training http://www.figleaf.com 
>>>>>>http://training.figleaf.com
>>>>_______________________________________________
>>>>Flashcoders@chattyfig.figleaf.com
>>>>To change your subscription options or search the archive:
>>>>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>>>
>>>>Brought to you by Fig Leaf Software
>>>>Premier Authorized Adobe Consulting and Training 
>>>>http://www.figleaf.com http://training.figleaf.com
>>_______________________________________________
>>Flashcoders@chattyfig.figleaf.com
>>To change your subscription options or search the archive:
>>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>>Brought to you by Fig Leaf Software
>>Premier Authorized Adobe Consulting and Training 
>>http://www.figleaf.com http://training.figleaf.com
>>
>>
>>_______________________________________________
>>Flashcoders@chattyfig.figleaf.com
>>To change your subscription options or search the archive:
>>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>>Brought to you by Fig Leaf Software
>>Premier Authorized Adobe Consulting and Training 
>>http://www.figleaf.com http://training.figleaf.com


_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to