Sizmek supports all assets and components that were created with ActionScript 3.0; however when working with ActionScript 3.0, some aspects of the code are treated differently than with ActionScript 2.0.
To work with ActionScript 3.0:
- If you do not have the latest version of Ad Builder for Flash, click here.
- If you have already installed the latest version, then open the Flash environment you are using.
- Open the Preferences dialog as follows:
- For Windows: Select Edit > Preferences.
- For Macintosh: Select Flash Preferences.
- From the left column (Category), select ActionScript.
In the Language area, click ActionScript 3.0 Settings.
In the Source path area, click the plus icon + and double-click the new line (entry) then enter the following path: $(LocalData)/Classes/Eyeblaster ActionScript 3.0 (see the screenshot below for an example)
2. Click OK, and OK again.
Note: This procedure needs to be performed only once.
The following is a list of conditions and special instructions for working with ActionScript 3.0:
- Sizmek Include File (ebFlashActionsAS3.as)
On the main timeline, in the first frame of the Flash movie, the ebFlashActions.as file should be replaced with a full path to the required file, as follows:
All formats except for Standard Banners
Note: Adding the EB.Init adds extra weight to your ad. It adds 5.90 KB.
For Standard Banners only
Note: Adding the EB.Std adds extra weight to your ad. It adds 1.06 KB.
If you are working with an older version of the MXP, then in the first frame of the Flash movie, the ebFlashActions.as file should be replaced with a full path to the required file, as follows:
Windows XP or Vista
include "<your local drive>/Documents and Settings/<username>/Local Settings/Application Data/Adobe/<Flash Environment>/<language>/Configuration/Include/ebFlashActionsAS3.as"
include "HD/Users/<username>/Library/Application Support/Adobe/<Flash Environment>/<language>/Configuration/Include/ebFlashActionsAS3.as"
Note: The parameters in angle brackets <> should be replaced with parameters applicable with your operating system and system definitions.
- API functions
When working in ActionScript 3.0, the API functions should be written in a frame after the component.