PDA

View Full Version : getURL problem


AngelDust
03-26-2001, 09:10 PM
I am trying to make Flash redirect my visitors to a different page on the site.

The code looks some thing like this:

second = second - 1;
newtime = 10 + second;
//counts down from 10
ct = newtime
//ct is a dynamic text field
if (ct == 0) {
stop();
getURL ("http://www.liquid2k.com/tombob/index.htm", "_self");
}
//end script

Now everythin gworks fine until it get the url. It writes "http://www.liquid2k.com/tombob/www.liquid2k.com.tombob.index.htm"

which is obviously worng, i tried relative paths like /index.htm but that doesn't work either

mgb
03-26-2001, 11:46 PM
You should have;

getURL ("http://www.liquid2k.com/tombob/index.htm", window="_self");

cheers

~mgb