Hi there,
I was working on dynmic loading contents, I have done some code to list all thumbs on the stage and was going to assign URL for each moveclip.
It seems doesn't work for assigning links at the moment. Would you please help me take a look of this? Anything wrong?
Cheers
Code:var thumbHorizontalGap = 110; //var url:String = "http://img0.gmodules.com/ig/images//weather_welcome_image.jpg"; var arrURLs:Array = ["http://l.yimg.com/us.yimg.com/i/us/ga/gameart2/perilendhouse/perilendhouse-100.gif", "http://l.yimg.com/us.yimg.com/i/us/ga/gameart2/sallyssalon/sallyssalon-100.gif", "http://l.yimg.com/us.yimg.com/i/us/ga/gameart2/riseofatlantis/riseofatlantis-100.gif"]; for (var i:Number = 0; i < arrURLs.length; i++) { var url:String = arrURLs[i]; _root.createEmptyMovieClip("vThumb"+i, i+1000); vidThumb = eval("vThumb"+i); vidThumb._y = i*thumbHorizontalGap; vidThumb.loadMovie(url); vidThumb.onRollOver = function() { getURL("http://www.google.com","_self"); }; //trace(vidThumb); } /* function openURL(url) { getURL(url); } */




Reply With Quote