Aligning the swf

hi,
i want to align the swf in the middle of the html page, even if the page is resized.
Ive tried the alignment in flah and dreamweaver, but its not working.
thankx