HELP: Button inside text field?

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&#345;ední náprava 2,900K&#269;, zadní náprava s uzáv&#283;rkou 5,900K&#269;, <b>P</b>&#345;evodovka 9,900K&#269; 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&#283;né výfukové svody na Off-Road 2.900K&#269;";
//
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…