I’ve been trying to pass my Sprite (a loaded swf-image) into my Worker in some way.
I’ve tried to just pass the sprite as the send-command to the MessageChannel, like this:
Main.mainToWorker.send(e.currentTarget.content);
But no luck on that one. And neither if I pass the sprite to a shared ByteArray:
Main.byteArray.writeObject(e.currentTarget.content);
All I want is to pass the Sprite to the worker, without converting it to a bitmap or any other type.
Thanks in advance,
Tompa