Flashmatazz
February 27th, 2004, 07:48 AM
ok I've taken this out of my sitecheck (http://www.kirupaforum.com/forums/showthread.php?s=&threadid=48238)
snaxs, about your question: you can actually load different movies. try something like this
this[buttonTitles[ i]].onRelease = function(){
active = this._name.toLowerCase();
active = active.split(" ").join("") + ".swf";
_root.container.loadMovie(active);
}
// you'll need to remove the space before the i in buttonTitles[ i]
If you have a menu item called "Item 1", this would mean that when it's clicked, it loads item1.swf into an mc with instance name 'container' which is place in _root. Likewise an item called "CLICK me please" would load clickmeplease.swf
Hope this clears things up a little
snaxs, about your question: you can actually load different movies. try something like this
this[buttonTitles[ i]].onRelease = function(){
active = this._name.toLowerCase();
active = active.split(" ").join("") + ".swf";
_root.container.loadMovie(active);
}
// you'll need to remove the space before the i in buttonTitles[ i]
If you have a menu item called "Item 1", this would mean that when it's clicked, it loads item1.swf into an mc with instance name 'container' which is place in _root. Likewise an item called "CLICK me please" would load clickmeplease.swf
Hope this clears things up a little