Skip to main content
Participant
January 23, 2007
Question

URGENT , the getURL doesn't owrk

  • January 23, 2007
  • 3 replies
  • 284 views
Hello, i'm really desperated, because i can't call a window in a frame from flash with the getURL, i tried other but do nothing! and something of external something doesn't work too, so please can enya tellme what can i do???? i'm using flash 8 professional, explorer 6, (and let me tell you that i didn't have issues before)!!
This topic has been closed for replies.

3 replies

January 24, 2007
Hi there.

What are your publish settings?
Local or Network?
If you publish for network the getURL in external windows won´t work local
on i.e. your own computer or a CD.

You can read more about it at the following url:
http://www.adobe.com/devnet/flash/articles/fplayer8_security.html

zenkert
Inspiring
January 24, 2007
Make sure you have quotes (") around the URL inside of the parentheses. That is easy to overlook many times.
January 23, 2007
Without code examples, it's difficult to tell what your problem might be. You may want to try _root.getURL if the command happens to be somewhere removed from the main class.
chen1Author
Participant
January 24, 2007
This is the code, the simple one:

on(press) {
getURL(" http://www.yahoo.com", _mainFrame);}

the other is and is in an frame:
import flash.external.*;
var newWindow:String;
myBut.onPress = function () {
newWindow = String (ExternalInterface.call ("openWindow", " http://www.flashscript.biz"));
};

Ofcourse it doesnt say where i can put the mainFrame frame location i want....