Fix flashParameters function to accept path of SWF object.