| • |
Flash versions 4 or greater can be used within the panels of a PointRoll Ad. Flash version 6 (MX) can be used within a panel if functionality included in the Flash piece requires the version 6 player. |
| • |
Panels that use Flash are supported in Internet Explorer and gecko-based browsers, so alternate content, such as animated images or HTML text, must be provided for use in Netscape. This alternate content should be nested inside the Flash <object> tag, or separate panels and separate Ads can be built as alternates. |
| • |
Flash file size maximum is determined on a case by case basis, but instantaneous initial load/display time is the main determining factor. Be sure to take advantage of Flash's ability to have its content stream into the browser. |
| • |
Tracking Activities within Flash
In order for PointRoll to track non-click-thru events (called "Activities") from Flash within a panel, Activity tracking code must be added. To add a trackable Activity event in Flash, add this script code into the ActionScript for the event...
getURL ("javascript:prActivity(x)");
Where x is the unique integer identifier you assigned to that activity.
Note that there must be no "Window" target parameter passed.
Here is a complete example (for activity #2 which is an internal mouse-over):
on (rollOut) {
...your ActionScript for the event goes here...
getURL ("javascript:prActivity(2)");
}
Activity tracking should never be used in conjunction with a click-thru event. See the Flash click tracking section below for click-thru events.
Note: Because rollOver is a continuously fired event, the on(rollOver) event can ONLY include a prActivity call if it is appropriately wrapped with a variable test to limit the Activity call to the first occurance. For example:
on (rollOver) {
...your ActionScript for the event goes here...
if (bDone2 != 1) {
bDone2 = 1;
getURL ("javascript:prActivity(2)");
}
}
Note that each activity needs to use a different variable to test for first occurance (for example: bDone1 for activity 1, bDone2 for activity 2). |
| • |
Tracking Clicks from Flash
PointRoll's Flash click tracking is designed to allow a Flash piece's clicks to function within the context of a PointRoll panel. All clicks must use _blank in order to launch a new browser window, otherwise conventional "clickTag" tagging is used. Thus, URLs are passed into the Flash piece via a click variable. Your destination URLs are entered into the AdPortal interface instead of being placed inside the ActionScript code. In order for PointRoll to track clicks coming from Flash in a panel, all "on release" events that go to a new URL outside of the Flash piece must use the appropriate syntax below... |
| |
In Flash 5 and newer (Flash MX and Flash MX 2004):
on (release) {
getURL (_root.clickTag, "_blank");
} |
| |
In Flash 4: (note that version 4 needs /: instead of _root.)
on (release) {
getURL (/:clickTag, "_blank");
} |
| |
The Flash MX screen shot below shows the action definition for this click command (note: if you are working in "normal mode" of a previous version of Flash the Expression checkbox beside URL must be checked):
|
| |
| |
For tracking several clicks within one Flash piece separately each must be provided a unique click string variable. The most straight-forward implementation is to still use clickTag but followed by the next incrementing number for each click in the flash piece starting with clickTag1; so the first click will use clickTag1, the second will use clickTag2, and so on)... |
| |
For the first click:
on (release) {
getURL (_root.clickTag1, "_blank");
} |
| |
And for the second click:
on (release) {
getURL (_root.clickTag2, "_blank");
} |