I am loading seperate swf files into the main swf file with the onclipevent command. I want one of the buttons to be a exit button. For some reason I can not get it to exit the whole movie, just the one swf file that was loaded. I will put the code below for the button, any ideas how to get the whole thing to exit/close when the exit button is clicked?
onClipEvent (load) {
ButtonTextVariable=“Exit”;
fscommand(“quit”);
**placement = “_root.DisplayArea”; **
scale = 0;
}
onClipEvent (enterFrame) {
if (scale == 1) {
_x = _x+(100-_x)/6;
}
if (scale == 0) {
_x = _x+(20-_x)/10;
}
}
I am using the windows platform also, but must work on multiple platforms.