Hi,
I’m having trouble linking my buttons to a URL. Keep getting and error message on my function line. Will someone help by looking at my code and teling me where I screwed up. I’m using AS 3.
thanks for the help- I know this is simple stuff and I appreciate your expertise.
import flash.events.MouseEvent;
var getMore:URLRequest = new URLRequest(“http://www.nyc.gov/html/doh/html/condoms/condoms-press.shtml”);
//–moreButn Get URL–\
getMore.addEventListener(MouseEvent.CLICK,bClick);
function bClick(event:MouseEvent):void{
navigateToURL(getMore);
}