bkgrd in flash

  • Started
  • Last post
  • 1 Response
  • hiatus

    how do i get a bkgrd pic in flash to scale to size of the window?

    that basic idea or anything like that.

    link ? thanks

  • PonyBoy0

    load your image into a movieclip...

    verify it's loaded using the movieClip loader class - 'myImage_mc.onLoadInit'...

    ... upon it being loaded - have something like the following:

    myImage_mc._height = Stage.height;
    myImage_mc._xscale = myImage_mc._yscale; //this will keep your width to scale

    you'll need to access the 'Stage' class use it's 'height' property to get your newImage_mc height.