-
[AS3]How to open an URL in the Default Browser from a Flash Standalone Projector .exe
Hi,
we are developing a small application wih Flash CS3 which will be released as a standalone Flash Projector.exe.
We want to have a link to our website in the flash application that should open our webpage in the Default Browser of the System.
We tried:
PHP Code:
navigateToURL(new URLRequest("http://www.google.com"),"_blank");
But when I click on that link in our standalone.exe, on my system "ultraedit" gets opened and it tries to open a path on the local system and the webpage adress after that. "C:\Projects\Inflation\http:\\www.google.de".
What are we doing wrong?
-
If you use the usual
on (release) {getURL("http://www.google.com", "_blank");
}
That should do it.
-
getURL doesn't work with CS3...
-
I'm pretty sure it does as i've just recently used it myself when making .exe files using flash cs3.
-
Thank you Jo,
when I try to use getUrl in my App i get the following error:
ReferenceError: Error #1065: Variable getURL is not defined.
-
-
Flash CS3 + CS4 Tutorial navigateToURL
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|