Edge Commons - Interactive Svg Map
hi folks!
i've watched extraordinary video tutorial of talented guys edgedocks (http://edgedocks.com) how build interactive svg graphic adobe illustrator , adobe edge animate: http://www.youtube.com/watch?v=4ueb6galkuw.
i've followed example explained in video tutorial using svg map file , making selectable 1 region (the lower right, in light brown color) try:
http://www.terredainventare.it/svg/mappasvginteractive.html
(project files: http://www.terredainventare.it/svg/svgmap.zip)
so when select regione, edge animate replaces placeholder text name of path ("isontino"), when click red ellipse, color of region remains in light brown. why?
many in advance help!
davide
hi!
following precious hint of simon widjaja, author of edgecommons libraries,
i've replaced
$(selectedpart).css("fill", $(e.currenttarget).css("background-color"));
with
$(selectedpart).each(function (index) {
$( ).css("fill", $(e.currenttarget).css("background-color"));
})
beacuse "selectedpart" group in adobe illustrator , need select each element fill color: but doesn't work.
where wrong?
here update project files: http://www.terredainventare.it/svg/svgmapeach.zip
many in advanced!
davide
More discussions in Edge Animate CC
adobe
Comments
Post a Comment