For Version 2, there are 10 API for the swfobject function, and in alphabetical order they are as follows:
1. addDomLoadEvent: This method is primarily for standard browsers such as Internet Explorer, Safari, Opera, and for browsers that use the Gecko engine, like Firefox. It allows the browser to execute a function when a web page is loaded. Other browers need to use addLoadEvent.
2. addLoadEvent: This has the same functionality as addDomLoadEvent above, and is a safe way to use onload events without overwriting existing ones.

click to enlarge
3. createCSS: Use this method to create cascading style sheets on the fly.
4. createSWF: This allows you to create and embed a SWF on the fly. You can specify the SWF's height and width, and pass param names and values.
5. embedSWF: Allows you to embed the SWF into your html page, on the fly. This is the opposite of embedding the SWF statically.
6. getObjectById: Returns the ID attribute of an active object, which you can then use to manipulate it. This is for static embedding only.
7. getQueryParamValue: Returns the value of a parameter in a URL query string. You may also encode this returned value by using the encodeURIComponent in JavaScript.
8. hasFlashPlayerVersion: When you wish to find out which Flash player version a browser is running, use this method to return a Boolean true or false value.
9. registerObject: This allows you to register the SWF with the JavaScript library in order for you to manipulate it. For example, you can use this method to call up Adobe Flash Player Express Install. This is convenient because you can require a user to upgrade the Flash Player on his or her machine if the version being used is too old.
10. removeSWF: This allows you to dynamically remove a SWF from a page. For example, you can write a function that removes a SWF when the user clicks a button.