claus / as3swf

Low level Actionscript 3 library to parse, create, modify and publish SWF files.
MIT License
526 stars 127 forks source link

NetStream #42

Open byelik opened 9 years ago

byelik commented 9 years ago

I am loading external SWFs and they are playing Video on the stage. I want to access the NetStream object itself in order to find out the URL of the playing mp4.

Can I do it with help of your lib? Is there some kind methods for this? Thanks in advance.

makc commented 9 years ago

well, you could patch these swfs to use proxy class instead of NetStream, e.g. HaxStream. the only help this lib would offer you in this case is narrowing down the area to patch.

byelik commented 9 years ago

I can't to edit an external swf with net stream.

makc commented 9 years ago

Can't to?

byelik commented 9 years ago

it's not my swf

makc commented 9 years ago

So what?

byelik commented 9 years ago

so, how I can use HaxStream?

makc commented 9 years ago

Using your imagination? Here. The proxy in this example appears to be dead, but the whole idea stands.