I'm sure there's a better way to do this. Please fork and share any improvements!
The source code for the SWF can be found in
Example.as. The ActionScript exposes an external method named
Eventually this might turn into a proper AngularJS Directive for embedding SWFs?..