/** * Instant Slide Show * * Takes whatever is selected in your library and puts it on the stage, * one item per layer, and cross-fades them together. * */ //You can change the number of frames for the fade-in/out here: var slideDuration = 42; //how long to display the clip in frames var fadeDuration = 10; // how long to fade in, in frames. //===========================================// //Get local references to useful variables. var document = fl.getDocumentDOM(); var library = document.library; var selItems = library.getSelectedItems(); var trace = fl.trace; var slides = new Array(); //loop through our items and put them into clips which we can then animate. //if the item is already a graphic/movieclip this step is ignored. for(var i=0;i