Ive been working from a great tutorial found at
on creating full browser flash. It uses the BitmapData class and
drawing api to attach an image to the stage and have the image tile
when the browser window is resized. The problem is that I want my
image to stretch to fit the browser window instead of tile.
I've looked into alternatives on attaching my image to a
movieclip and having the mc resize, but thats no good since I'm
using the drawing api to draw other elements on the background. The
movieclip then covers those other elements.
var bgImage:BitmapData = BitmapData.loadBitmap("bgImage");