Skip to main content
Known Participant
June 20, 2013
Question

i want to "open URL" link in my function on thumb.

  • June 20, 2013
  • 1 reply
  • 338 views

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);

};

};

This topic has been closed for replies.

1 reply

Ned Murphy
Legend
June 20, 2013

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?