Return to Kroll Design home page

Flash Tutorials (with .FLA files included)

 
« Return

ActionScript 2

loadMovie for importing external SWF files - this example uses an empty movie clip for placeholder

Download the FLA file


In this example, the placeholder clip has no content. It exists in the library, and there's an instance of it on the stage, but there's no blue rectangle in it like in the prior example.

button1_btn.onRelease = function()
   {
	   loadMovie("movies/swf/swf1.swf", placeholder_mc);
   }


   button2_btn.onRelease = function()
   {
	   loadMovie("movies/swf/swf2.swf", placeholder_mc);
   }


   button3_btn.onRelease = function()
   {
	   loadMovie("movies/swf/swf3.swf", placeholder_mc);
   }


 
« Return


©2012 Kroll Design    info@KrollDesign.net    781.910.3694
Last modified: 12/31/1969 7:00 PM