Good morning guys
I’ve got a text field where I load text and pic thumbs dynamicly from actionScript…
I’ve got the code which is working that when I click the thumb it will appear bigger pic next to the text field.
The problem is that I’ve got the stage sise small and I would like to open the big picture in new swf…
myTextBox.htmlText = "<a href=\"asfunction:imageLink,image1_large.jpg\"><img src='thumbs/image1_small.jpg'></a><b>Prodám-</b> na MITSUBISHI PAJERO 2.8TD INTERCOOLER, 1999, : přední náprava 2,900Kč, zadní náprava s uzávěrkou 5,900Kč, <b>P</b>řevodovka 9,900Kč a jiné...<br><br><br><br><br>"+"<a href=\"asfunction:imageLink,image2_large.swf\"><img src='thumbs/image2_small.jpg'></a><b>Prodam-</B> na JEEP R6V laděné výfukové svody na Off-Road 2.900Kč";
//
this.createEmptyMovieClip("container", 0);
container._x = 350;
container._y = myTextBox._y;
var activeImg:String = "";
//
function imageLink(largeImg:String) {
if (activeImg != largeImg) {
activeImg = largeImg;
container.loadMovie("largeImages/"+largeImg);
}
}
I am trying to do something like this???
function imageLink(largeImg:String) {
if (activeImg != largeImg) {
activeImg = largeImg;
}
}
function openNew (imageLink) {
getURL("flashimg/bazar/","_blank");
}
oh well… and it is still not working…