Hello
I have got the code of a nice menu (flash 8) of a colleague at the work. On my stage I have placed a empty movie called contents and there I wanted the different swf which I made load. By means of that menu. The swf’s stand all in the same map.
Below you find the code of the menu.
[COLOR=blue]var names = new Array(7);[/COLOR]
[COLOR=blue]names[1] = “Home”;[/COLOR]
[COLOR=blue]names[2] = “Wij”;[/COLOR]
[COLOR=blue]names[3] = “Onze tuin”;[/COLOR]
[COLOR=blue]names[4] = “Onze vijver”;[/COLOR]
[COLOR=blue]names[5] = “Nicole’s hobby”;[/COLOR]
[COLOR=blue]names[6] = “Foto’s”;[/COLOR]
[COLOR=blue]names[7] = “variëteiten”;[/COLOR]
[COLOR=blue]names[8] = “Koi2000”;[/COLOR]
[COLOR=blue]names[9] = “Links”;[/COLOR]
[COLOR=blue]var link = new Array(7);[/COLOR]
[COLOR=blue]url1 = “home.swf”;[/COLOR]
[COLOR=blue]url2 = “ikke_zij.swf”;[/COLOR]
[COLOR=blue]url3 = " {_root.contents.loadMovie(ikke_zij.swf)}";[/COLOR]
[COLOR=blue]url4="[/COLOR][COLOR=blue]http://www.koi2000.com[/COLOR][COLOR=blue].";[/COLOR]
[COLOR=blue]url5="[/COLOR][COLOR=blue]http://www.runnersweb.nl/[/COLOR][COLOR=blue]";[/COLOR]
[COLOR=blue]url6="[/COLOR][COLOR=blue]http://www.martingaus.nl/005hondenscholen/basishondenscholenA/hondenscholenbasisA.html[/COLOR][COLOR=blue]";[/COLOR]
[COLOR=blue]url7="[/COLOR][COLOR=blue]http://www.hardygeraniums.com/[/COLOR][COLOR=blue]";[/COLOR]
[COLOR=blue]url8="[/COLOR][COLOR=blue]http://www.live365.com/stations/country_fish[/COLOR][COLOR=blue]";[/COLOR]
[COLOR=blue]url9="[/COLOR][COLOR=blue]http://www.koi-bito.com/[/COLOR][COLOR=blue]";[/COLOR]
[COLOR=blue]for (i=1; i<=9; i++) {[/COLOR]
[COLOR=blue]clip.duplicateMovieClip(“clip”+(i+0), +i);[/COLOR]
[COLOR=blue]width = _root.clip._width+2;[/COLOR]
[COLOR=blue]_root[“clip”+(i+0)]._x = _root.clip._x+widthi;[/COLOR]
[COLOR=blue]_root[“clip”+(i+0)]._alpha = 100;[/COLOR]
[COLOR=blue]_root[“clip”+(i+0)].names = names;[/COLOR]
[COLOR=blue]_root[“clip”+i].link = _root[“url”+i];[/COLOR]
[COLOR=blue]_root[“clip”+i].onPress = function() {[/COLOR]
[COLOR=blue]getURL(this.link);[/COLOR]
[COLOR=blue]};[/COLOR]
[COLOR=blue]}[/COLOR]
[COLOR=blue]_root[“clip”+(i+1)]._alpha = 75;[/COLOR]
[COLOR=blue]_root[“clip”+(i+1)].name = names*;[/COLOR]
[COLOR=blue]_root.clip._visible = false;[/COLOR]
[COLOR=blue]stop();[/COLOR]
I would find it very nice if someone gone help so that I can get this menu active.
M.v.g
Robbirt