On Wed, May 27, 2009 at 2:14 AM, Stephen More <[email protected]> wrote:
> I would think that I could load a swf using either URLLoader or
> URLStream. As it turns out only my URLStream is returning the correct
> data.
> Can anyone provide a fix to the following code that makes URLLoader
> work correctly ?

[...]

Why are you calling writeObject() in the case of the URLLoader? You
should call writeBytes() instead. writeObject() is for objects, not
raw bytes

Manish

Reply via email to