Posted By

blainejoubert on 01/22/09


Tagged


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

enajenkins


Stretch background on window resize


 / Published in: ActionScript 3
 

  1. stage.addEventListener(Event.RESIZE, resizePlease);
  2.  
  3. function resizePlease(e:Event) {
  4.  
  5. backgroundImage.width = stage.stageWidth
  6.  
  7. }

Report this snippet  

You need to login to post a comment.