is it possible to set up something in flash ( variable) that constantly monitors the width of the browser winddow.

How would i pass the browser window width into flash?

thanks