Question
Need help with linking urls in Action script 2
Hello I am new to the community, I doing a free website for internship purposes, long story i cannot get my buttons to link in flash site, i have tried many different codes and none had worked, i am a newbie and i need some guidance in the right direction. I have three links Link1, Link 3, and Link 4 The current code I am using is import flash.net.navigateToURL; import flash.net.URLRequest; var link_four:link4; link_four = new link4(); stage.addChild(link_four); link_four.addEventListener(MouseEvent.CLICK, buttonClickHandler); function buttonClickHandler(event:MouseEvent):void { var url:String = "http://itunes.apple.com/us/podcast/id352213332"; var request:URLRequest = new URLRequest(url); navigateToURL(request); } Please Help! Thanks Gina T