I am trying to use a stream in my flex application, the stream should use the object I want to transfer using worker.setSharedProperty("bytes",bytes) , bytes.sharable is set to true,
The serialized object implements IExternalizable with the RemoteClass tag, since it is serialized in different scripts (cloning, saving to DB, etc.), but when I send it to the workflow, I get this error:
ArgumentError: Error
I tried the following 2 solutions:
registerClassAlias("com.model.vo.ProjectVO",ProjectVO) as suggested at this link- In my thread invoking an instance of ProjectVO as suggested here: link
Without this, I assume that this is due to an attempt to pass objects that implement IExternalizable, and would like to hear if someone has succeeded. Thanks!
multithreading flash actionscript-3
Eran
source share