954,202 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Flash Query

Need a script to zoom in on mouse click / over in flash mx.
Pls do reply soon.

thanks

kmits
Newbie Poster
1 post since May 2007
Reputation Points: 10
Solved Threads: 0
 

You can try something like:

on(rollover){
 image.width = image.widht + 10;
 image.height = image.height + 10;
}
on (rollout){
 image.width = image.widht - 10;
 image.height = image.height - 10;
}
hussulinux
Light Poster
42 posts since Feb 2007
Reputation Points: 10
Solved Threads: 2
 

You can try something like:

on(rollover){
 image.width = image.widht + 10;
 image.height = image.height + 10;
}
on (rollout){
 image.width = image.widht - 10;
 image.height = image.height - 10;
}

This would work until you have set noScale property to no. Better would be using MovieClip._height or MovieClip._height where movie clip would be replaced by the clip instance name or _root for whole movie. You could also use _xscale or _yscale properties if you want relative zoom.

vishesh
Nearly a Posting Virtuoso
1,381 posts since Oct 2006
Reputation Points: 85
Solved Threads: 42
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: