Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

Node London

BusinessGreen
  • Content Count

    3
  • Joined

  • Last visited

Everything posted by Node London

  1. Hi there, I'd like to tween a property of an SVG clipPath, or possible just the position / rotation of the path. For instance, can I tween the 'M 199.6' value in bold below? Or can I tween the rotation / position of 'Layer_STROKES' ? Thanks in advance as always. <!-- /////////////////////// SVG ////////////////////////// --> <svg height="0" width="0"> <defs> <clipPath id="svgPath"> <path id="Layer_STROKES" stroke="#CCCCCC" stroke-width="1" stroke-linejoin="round" stroke-linecap="round" fill="none" d=" M 199.6 120 L 199.5 119.5
  2. Hi there, is is possible to retrieve the current character being tweened as part of a SplitTextField timeline animation? Essentially I'm using it to simulate some text being typed out and I would like a separate object (the cursor) to follow the last character alpha'd in. Perhaps I can get this form the onUpdate ? Sample code below : _AnimationTimeline.append(TweenMax.allFrom(stf.textFields, 2, {autoAlpha:0, onUpdate:moveCursor, onUpdateParams:[ "pass the current character here" ]}, 0.06)); function moveCursor () : void { //// reposition the cursor based on the curre
×