Archive for the 'flash' Category

Flash 10 API Explorer

Wednesday, May 28th, 2008

A couple years ago, I wrote this little Java Explorer script that used Liveconnect to inspect available Java classes. It included a little console that made it easy to play with those classes and their members to see what they seemed to do.
More recently, when the Flash Player 10 beta came out, I ended up (…)

ScreamingDonkey - Tomorrow’s browser scripting, today. kinda.

Monday, May 19th, 2008

Here we go. ESC is far along enough to start treating it like a working ecmascript compiler. Combined with my little JSObject hack and some glue, you end up with something that gives you a taste of things to come.
So here is ScreamingDonkey. Not to be confused with ScreamingMonkey, a serious project done by the (…)

JSObject. It’s not just for Java anymore.

Friday, January 4th, 2008

Back in the days, Netscape created this neat layer of glue called LiveConnect. Among other things, it would expose javascript objects to Java through a JSObject class.
Fast forward to ActionScript. ExternalInterface provides a way of eventually doing the same thing. Things like FABridge make things somewhat friendlier, but FABridge only deals with accessing ActionScript goodies (…)

Eval() and ActionScript.

Wednesday, January 2nd, 2008

Over a year ago, Adobe open sourced Tamarin, and there was much rejoicing.
As part of the source drop, Adobe included an actionscript compiler written in actionscript.
A few folks noticed that it sounded a whole lot like an “eval()” method, and thought that once the good folks at Mozilla and Adobe hammered at it for a (…)

Flash on C/C++

Saturday, December 1st, 2007

If you missed it, an Adobe engineer, Scott Petersen, gave a talk at Chicago Max a couple of months ago, showcasing some crazy side project of his, that allows him to run c/c++ code on top of an unmodified Flash player.
This has various implications, one of which is one could someday interface their as3 code (…)

Backport of some As3Crypto stuff to As2

Thursday, November 29th, 2007

Apparently, ActionScript 2 isn’t dead yet.
While I anxiously await the day popular gizmos like the Wii or the iPhone get to run as3 bytecode, there are apparently still legitimate reasons to want to code with As2.
There already are various chunks of code out there to encrypt stuff with As2, the most popular being probably still (…)

As3Crypto 1.3 is out, TLS support is in.

Monday, November 19th, 2007

There we go, Flash now has a TLS 1.0 implementation written entirely in ActionScript.
In spite of my previous post, I didn’t feel right releasing something that didn’t have a shot at protecting against Man-in-the-middle attacks, so I took a few more days to implement some X.509 certificate parsing and validating.
This release ships with a number (…)

Badness in, plus TLS update

Tuesday, November 6th, 2007

Right now, any ByteArray you feed to MD5 will get messed with, in 2 ways:

Some padding will be added to the end of it
The endianness of the array will be forced to little-endian.

You see, TLS has this “finished” message as part of its handshake that requires to compute an MD5 hash and a SHA-1 hash (…)

Coming out of hibernation

Saturday, November 3rd, 2007

I need a better comment spam system.. I just had to go through 1075 comments, to extract the few that weren’t spam.
16 comments approved
1058 comments marked as spam
1 comment unchanged
Now, you could argue I should just moderate those things as they come in, and you’d be right.
Anyway.. not too long after my previous comment, my (…)

As3Crypto 1.2: now with less bugs

Sunday, April 29th, 2007

So my 1.2 release ends up being less awesome than hoped.
I had a bunch of bug fixes I was sitting on, hoping I’d release them at the same time as some new neat thing, but the new neat thing is taking longer than planned, and the blog comments make it clear you guys are already (…)