Dynamically resizing flash piece

Guys,

I came across a tutorial on how to resize frames dynamically somewhere on the net but have searched everywhere and cannot find it.

I am trying to resize each page so that if the browser scrollbar is not required, it can be removed. I know this can be done, but I’m not sure how.

Can someone push me in the right direction please.

Kind regards,

5leander5