Question :Why are my ValueObject member variables undefined in the results from my RemoteObject requests?
Answer :Flash Player deserializes objects in a special order that can confuse developers used to object
serialization from other RPC systems. When a strongly typed object is returned to the player, it first
creates an instance from the prototype of the registered class without calling the constructor. It then
populates the object with the properties sent in the result. Finally, it calls the constructor without
arguments.
If your ValueObject constructor expects arguments to initialize an instance, be sure to check whether
arguments were actually sent to the constructor before overriding member variable values.
www.interviewhelper.org is a hope for all the Job seekers. Users can find unlimited here. These range from technical to HR, from functional to behavioral. www.interviewhelper.org contains in the fields like Ajax,VB,Networking,Sharepoint,JEE,Perl,Javascript,Bioinformatics,Classic ASP,Unix,Linux,Accounting,Oracle DBA,Microprocessor,Bluetooth,jms,jme,.net framework,ABAP,ASP,ASP.net,Basic .net Framework,Interview Questions,C language,C++,database,Oracle,Java,PHP,LAMP,SAP etc.
Friday, March 27, 2009
Why are my ValueObject member variables undefined in the results from my RemoteObject requests
Labels:
Flex
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment