1 Reply Latest reply on Aug 13, 2009 11:29 PM by webqaflash

    LoadMovie - Trying to load an external swf

    Deano Bambino

      Hello!

      This is my first time ever constructing a web site ONLY using Flash 8. I normally just use elements here and there, and I am totally confused.

      The link to the project is here: www.cathisingh.com/new

      I want the site to be set up so that when I click a button (at the bottom), an external .swf file loads into that gray box in the center. How do I start? Where do I start? I should be able to figure this out, but I am stuck.

      Thanks for the help!

        • 1. Re: LoadMovie - Trying to load an external swf
          webqaflash Level 3

          First convert the greybox to a movieclip(if you already done this, please ignore) and give an instance name for eg; loader_mc

           

          And for the home button(let us assume instance name home_mc),

          home_mc.onPress = function(){

          _root.loader_mc.loadMovie("home.swf");//or loadMovie("home.swf", _root.loader_mc );

          }

           

          there should be an swf with the name home.swf along with the main movie