mushroom
10-16-2007, 03:48 AM
Hi guys,
I'm having a problem with my button.
I'm not quite sure how to explain it in words. I'm very bad in explaining stuffs.:rolleyes: haha
ANyway I'll try
So. I have 2buttons ( ON button and Off Button ) in 1 movie clip and those 2 buttons link to another URL.
And it seems the button doesnt work and link properly.
Here's the script :
ON button :
on (release) {
getURL("index.php?do=ONHome","_self");
}
OFF Button :
on (release) {
getURL("index.php?do=OFFHome","_self");
}
another script in the movie clip is
stop();
this.onEnterFrame = function() {
if (rewind == true) {
prevFrame();
}
};
this.onRollOver = function() {
rewind = false;
play();
};
this.onRollOut = function() {
rewind = true;
};
I guess I shuld attach the file here to give a better understanding :)
Any help would be very much appreciated :)
Thx
I'm having a problem with my button.
I'm not quite sure how to explain it in words. I'm very bad in explaining stuffs.:rolleyes: haha
ANyway I'll try
So. I have 2buttons ( ON button and Off Button ) in 1 movie clip and those 2 buttons link to another URL.
And it seems the button doesnt work and link properly.
Here's the script :
ON button :
on (release) {
getURL("index.php?do=ONHome","_self");
}
OFF Button :
on (release) {
getURL("index.php?do=OFFHome","_self");
}
another script in the movie clip is
stop();
this.onEnterFrame = function() {
if (rewind == true) {
prevFrame();
}
};
this.onRollOver = function() {
rewind = false;
play();
};
this.onRollOut = function() {
rewind = true;
};
I guess I shuld attach the file here to give a better understanding :)
Any help would be very much appreciated :)
Thx