Two tone animations

I’m wondering how to make those two tone animations that are becoming so popular, like the ones at Obviously it’s taken from an actual video clip but how do you convert it to just two colors and when.

After Effects, make blach&white, then tint, export as swf.