Flash optimization

Out of context: Reply #8

  • Started
  • Last post
  • 10 Responses
  • tommyo0

    One thing you could do in that instance would be to create a transparent Sprite that is constantly the width and height of your stage, when you move the 'scene' run some hit tests and if something doesn't touch the Sprite, remove it. I haven't used this in AS3 yet but I did it a couple times in AS2 and it speeds things up. This way you're not spending cpu on items that aren't visible. But again, not sure if this works in AS3... anyone?

View thread