Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

GetURL problem with browser

Status
Not open for further replies.

BurnettMarketing

Programmer
Aug 7, 2007
7
US
Having trouble with delaying a GetURL command. For some reason when I click on Models at the bottom left of the page, the browser IE6&7 goes into a loop/lock and the page never loads. It's like I aske to getURL 1,000 times over. It just keeps trying to connect and never does. Any help would be appreciated.

Here is the code I am using:

on (rollOver) {
if (_root.link<>page) {
this.gotoAndPlay("s1");
}
}
on (releaseOutside, rollOut) {
if (_root.link<>page) {
this.gotoAndPlay("s2");
}
}
on (release) {
if (_root.link<>page && _root.G<>1) {
_root.G = 1;
_parent["item"+_root.link].gotoAndPlay("s2");
_root.link = page;
_root.sh1.play();
_root.sh2.play();
startTime = getTimer();
this.onEnterFrame = function() {
currentTime = getTimer();
if (currentTime-startTime>2000) {
getURL("}
};
}
}


Here is the website with the problem. Click on "models" at the very bottom left:

Thanks in advance to all you pros out there.
 
delete this.onEnterFrame;
Worked like a charm oldnewbie...YOU ARE THE MAN !!!!

I can't tell you how thankful I am...God bless you. Three days of coding and trying different things....

Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top