Posted By

visualadvance on 05/15/11



Versions (?)

AS3: scrollRect

 / Published in: ActionScript 3

Using this can drastically increase performance. It is essentially like a mask. Anythingout outside the scrollRectangle is not rendered by Flash.

  1. // x, y, width, height
  2. yourClip.scrollRect = new Rectangle (0, 0, 1536, 2720);

Report this snippet  

You need to login to post a comment.