Copy link to clipboard
Copied
function callThumbs() {
root.createEmptyMovieClip("wall",root.getNextHighestDepth());
wall._x = root.galleryx=0;
wall._y = root.galleryy=230;
wall.addEventListener(MouseEvent.CLICK);
var clipLoader = new MovieClipLoader();
var preloader = new object();
clipLoader.addListener(preloader);
for(i=0; i<1; i++) {
thumbURL = myImages.attributes.thumb_url;
myThumb_mc = wall.createEmptyMovieClip(i,wall.getNextHighestDeph());
myThumb_mc._x = root.thumbheight*
myThumb_mc._x = root.thumbposition=-3260;
clipLoader.loadClip("thumbs/"thumbURL,myThumb_mc);
};
};
Copy link to clipboard
Copied
You appear to be mixing AS2 and AS3 in the same code. You can only use one version of Actionscript in one file.
What do you mean when you say you "want to open URL" on thumb?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now