Hi Davi, Thanks for helping. I tried that part in my HTML file but the banners are still asking much CPU: http://www.defransekamer.com/portfolio/x5/
<script>
function init() {
var failCount = 1;
ad.on("slow", function(evt) {
if (failCount === 0) {
evt.preventDefault();
failCount++;
this.watchFPS(15, 1);
} else if (failCount === 1){
createjs.AdHelper.showAltImage(canvas, "images/backup_300x250.jpg", "javascript:doClickthrough(this)", "BannerWave", "_blank");
}
});
// to test watchFPS, lower the FPS after creating the AdHelper, using the changeFPSTimer below
// to test timeSynch, remove watchFPS from AdHelper, and then change the FPS using the changeFPSTimer below
//var changeFPSTimer = window.setTimeout(changeFPS, 5000, 5);
// to test directly calling Adhelper methods, use the testMethodTimer below
//var testMethodTimer = window.setTimeout(testAdHelper, 5000, "showAlt", 2000);
// changes the FPS for testing purposes
function changeFPS(framerate){
createjs.Ticker.setFPS(framerate);
}
</script>
This is where I used the template and the banners preview with normal CPU: http://www.defransekamer.com/portfolio/x3/ Its like I'm missing something..
banner.zip