View Full Version : Auto sizing the window component

03-22-2006, 04:16 AM
Hey, I have a quick question,

I use

twListener.complete = function(evt_obj:Object) {
my_win.setSize(my_win.content._width, my_win.content._height+25);
my_win.addEventListener("complete", twListener);

to auto size my window component, but when I load in a .flv created .swf the Auto size is the entire screen.

What can I change to make it auto size correctly?

Thank you,