SQ Edition

Features:

  1. Kill flashplayer process after tests
  2. Raise exception with last flash error

The Flash SDK Sprout Gem

Installation

  1. Install Ruby (>= v 1.8.7)
  2. Install RubyGems (>= v 1.3.6)
  3. Install the Flash SDK prerelease gem:
gem install flashsdk --pre

Getting Started

Open a terminal and enter the following commands:

Create a new ActionScript 3 project and move into it:

sprout-as3 SomeProject
cd SomeProject

Resolve all dependencies, compile and launch the SWF:

rake

Generate a new class, test case and test suite:

sprout-class utils.MathUtil

Compile and launch the test harness:

rake test

Compile a SWC file:

rake swc

Generate documentation using AsDoc:

rake asdoc

Execute the test harness, emit a JUnit-compatible test results document, and close the Flash Player when complete or after encountering an uncaught exception:

rake ci

Display all available Rake tasks:

rake -T

Some Links

MIT License


Copyright (c) 2007-2010 Pattern Park

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.