Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

resizing picture in center on click

$
0
0

I have a logo with is placed in the middle of the stage and when I click on it, the logo should resize a x amount of pixels in the width and height. (see code below)

sym.$("Logo").animate({"width":"120","height":"40"}, 400); 

but i want this logo to resize and still stay centered. I feel like I need to add some code related to center alignment, but I don't know how.

Thanks in advance.


Viewing all articles
Browse latest Browse all 9897

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>