i got a code for loading external images into a movieclip, works fine and all…
var orgImages:Array = ["./images/pic1.jpg","./images/pic2.jpg","./images/pic3.jpg", "./images/person1.jpg"];
var images:Array = orgImages.concat();
function pickOne(){
var theOne:Number = makeRandom(0,images.length);
var theImage:String = images[theOne];
loadMovie(theImage, imageHolder.holder_mc);
images.splice(theOne,1);
if(images.length <= 0) images = orgImages.concat();
}
function makeRandom(min,max){
return Math.floor(Math.random()*(max-min)+min)
}
pickOne();
but now i want to add links to the images so when u press on “imageHolder” that the image u see brings u to its own page. The idea is clear but how i have to do it, i have no idea
eventually this has to happen: imageHolder.onRelease = function() { getURL(url);}