Skip to main content
Known Participant
June 20, 2013
質問

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

  • June 20, 2013
  • 返信数 1.
  • 338 ビュー

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

};

};

このトピックへの返信は締め切られました。

返信数 1

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?