making changes to a file i didn't create and now the button wont function


i had change file dimensions didn't change actions of button.  worked before , im in animate cc trying work again.  ideas how check url need go url google.org

 

here as3

 

 

import flash.external.externalinterface;

 

// =========================== clicktag stuff ==================================

// =============================================================================

ct.addeventlistener(mouseevent.click, handleclick);

ct.addeventlistener(mouseevent.roll_over,handlemouseover);

ct.addeventlistener(mouseevent.roll_out,handlemouseout);

 

function handleclick(e:mouseevent):void {

  externalinterface.call("ctaclick");

  trace("clicktag clicked...");

  /*var flashvars:object = loaderinfo(this.root.loaderinfo).parameters;

  if (flashvars.clicktag) {

  navigatetourl(new urlrequest(flashvars.clicktag),"_blank");

  }

  trace("clicked");*/

}

 

function handlemouseover(e:mouseevent):void {

  cta.cta.gotoandplay("over");

  cta.gotoandplay("over");

}

 

function handlemouseout(e:mouseevent):void {

  cta.gotoandplay("out");

}

don't edit fla.

 

use original html , change object tag:

 

<body>

        <div id="flashcontent">

            <object type="application/x-shockwave-flash" data="test.swf" width="550" height="400" id="test" style="float: none; vertical-align:middle">



More discussions in Adobe Animate CC - General


adobe

Comments

Popular posts from this blog

Soustraire une selection

After Effects: could not find dvaeve_dialogs.txt

Illustrator cs6 "Invalid Serial Number"