GetUrl won't open in same window?
hello,
i creating website flash menu on each page. using geturl code target each page can't seem pages open in same window. if use '_new' or '_blank' pages open in new window should if use '_self' or '_top' nothing happens.
any appreciated. thanks!
code: as3
aboutbtn.buttonmode = true; aboutbtn.addeventlistener(mouseevent.click, callabout); function callabout(e:mouseevent):void{ var url:string = "about.html"; var request:urlrequest = new urlrequest(url); try { navigatetourl(request, '_self'); } catch (e:error) { trace("error occurred!"); } }
there's nothing wrong code. doesn't match description of think doing.
More discussions in ActionScript 3
adobe
Comments
Post a Comment