Hi, I’m trying to create a directory page for my photogallery. On the directory page, I have buttons that when pressed should call a movieclip template to be loaded into the container and send a parameter with it to indicate which photo I want to see. My code is below, but it just loads the container and not the swf movie.
How can I pass a parameter properly? Can someone advise? Thanks!
btnArt02.onRelease = function() {
_root.container.loadMovie(“ymgalleryind.swf?artindex=2”);
container._x = 0 ;
container._y = 0 ;
};
btnArt03.onRelease = function() {
_root.container.loadMovie(“ymgalleryind.swf?artindex=3”);
container._x = 0 ;
container._y = 0 ;
};