link to url help
Hi
I've been following some tutorial to make a link to a website in flash, this is my code:
-------------------------------------------------------------------------------
pro.addEventListener(MouseEvent.CLICK, product);
function product(event:MouseEvent):void
{
navigateToURL(new URLRequest("www.google.com"));
}
--------------------------------------------------------------------------------
Instead of linking me to "www.google.com" when click
it take me to "file:///C:/Documents%20and%20Settings/H%20K/My%20Documents/www.google.com"
If anyone know how to fix this please let me know.
Thanks