Hi,
Probably you try this one, use registerclassalias in your code before
u call remote object. This will relate ur VO to TO.
eg:'registerClassAlias('emails.EmailCorrespondenceTO',EmailCorrespondenceVO);'
Regards,
Vasanth
On 8/15/10, Sidhu Vijay Sidhu <[email protected]> wrote:
> var classRef:Class = getDefinitionByName("MyClassName") as Class;
> var myObject:Object = new classRef();
>
> http://flashgameu.com/ask_gary/class_or_object_name_as3.html
>
> On Sat, Aug 14, 2010 at 12:58 PM, madhured <[email protected]> wrote:
>
>> Hi All,
>> I am calling a remote object which returns me data as object and when I am
>> trying to cast it as Valueobject, it is throwing error, cannot convert
>> object to value object, Is there any way we can work around it so that we
>> can cast it to Value object.
>>
>> Thanks in advance, If any please reply me as soon as possible, All
>> valuable
>> suggestions are appreciated
>>
>> Regards,
>> Madhur
>>
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Flex India Community" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<flex_india%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/flex_india?hl=en.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en.