BurnettMarketing
Programmer
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.
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.