Jump to content
Search Community

Torben

Premium
  • Posts

    31
  • Joined

  • Last visited

Everything posted by Torben

  1. Thanks It's a banner so I can't spare the extra kb in TimelineLite/Max. I'll figure something out.
  2. I'm not sure I can explain this but I'll try. I have a movieclip that has a timeline animation (that I'd rather not convert to a tween) that changes scale, rotation and so on. The same movieclip will at some time be tweened with TweenNano too (again scale, rotation...). I stop() the timeline animation before I tween it. The next time I try to play() the timeline animation nothing happens - the playhead on the timeline is progressing, I can tell by tracing the currentFrame on ENTER_FRAME but the scaling, rotation, x & y doesn't change as it goes along the timeline animation. Seems like the TweenNano has overwritten the timeline animation or something.
  3. Nevermind - I found another solutiuon on a blog.
  4. Thanks Jack I'm trying to imitate the bezier/bezierThrough example where you can drag a point and the line curves with it. And when using bezierThrough it curves through the point. I'm thinking I should do this: shape.graphics.clear(); shape.graphics.lineStyle(lineWeight, lineColor, 1, true, LineScaleMode.NONE, CapsStyle.NONE); shape.graphics.moveTo(lineStartX, lineStartY); var bezPoints:Object = BezierPlugin.parseBeziers({"x":[lineStartX, mouseX, lineEndX], "y":[lineStartY, mouseY, lineEndY]}, true); shape.graphics.curveTo(bezPoints.x[0][1], bezPoints.y[0][1], bezPoints.x[0][2], bezPoints.y[0][2]); But that doesn't work - does anyone know what I'm doing wrong
  5. Hi Jack - or anyone else who can answer this. I'm trying to acheive (sp?) the same thing - I think I'm drawing a bezier curve according to the user mousx and mouseY position. I would like to change it to your more "natural" bezierThrough points. Now I have: shape.graphics.curveTo(mouseX, mouseY, lineEndX, lineEndY); So instead of mouseX and mouseY I would need the bezierThrough points - lineEndX and lineEndY doens't change. But I'm not sure what to feed the BezierPlugin.parseBeziers method. I think I just don't get the idea behind bezier points. Thanks
  6. Yep - speed above anything else
×
×
  • Create New...