Table of Contents

This page will host either tutorials for ActionStep, or links to tutorial offered offsite.

Getting quick and dirty with ActionStep

Ok, so you just want to get the code base right now, and start doing stuff with ActionStep.

This is way too big to fit here, so go here:

Quick Start Guide

Getting Flashout (FAMES) to Work With ActionStep

1.- Once the ActionStep project is downloaded create a File called actionstep.flashout

2.- Change the flashout config settings to the following:

SWF

 Path to SWF : [Actionstep prj]\ActionStep.swf
 Root (main) class : [Actionstep prj]\src\org\actionstep\test\ASTestMain.as

Additionals

-header 800:600:20 -pack org/actionstep -pack org/actionstep/constants -pack org/actionstep/images

Finally, for easy testing change line 41 in ASTestMain.as ‘s main method for other test class.

Simple Ant Task to Build Test Class

You can use the following Ant Task to build the main test class:


<project name="ActionStep Ant Tasks" default="Compile ActionStep Main Test" basedir=".">
	<!-- Tools -->
	<property name="mtasc" location="E:\mtasc-1.09\mtasc.exe"/>
	<target name="Compile ActionStep Main Test">
		<exec executable="${mtasc}" dir="." failonerror="true">
			<arg line='-cp "src"'/>
			<arg line='-swf ActionStep.swf'/>
			<arg line='-header 800:600:20'/>
			<arg line='-trace org.actionstep.ASDebugger.trace' />
			<arg line='-pack org/actionstep'/>
			<arg line='-pack org/actionstep/constants'/>	
			<arg line='-pack org/actionstep/images'/>
			<arg line='org/actionstep/test/ASTestMain.as'/>	
			<arg line='-version 8'/>
			<arg line='-main'/>
		</exec>		
	</target>
</project>

When testing, remember that some of the code is dependent on data within the ‘test’ folder at: http://svn1.cvsdude.com/osflash/actionstep/trunk/test/ For instance, if you are testing the ASTestControls.as, your exported swf must be located relative to the file ‘test/controls.asml’ for the swf to display anything correctly.

Building more stuff

For more tutorials on building sample applications and other stuff, please see: Building more applications