rambo_fan
05-22-2008, 10:01 AM
Hi ;)
Im a beginner to flash. Ive created a flash menu for a website, however when a link is clicked it opens up the specified URL in a new tab in Mozilla, rather than load in the same tab.
Example code for a button:
-------------------------------------------
inv_btn6.onRollOver = function() {
this.onEnterFrame = startRoll;
};
inv_btn6.onRollOut = function() {
this.onEnterFrame = stopRoll;
};
inv_btn6.onPress = function() {
getURL("website name/index.htm","_self");
}
-------------------------------
ive used both _self & _blank, can anybody help me with what is probably a very simple problem, however not to me lol
Thanks.
Im a beginner to flash. Ive created a flash menu for a website, however when a link is clicked it opens up the specified URL in a new tab in Mozilla, rather than load in the same tab.
Example code for a button:
-------------------------------------------
inv_btn6.onRollOver = function() {
this.onEnterFrame = startRoll;
};
inv_btn6.onRollOut = function() {
this.onEnterFrame = stopRoll;
};
inv_btn6.onPress = function() {
getURL("website name/index.htm","_self");
}
-------------------------------
ive used both _self & _blank, can anybody help me with what is probably a very simple problem, however not to me lol
Thanks.