Cant get my ad banner into a clickable link
hi - hoping can me.
i have created simple ad banner in flash cs5. trying make when u/l .swf site, banner clickable link take me desired place. have found tutorials on yt - 1 in particular good. followed tee, still not work. banner exports fine, there no url associated it. using 3.0 , code have:
import flash.events.mouseevent;
import flash.net.urlrequest;
circle.addeventlistener(mouseevent.click,pressed);
function pressed(e:mouseevent):void
{
var url:string = "[http://www.umysite.com | http://www.umysite.com]"
var request:urlrequest = new urlrequest(url);
navigatetourl(request,'_blank');
}
can please tell me missing here? thank you!
More discussions in Adobe Animate CC - General
adobe
Comments
Post a Comment