[newb question] how to gotoURL in as3?

By verydiao | Jun 10, 2009

actionscript3

hi guys,
wut i found is
navigateToURL(new URLRequest("next.html"));
but it opens a new window, how do i open the page in teh current window?
_self

ty

actionscript3

Please reply at our Forum

1 Comment so far
  1. andrew July 1, 2009 10:06 pm

    my_button.addEventListener(MouseEvent.CLICK,clickHandler);
    function clickHandler(event:MouseEvent):void{
    navigateToURL(new URLRequest(”http://www.adobe.com”),”_self”);
    }

Leave a Comment

If you would like to make a comment, please fill out the form below.

Name (required)

Email (required)

Website

Comments

© 2007 ActionScript 3.0