SWFObject 2.0 set wmode to transparent

I develop the Flash Application on facebook. when the application put on page tab, the flash content is over the facebook content in IE and Chrome. I know the issue is just setting the wmode = transparent. I spend full of morning to do, Seem setting wmode is not effect. Then I check the object after page is rendered, the wmode is not set too object tag. The correct should be .

After 30 minutes, I found that I am on the wrong way to set wmode to flash embed object. The wrong way is that I set it in params, but instead, the correct way is set it in attributes.

Here is the correct way:

p1