ClickTAG only working with "http:/" url, not "http://"?
here html i'm using:
<div>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="728" height="90" id="myflashcontent">
<param name="movie" value="test.swf?clicktag=http:/www.google.com" />
<!--[if !ie]>-->
<object type="application/x-shockwave-flash" data="test.swf?clicktag=http:/www.google.com" align="right" width="728" height="90">
<!--<![endif]-->
<img src="test.jpg" class="ad_section" />
<!--[if !ie]>-->
</object>
<!--<![endif]-->
</object>
</div>
here code:
button1.addeventlistener(
mouseevent.click,
function():void {
if (root.loaderinfo.parameters.clicktag.substr(0,5) == "http:") {
navigatetourl(
new urlrequest(root.loaderinfo.parameters.clicktag), "_blank"
);
}
}
);
can tell me problem is?
@guywiththegun40 problem if test offline in browser , haven't added folder trusted location in flash player setting manager (you can open right clicking on flash movie in browser , choosing global settings...). way "http://" won't work, , "http:/" work, in browsers, in other browsers throw error there no folder named "http:". if don't want change flash player settings, can upload flash file on server , test in browser, "http://" work.
More discussions in Adobe Animate CC - General
adobe
Comments
Post a Comment