Archive for AVM1

Launching my public subversion

http://code.hellokeita.in/public/

People, I’m launching my codes on public subversion repository.
It’s almost nothing there… but, how people claimed for the source (here), there is it.

Hope you enjoy it…

PS: If there’s any bug or anything I forgot, apologize me… I still don’t get much time to review my codes…

Comments (5)

AS3 AVM1 Loader

I’ve been working on a project that needs to load FFmpeg generated SWF.
FFmpeg generates Flash 6 SWF. And there I got the problem, because AS3 can’t control AVM1 movies.

I googled and I found this AVM2Loader Class from Fladdict.
Simply talking, it loads the SWF and rewrites the necessary bytes to convert it to AVM2.
But, the problem was that this class just converts Flash 8 compiled AVM1.

So, I restarted my research.
Tried with Localconnection, but I got some delay on it’s response.

So I used ExternalInterface, and so far, it was working fine, until some guy tested on Safari 3 and got some slow script error.
Huh of course… I was loading douzens of avm1, everyone calling ExternalInterface on EnterFrame.

Thanks to google, I found the ultimate solution.
I found this other class ForcibeLoader that really converts any SWF versions to AVM2.

I rewrote this class for an easier syntax, but… I’ll be posting it when I get my svn and some kind of trac system ready.

So… thanks for all those byte eaters.

Comments (4)