Follow

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:

  1. If you do not have the latest version of Ad Builder for Flash, click here.
  2. If you have already installed the latest version, then open the Flash environment you are using.
  3. Open the Preferences dialog as follows:
    • For Windows: Select Edit > Preferences.
    • For Macintosh: Select Flash Preferences.
  1. From the left column (Category), select ActionScript.
  2. In the Language area, click ActionScript 3.0 Settings.
  3. 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)

screen_AS3_settings

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.

EBBase.Init(this);

For Standard Banners only

Note: Adding the EB.Std adds extra weight to your ad. It adds 1.06 KB.

EBStd.Init(this);

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"

MAC

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.

Was this article helpful?
0 out of 2 found this helpful
Have more questions? Submit a request

Comments