Share this result

Previews are deleted daily. Get a permanent share link sent to your inbox:
Script
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="authoring-tool" content="Adobe_Animate_CC"> <meta name="viewport" content="viewport-fit=cover, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/> <title>App640x360</title> <script type="text/javascript" src="mraid.js"></script> <script src="https://code.createjs.com/1.0.0/createjs.min.js"></script> <script src="App640x360.js"></script> <script> var canvas, stage, exportRoot, anim_container, dom_overlay_container, fnStartAnimation; function init() { canvas = document.getElementById("canvas"); anim_container = document.getElementById("animation_container"); dom_overlay_container = document.getElementById("dom_overlay_container"); var comp=AdobeAn.getComposition("CEB1EF296F644CD0932E9F26491123C1"); var lib=comp.getLibrary(); var loader = new createjs.LoadQueue(false); loader.addEventListener("fileload", function(evt){handleFileLoad(evt,comp)}); loader.addEventListener("complete", function(evt){handleComplete(evt,comp)}); var lib=comp.getLibrary(); loader.loadManifest(lib.properties.manifest); } function handleFileLoad(evt, comp) { var images=comp.getImages(); if (evt && (evt.item.type == "image")) { images[evt.item.id] = evt.result; } } function handleComplete(evt,comp) { //This function is always called, irrespective of the content. You can use the variable "stage" after it is created in token create_stage. var lib=comp.getLibrary(); var ss=comp.getSpriteSheet(); var queue = evt.target; var ssMetadata = lib.ssMetadata; for(i=0; i<ssMetadata.length; i++) { ss[ssMetadata[i].name] = new createjs.SpriteSheet( {"images": [queue.getResult(ssMetadata[i].name)], "frames": ssMetadata[i].frames} ) } exportRoot = new lib.App640x360(); stage = new lib.Stage(canvas); stage.enableMouseOver(); //Registers the "tick" event listener. fnStartAnimation = function() { stage.addChild(exportRoot); createjs.Ticker.framerate = lib.properties.fps; createjs.Ticker.addEventListener("tick", stage); } //Code to support hidpi screens and responsive scaling. AdobeAn.makeResponsive(true,'both',true,1,[canvas,anim_container,dom_overlay_container]); AdobeAn.compositionLoaded(lib.properties.id); fnStartAnimation(); } // Check whether mraid is ready or default by adding event listener & window.onload / doc.ready if (document.readyState === 'complete') { if (typeof mraid !== 'undefined') { if (mraid.getState() === 'loading') { mraid.addEventListener('ready', mraidIsReady); mraid.sasSendMessage("mraidReadystate"); } else if (mraid.getState() === 'default') { mraid.sasSendMessage("mraidDefaultstate"); showMyAd(); } } } else { window.onload = function () { if (typeof mraid !== 'undefined') { if (mraid.getState() === 'loading') { mraid.addEventListener('ready', mraidIsReady); mraid.sasSendMessage("mraidOnload"); } else if (mraid.getState() === 'default') { mraid.sasSendMessage("mraidOnloadDefault"); showMyAd(); } } } } // Once mraid is ready, it does not need to listen to the ready event anymore function mraidIsReady(){ mraid.removeEventListener("ready", mraidIsReady); showMyAd(); } // Only show Ad when mraid is ready function showMyAd(){ var advertElement = document.getElementById("animation_container"); advertElement.style.display = 'initial'; init(); } </script> <script src="//ns.sascdn.com/diff/templates/js/banner/sas-clicktag-3.1.js"></script> </head> <body style="margin:0px;"> <script type="text/javascript"> var clickTag = "sas:click"; </script> <div id="animation_container" style="background-color:rgba(255, 255, 255, 1.00); width:640px; height:360px"> <canvas id="canvas" width="640" height="360" style="position: absolute; display: block; background-color:rgba(255, 255, 255, 1.00);"></canvas> <div id="dom_overlay_container" style="pointer-events:none; overflow:hidden; width:640px; height:360px; position: absolute; left: 0px; top: 0px; display: block;"> </div> </div> </body> </html>
Landing Page
This ad does not have a landing page available
Network Timeline
Performance Summary

7

Requests

3

Domains

65KB

Transfer Size

243KB

Content Size

231.0ms

Dom Content Loaded

234.0ms

First Paint

231.0ms

Load Time
Domain Breakdown
Transfer Size (bytes)
Loading...
Content Size (bytes)
Loading...
Header Size (bytes)
Loading...
Requests
Loading...
Timings (ms)
Loading...
Total Time
Loading...
Content Breakdown
Transfer Size (bytes)
Loading...
Content Size (bytes)
Loading...
Header Size (bytes)
Loading...
Requests
Loading...