PDA

View Full Version : zoom in help!!


neoaquino
06-19-2006, 02:13 AM
well my problem actually is not about zoom in's, my problem is that the one I created is only a single row, i want to make it into 4 rows when click in each of them an image will zoom and all the other image will avoid the image that zoomed, hope that made sense lol, i tried doing it but it just messes up everything.

here's the link, Zoom (http://www.247x.com/para1.swf)

if you want to take a peak on the fla here's the link Zoom FLA (http://www.247x.com/para1.fla)

Thanks to everyone who wants to help me

ovydiu
06-20-2006, 01:30 PM
it would be nice if you derived all those pictures from the same movie clip (say "fokai_merchandise_item"). then you could do something like this:

MovieClip.prototype.onMouseMove = function(){
if (this instanceof "fokai_merchandise_item"){
trace(this);
if(this.hitTest(_root._xmouse,_root._ymouse,true)) {
this.sizeUp(60);
}else{
this.sizeDown(20);
}
}
}

and inhere, you could call the sizeDown() function for the other mcs..