Joined
·
4 Posts
hey, i made a toolbar to navigate through my site. Its flash and uses actionscript 3.0.
The buttons work, but they open a new window everytime I click. This is a basic problem I'm sure but I cant seem to figure it out. Heres the code I use:
import flash.events.EventDispatcher;
function women(event:Event):void {
navigateToURL(new URLRequest("http://www.thefineprintchicago.com/women.html"));
}
womenbtn.addEventListener(MouseEvent.CLICK,women);
The buttons work, but they open a new window everytime I click. This is a basic problem I'm sure but I cant seem to figure it out. Heres the code I use:
import flash.events.EventDispatcher;
function women(event:Event):void {
navigateToURL(new URLRequest("http://www.thefineprintchicago.com/women.html"));
}
womenbtn.addEventListener(MouseEvent.CLICK,women);