Hi!
I have downloaded a script that works with a simple tab menu and is meant to open content within my flash movie- However, what I am looking for is to have each tab open a new html page in the parent window.
I know that I can use getURL to have each tab movie clip open an html page, but each time my tab menu swf reloads within that page, my tab menu is back on the initial tab position.
Do you know how I can have my html page reload with the same tab menu swf, but somehow tell the swf which tab should be selected? In other words, how can I use this menu to open html pages and have the swf always on the correct tab position?
Below is the script I have that operates the tab menu. I know I don't really need any of the "content(s)" lines, but I'm not sure if it will work without them. I am an extreme beginner when it comes to action scripting.
//
// -------- all code and design Copyright (c)
www.lukamaras.com -------- //
//
contents.stop();
numberOfTabs = 5;
for (i=1; i<=numberOfTabs; i++) {
line = eval("tab"+i);
line._alpha = 80;
line.onRollOver = function() {
this.glitter.play();
};
line.onRelease = function() {
for (i=1; i<=numberOfTabs; i++) {
otherTabs = eval("this._parent.tab"+i);
otherTabs.bottomLine._visible = true;
otherTabs._alpha = 80;
}
this.bottomLine._visible = false;
this._alpha = 100;
contentFrame = Number(this._name.substr(3, 1));
this._parent.contents.gotoAndStop(contentFrame);
};
}
tab1.bottomLine._visible = false;
tab1._alpha = 100;
Thank you so much for looking at this! I appreciate any help I can get!
-etsutton