Sizmek pre-defined methods can be used for various functions inside an ad.
The function uses a trace command to report the clickthrough action to the output panel, as well as when not using the Ad Builder for Flash’s preview monitor.
General Requirements
Sizmek Include File: Make sure to add the ‘ebFlashActions include’ file in the first frame of your Flash asset.
Flash 5 Support: If you are publishing the FLA to Flash 5, you must add _root before the function name as shown below: _root.EB.AutomaticEventCounter();
FS-Commands have been replaced with Methods. Methods provide useful functionality for controlling how the ad displays, terminates, or transitions between panels. Ads make use of these methods within the Flash movie for all interactions that can occur within the ad and need to be reported back to the Sizmek servers.
Below, please find a table with the old commands and the new corresponding method names.
Custom Methods
FS-Command Name
Method Name
ebInteraction
//to click through
EB.Clickthrough("InteractionName1")
//to count user actions
EB.UserActionCounter("InteractionName1")
//to count auto initiated events
EB.AutomaticEventCounter("InteractionName1")
ebEndTimer
EB.StopTimer("TimerName")
ebStartTimer
EB.StartTimer("TimerName")
Rich Media
FS-Command Name
Method Name
ebHide/
ebAutoHide
//to hide the panel by user initiation
EB.CollapsePanel("Panel1","User")
//to hide the panel automatically
EB.CollapsePanel("Panel1","Auto")
ebShow/
ebAutoShow/
ebShowWhenReady
//to show the panel by user initiation
EB.ExpandPanel("Panel1","User")
//to show the panel automatically
EB.ExpandPanel("Panel1","Auto")
//to show the panel by user initiation once fully loaded
Comments