pass actionscript events through
cleaned up callback code
only set the poster on the swf if one is passed.
Merge branch 'add-callbacks'