ive been building a flash menu for a multi page
html site. in order to get the flash animation to load up in different frames for different pages ive included the following coding in the first frame of the flash animation:
if (firstItem == 1) {
gotoAndStop("from 1");
} else if (firstItem == 2) {
gotoAndStop("from 2");
} else if (firstItem == 3) {
gotoAndStop("from 3");
} else if (firstItem == 4) {
gotoAndStop("from 4");
} else if (firstItem == 5) {
gotoAndStop("from 5");
} else {
stop();
}
Then ive determined the variable firstItem in dreamweaver - in each
page, selected the flash menu and in the properties window, where it says
the name of the file: menu_09.
swf, added the following: ?firstItem=1
with 1 being any number between 1-5 according to the number of menu
items. so in the page where i want the 4th item opened, ive written:
menu_09.
swf?firstItem=4
altho this has worked as far as getting the flash animation to load up where i want it to it now keeps looping because the page is on a constant refresh for some reason that i dont understand.
any thoughts....
(have attached the flash file)