PDA

View Full Version : Unload several layers


wendel
06-04-2001, 09:08 PM
I would like to know if there is a peice of actionscript that will unload "all" layers above "0"?

What is the best way to copy an entire scene from one movie to another?

Thanks

Wendel

mgb
06-04-2001, 11:21 PM
Welcome to actionscripts...

var nm = number of layers to unload.

for(k=0;k<nm;++k){
Unload Movie(k);
}

will run through k =0, 1, 2, ... nm and unload movies on those levels.

To copy the frames in a scene select all the frames and go Ctrl+Alt+c, then select the first frame in the scene you want to past and go Ctrl+Alt+v.

~mgb

wendel
06-05-2001, 12:41 AM
Thanks for the speedy and useful reply. I am off to try the actionscript - thanks also for the feedback on my question to copy a scene, I was hoping there was some cool trick other than copy/paste - oh well...

Wendel