If the property you are describing does what you say it does, then this is something I did not think existed. Being able to access the SWF bytes at runtime will offer another nice way to pull the ABC files. Might be way to do it without async loadng, too.
There's no reason why the code behind the SwfLoader shouldn't support this too. I will check it out - thanks for the tip!
- max
-----Original Message-----
From: Dirk Eismann <wuppe...@googlemail.com>
Sent: Tuesday, May 19, 2009 2:55 AM
To: loom-as3 <loom...@googlegroups.com>
Subject: Re: SwfLoader
cool - this definitely raises my excitement :)
Btw, one use case I have in my mind is the ad-hoc creation of Proxy
classes for classes that are compiled into the SWF already.
So instead of loading something external with the SWFLoader I'd like
to grab the ABC byte code directly from the running SWF by using the
loaderInfo.bytes ByteArray of the stage object (not sure if this bytes
property is also available on child nodes, I guess not).
At runtime, this ByteArray actually is the representation of the SWF
file that is currently loaded so it should be possible - shouldn't it?
So while you're implementing a SWFLoader could you please also add a
loadBytes method to it so we can just pass over *any* ByteArray that
resembles a SWF file? Thanks :)
Dirk.
On 18 Mai, 03:06, "maxim.porges" <maxim.por...@gmail.com> wrote:
> Hey guys,
>
> Just a quick note to let you know that I was officially back in the
> saddle this week with Loom, working on the SwfLoader. I've got it
> parsing out the tags in a SWF file, but when I try to read the ABC
> bytecode block in each ABC tag there seems to be an RDF XML block
[The entire original message is not included]