I'm trying to access a complex java object from the flex.
I'm giving the details below,

There is a class called Any in the java side.
Any is a complex class which contains many user data types.

For ex:

Any {

I'm using BlazeDs to send Any object to flex side.

Client side:

At run time when I get the java object[Any] in flex,

1. Do we need to write action script files in flex to receive all the user written data types in the client side?

2. Consider I'm parsing Any object to take the values out, I woould not be knowing the type[NameValue_T or Proprty or String or int]. So how do I determine the java user written data type dynamically in the flex side?