1 Reply Latest reply on May 14, 2007 1:06 AM by Armen Abrahamyan

    Flash Re-sizing to Browser window Size


      Below is the code i am using to resize an object on my flash stage to be the same size as the users browser window. It rezises in Proportion the the browser window - so an image will never look skewed. It works really well, but the object only resizes to the size of the browser window when it is changed i.e it looks out of place until you resize the window. Any thought on how i can get the object to resize without the user having to adjust the screen. can i set stageListener.onResize = function() { to start the function "onLoad" or something like that?

      i hope this makes sense
      code attached