test for flash

I've added a couple of functions to do a primitive test for SWF.  The concatenated script could also be useful for more extensive JS compatibility testing.