FlexPilot is an Open Source project created to facilitate the automation of Flex and Flash browser applications.
The majority of the project is hosted on GitHub, but FlexPilot.org is designed to be the home base of the project and offer some more advanced tools to help you get started.
To start the FlexPilot setup guide:
|
|
|
This has a lot to do with your specific setup, but here are some of your options:
mxmlc -source-path=./my_source_directory ./path_to_my_as3_file -o ./path_to_my_created_swfSome additional flags you may want to look into include:
Using Firebug and JavaScript in Firefox, you can verify that FlexPilot is available and it's version.
.
document.getElementById('myMovie').fp_getVersion()
import org.flex_pilot.FPBootstrap;
addEventListener(Event.ENTER_FRAME, onEnterFrameFunc();
function onEnterFrameFunc(event) { }
FPBootstrap.flex_pilotLibPath = '/FlexPilot.swf'; FPBootstrap.init(stage);