Loading Youtube into Flash with 100% width

I am creating a flash site, set to a width of 100% in the HTML file with some javascript that essentially takes a way the movie’s borders. Many of you are probably already familiar with this.

In any case, I found this great bit of actionscript here: http://groups.google.com/group/youtube-api-basics/browse_thread/thread/89ff378fc44985f0/290cdc0b150375d6#290cdc0b150375d6

…that allows a user to load Youtube SWFs into a flash site.

The problem I’m experiencing, is that the Flash site is aligned to the center, and when the Youtube file loads, the entire site resets its location to the upper left. I have tried manipulating a number of things to prevent this from occurring, but to no avail.

I recently made a post about this that received no responses, but in problem-solving, I found out a little more about the cause of the issue, so I’m reposting with this new information.

You can view the test site here:

www.mattchamberlain.com/index_tv_test.html

Click on ‘video’, and then click the big red button to see the youtube video load and reset the entire site to the upper left corner.

I look forward to any insights and responses. Thanks for your help!

Aaron.