Jump to content
Search Community

kenc3dan

Members
  • Posts

    2
  • Joined

  • Last visited

kenc3dan's Achievements

0

Reputation

  1. var df = svgDoc.getElementById("dogface"); TweenLite.to(df, 1.5, {width:400, delay:0.5, onComplete:myFunction}); function myFunction() { console.log("tween finished"); } Tried this and it indicates the tween is finished but that dogface object sure looks the same to me.
  2. Hi, I have an SVG document loading in an object tag <object data="maps/mymap.svg" type="image/svg+xml" id="svgObject"></object> It's showing up fine but I can't seem to get it animating. I'm using SVGPan on it so it can be panned and zoomed OK. I try to send a tween command to an element in the SVG and I get nothing. No error, it just sits there. I know the element is found OK, I can see it in the console. Thanks for any help, I'm new, Ken
×
×
  • Create New...