Hi
am trying to load list of images using action script… and i wanna perform some mevent on those images. for that i used LoadMovie function.
for(i=0;i<5;i++)
{
_root.createEmptyMovieClip(“imageHolder”+i, 100+i);
_root[“imageHolder”+i].loadMovie(“img/”+i+".jpg");
xaxis=xaxis+70;
_root[“imageHolder”+i]._x=xaxis;
_root[“imageHolder”+i]._y=yaxis;
_root["imageHolder"+i]._xscale=5;
_root["imageHolder"+i]._yscale=5;
_root["imageHolder"+i]._alpha=50;
_root["imageHolder"+i].onRollOver=function()
{
_root["imageHolder"+i]._alpha=100;
}
_root["imageHolder"+i].onRollOut=function()
{
_root["imageHolder"+i]._alpha=50;
}
}
is there any mistakes in above code… bcse events r not working…
can any one hlep me out in this…?
if not in this form… is there is any other option to load lsit of images dynamically and can apply events on that??
help me plz…
Tnx in advance…
PRATAP