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

Color in symbols

$
0
0

Hello

    I'm trying to develop an application for soccer uniform coloring, and could color the svg. Only that will put many uniforms, then turned into symbol to put them in there. The button Next can navigate between models and coloring them, but when I click back models appear but unable to colored them or select them. I will put the code below to see if you can help me:

 

 

 

BUTTON BACK:

sym.getSymbol ("shirts") playReverse (.);

 

 

 

CODE SELECTING THE PARTIES:

EC.SVG.accessSVG (sym.getSymbol ('shirts'). $ ('C03')). Done (

function (svgDocument) {

 

 

// Add event listener

svgDocument.addEventListener ("select" function (event) {

 

 

// Remember selected part

sym.setVariable ("selectedPart" event.target);

 

 

// Show the id of the selected part in the textfield

sym $ ("selectedPartTxt") html (event.target.id)..;

 

 

});

});


Viewing all articles
Browse latest Browse all 9897

Trending Articles



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