| jmack007 2004-04-24, 5:30 pm |
| Hello --
Yes it does involve loadMovie() but that's not all.
You can do two things.
1. You can hard code an array of the swfs you want to load when the nav
buttons are clicked then pass the current array element to a loadMovie()
function you will create that will play the first half of the transition and do
a preloader on whatever array element is being inserted into the movie clip
that holds your content swfs
2. Or-- you can define a variable in the first frame of your transition movie
clip and have this variable change based on the swf title or jpeg asset you are
wanting to load when the curtains close and open.
Alternatively-- and the way I do it, is you can put references to all of your
swfs in an XML document and have your loadMovie custom function just walk the
tree-- therefore you can add, change and remove any swfs you may want to have
in the future as the site grows or maintenance occurs.
--jmac
|