Quantcast
Channel: Adobe Community : All Content - All Communities
Viewing all articles
Browse latest Browse all 290743

Change color of an object inside svg image?

$
0
0

Hi,

 

I want to draw an animal with multiple fill colors, but creating a different image for each color doesn't sound reasonable. So maybe it would be possible to change the color of the svg image with help of code.

I found the following options:

http://stackoverflow.com/questions/11978995/how-to-change-color-of-svg -image-using-css-jquery-svg-image-replacement

or

http://keith-wood.name/svg.html

 

But i get timeline errors with both options - going crazy.

Maybe someone here could create an example on how to change the color of the svg image added into stage with a click of a button?

 

Thank You


Viewing all articles
Browse latest Browse all 290743

Trending Articles



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