made .swf() chainable