PDA

View Full Version : Button within Movieclip Problem



nemedia
November 13th, 2006, 10:22 AM
Walked into a slight problem, i have designed a menu system (like marcromedia's own) but not sure on how to do the actionscript to control the buttons... i want the buttons to open external movies... i have attatched the stripped menu any help would greatly appreciated.

junkerjorg
November 13th, 2006, 10:40 AM
I would create an empty movie clip and give it the instance name of "container" and then code each of your buttons with something like this.


on (release) {
_root.container.loadMovie("someMovie.swf");
}

don't forget to put an instance of the empty mc on the stage.

nemedia
November 13th, 2006, 01:41 PM
Been so long since i did any AS thats i forgot lol cheers