flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mark goldin <markzolo...@gmail.com>
Subject Casting ProxyObject to a strongly typed object
Date Wed, 16 Mar 2016 18:20:46 GMT
I have found to following code that supposed to do the conversion but I
need some help with it.

public function result(data:Object):void
{
var result:Object = data.result; // Result is an ObjectProxy;
        var newObj:ObjectProxy = new ObjectProxy(StrongType);
var obj:Object = newObj.object_proxy::object;
obj =
com.adobe.serializers.utility.TypeUtility.convertToStrongType(result,
StrongType);
}

Not all data seems like getting converted. Is there other way of such
conversion?

Thanks for help.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message