In as2...

on( Release ){
 getURL("home.php?location=boston", "_blank")
}

in as3...

locationLink.addEventListener(MouseEvent.CLICK, location_CLICK);

function location_CLICK(ev:MouseEvent):void
{
 var url:String = "home.php?location=boston";
 var request:URLRequest = new URLRequest(url);
 navigateToURL(request, '_blank');
}

Only use the _blank' if you want to open in new window! 

SM


  ----- Original Message ----- 
  From: Laert Jansen 
  To: flashcoders@chattyfig.figleaf.com 
  Sent: Friday, March 28, 2008 4:36 AM
  Subject: [Flashcoders] query string


  Hello folks!

  I have to link one button to this link: home.php?location=boston

  How do I do this? getURL ?

  Thanks a lot

  -- 
  Laert Jansen
  www.laertjansen.com
  _______________________________________________
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to