Useful, and surprisingly I haven’t used this before, I thought I better make a note of it in case I forget var n:int = this.numChildren while (n–) { var _btn:BtnClass = this.getChildAt(n )) as BtnClass if (_btn != null) { // the object is an...
An Age gate, pass it the age you want as a minimum to see your content (defaults to 16), and alternatively a debug boolean if you want them to be able to try again (defaults to false). This example sets a random age when the...
A class for generating a 2 layer star field effect. Give it the x and y size of the bitmap you want, and the 2 vertical speeds of the different layers and it returns a bitmap. The class is also told to start and stop...