added type idl attribute for object and bug fix in swfplugin