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

SVG Manipulation

$
0
0

hi,

 

I created a SVG with the Edge Animate, but the graphic stay often down Stage, does anyone know how to solve?

 

var y1= '10';

var y2= '20';

var y3= '30';

var y4= '120';

var y5= '50';

var y6= '40';

var y7= '30';

var y8= '20';

var y9= '10';

 

var svg = ( '<svg height="500" width="500"> <polygon id="box1" fill="#D04E00" points="500,253.327 43.6,253.327 43.6,'+y1+' 90.128,'+y1+' 136.691,'+y3+' 183.254,'+y4+' 229.783,'+y5+' 276.346,'+y6+' 322.909,'+y7+' 369.437,'+y8+' 500,'+y9+' "/>')

 

sym.$("body").append(sym.$(svg).css({"position": "top"}));


Viewing all articles
Browse latest Browse all 9897

Trending Articles