Skip to main content
August 14, 2009
Question

LoadMovie - Trying to load an external swf

  • August 14, 2009
  • 1 reply
  • 360 views

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!

This topic has been closed for replies.

1 reply

webqaflash
Inspiring
August 14, 2009

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