Get URL code for Flash Action Script 3

For get url buttons in AS3, use the following code:

example_btn.addEventListener(MouseEvent.MOUSE_DOWN, example1);
function example1(e:MouseEvent):void {
var request:URLRequest=new URLRequest(“http://www.table4.com/“);
navigateToURL(request, “_self“);
}

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • MySpace
  • Reddit
  • TwitThis
  • Yahoo! Buzz
  • LinkedIn

Leave a comment