Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/soulwire/SoulwireAS3Framework
Soulwire AS3 Framework
https://github.com/soulwire/SoulwireAS3Framework
Last synced: 3 months ago
JSON representation
Soulwire AS3 Framework
- Host: GitHub
- URL: https://github.com/soulwire/SoulwireAS3Framework
- Owner: soulwire
- License: mit
- Created: 2011-01-19T14:08:56.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2012-12-23T13:18:45.000Z (almost 12 years ago)
- Last Synced: 2024-07-30T02:22:16.575Z (3 months ago)
- Language: ActionScript
- Homepage: http://blog.soulwire.co.uk
- Size: 416 KB
- Stars: 87
- Watchers: 8
- Forks: 22
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: MIT-LICENSE.txt
Awesome Lists containing this project
- awesome-actionscript-sorted - SoulwireAS3Framework - Soulwire AS3 Framework (Unsorted / Other API)
README
Soulwire AS3 Framework
-----###Classes
####uk.co.soulwire.gui.SimpleGUI
[View Demo](http://blog.soulwire.co.uk/code/actionscript-3/simple-flash-prototype-gui-tool/)A tool for fast prototyping and class demos in Flash.
Quickly create a GUI (based on Keith Peter's [Minimal Comps](http://www.minimalcomps.com/)) 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
_gui.addToggle("doAnimation");// 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
_gui.addColour("backgroundColour");// 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
_gui.addSaveButton();