Expanding flash file

Let’s say we have a DIV element and inside this is a flash file–it could be a banner, button, whatever…

Is it possible to make the flash file expand and contract to 100% of it’s container’s dimensions on window resize?

Yes there are many examples available, you need to keep the dimensions of the DIV in percentage and i am not mistaken then the entire flash swf should be scalable.

Do you have any tutorials in mind? I can’t seem to find any.

Have you made experiments with using width/height “100%” instead of a fixed value in html code?

In the ActionScript?

In the html code, I think what you want to do requires 100% flash width/height in html code.