Hi Peter, First of all, thanks a lot for the help. However, I tried that and also search through some other post.
I added the var static dummy : Class = MyType; in the main application mxml, which have no effect. I also used the [RemoteClass alias] metatag in the .as file , and flash.net.RegisteredClass and both are not the solution. Is there any thing i also need to concern in the coding of the server side? Any other suggestions? Dan --- In [email protected], "Peter Farland" <[EMAIL PROTECTED]> wrote: > > This would happen if you didn't have a dependency on an ActionScript > class in your application otherwise the mxmlc doesn't know to link it > into the SWF. At runtime if the Flash Player does not find a class with > a registered alias for the remote type, it just creates an anonymous > ActionScript Object to hold the properties. > > There are lots of ways to create a compile time dependency... > > import com.something.MyType; > //... > private static var dep:MyType; > > etc. > > > > ________________________________ > > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of Dan > Sent: Wednesday, March 21, 2007 10:48 PM > To: [email protected] > Subject: [flexcoders] Bug? Remote Object to AS conversion. > > > > Hi, > > Does anyone ever have the same experience, when the Remote Object pass > from Java side to AS side, the type of the DTO automatically being > changed to ASObject type. While this does not happen to all the DTO, > but only some of it. > > Can anyone share any idea of why?? Thanks a lot > > Dan >

