Library Archive

  • Find all of a class type

    Find all of a class type

    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...

    Play Game

  • AS3 Age gate

    AS3 Age gate

    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...

    Play Game

  • AS3 Star Field

    AS3 Star Field

    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...

    Play Game

  • Zerofractal Studio : Facebook bridge

    Zerofractal Studio : Facebook bridge

    What looks to be a good code to help make a facebook app - Zerofractal Studio:Flash Components.

    Play Game

  • AS3 Pie Chart

    AS3 Pie Chart

    Draw a pie chart over time in AS3! Download zip

    Play Game

  • AS3 Draw curve between points

    AS3 Draw curve between points

    Pass it an array of points and it will return an array of points that join the dots along a smooth bezier curve, very useful! Download zip

    Play Game