Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (23 sloc) 1.11 KB

Soulwire AS3 Framework


View Demo

A tool for fast prototyping and class demos in Flash. Quickly create a GUI (based on Keith Peter's Minimal Comps) to control variables in a sketch.

// Create a new GUI tied to the sketch and provide a hotkey
_gui = new SimpleGUI(this, "Example GUI", Keyboard.SPACE);

// Groups and Columns help organise your control panels
_gui.addGroup("General Settings");

// Toggle control for a Boolean

// Nested properties are supported (use normal dot syntax)
_gui.addSlider("someObject.position.x", 10, 200);

// Link two properties as a range
_gui.addRange("minParticles", "maxParticles", 10, 120);

// Colour picker for uint / int

// Callbacks with parameters can be added to any component
_gui.addButton("Regenerate", {callback:regenerate, callbackParams:[1000]});

// Save functionality generates AS3 code with your current settings
Something went wrong with that request. Please try again.