Why does the onPress doesn't work here. How can i solve this problem.
thx for your help. greetings
code:
for (j=0; j<rest; j++) {
_tl.attachMovie("thumb_mc", "thumb"+g, g+100);
d = eval("_tl.varReceiver.thumb"+g);
_tl["thumb"+g].loadMovie(d);
_tl["thumb"+g].onPress = function(){
trace("clicked");
}
_tl["thumb"+g]._x = x;
_tl["thumb"+g]._y = y;
g++;
x += 50;
}