hi,
I’m creating a flash portfolio, I have small image icons, each icon when clicked on loads a diff. swf file, image gallery that loads bigger external images.
I would like a different external text file to load every time a diff. image gallery loads,
for some reason I cant find the answer to my problem,
any one out there who can please help?
I would like to add some actionscrpt to each icon/button so it will load a new txt file when clicked on.
thankx
(each image icon is a button and has the instance name of icon 1, 2 etc.)
the code goes like this;
stop();
menuHolder.loadMovie(“retail/photoViewer.swf”)
loadMovie (“retail/photoViewer.swf”, “_root.menuHolder”);
icon1.onRelease=function(){
loadMovie (“retail/photoViewer.swf”, “_root.menuHolder”);
}
icon2.onRelease=function(){
loadMovie (“retail/photoViewer2.swf”, “_root.menuHolder”);
}
icon3.onRelease=function(){
loadMovie (“retail/photoViewer3.swf”, “_root.menuHolder”);
}
icon4.onRelease=function(){
loadMovie (“retail/photoViewer4.swf”, “_root.menuHolder”);
}
icon5.onRelease=function(){
loadMovie (“retail/photoViewer5.swf”, “_root.menuHolder”);
}
icon6.onRelease=function(){
loadMovie (“retail/photoViewer6.swf”, “_root.menuHolder”);
}
icon7.onRelease=function(){
loadMovie (“retail/photoViewer7.swf”, “_root.menuHolder”);
}
icon8.onRelease=function(){
loadMovie (“retail/photoViewer8.swf”, “_root.menuHolder”);
}
icon9.onRelease=function(){
loadMovie (“retail/photoViewer9.swf”, “_root.menuHolder”);
}
icon10.onRelease=function(){
loadMovie (“retail/photoViewer10.swf”, “_root.menuHolder”);
}
icon11.onRelease=function(){
loadMovie (“retail/photoViewer11.swf”, “_root.menuHolder”);
}
icon12.onRelease=function(){
loadMovie (“retail/photoViewer12.swf”, “_root.menuHolder”);
}