Hi, how is possible passing parameter inside button.
Sample.
for(var i:Number = 0; i<totalArray-1; i++) {
var item_mc = mc.attach.attachMovie(“boxEven”, “boxEven” + i, i);
item_mc.title.htmlText = item_mc;
item_mc.btnListaEventos.onRelease = function () {
loadMovie(“lista.swf?listid=” + i + “&tit=” + item_mc.title.htmlText, container);
};
}
The problem is when I click and any button the value in the button is every the last item loaded and never the real value clicked. Why? And how make correct?
Any help?
Thanks