Sample Application: MASTSampleNew
A. Overview
The MASTSampleNew sample application demonstrates the use of the MASTNew Actionscript plugin to retrieve a
MAST document, parse it into a MAST object model, and play a pre-roll ad before a video.
B. Installation Instructions (Flex Builder)
1. Unzip/copy the MASTSampleNew project into your Flex Builder workspace folder.
2. In Flex Builder, go to the File menu and select "Import".
3. Select "General", then "Existing Projects into Workspace", and click "Next".
4. Choose "Select root directory" and "Browse".
5. Browse to your Flex Builder workspace folder.
6. Select the checkbox next to "MASTSampleNew", and click "Finish". This will import the project.
7. Build the project.
8. Launch the application from the Run menu.
NOTE: this sample project requires the OSMF project and the VAST project, you will need to
import those Flex projects as well in order to build the MASTSampleNew project.
C. Usage Instructions
The MASTSampleNew app is a pure AS3 application which loads a MAST document, parses it and displays a preroll video ad.
When you run the application, you'll see a 10-15 second preroll, followed by a 30 second video. The preroll
is generated from the VAST document located at the URL referenced in MASTSampleNew.as.
Note that not all MAST elements are supported in the current release. The OSMF MAST specification (located
at http://opensource.adobe.com/wiki/display/osmf/MAST+Support) has additional details on the current scope of
MAST support within OSMF.