Jump to content

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


  • Posts

  • Joined

  • Last visited

jjletho's Achievements



  1. jjletho

    bezier circle

    thanks Blake and Diaco! you did a very good explaination I also did a svg circle from bezier correctly but not using the same coords as a path with bezier plug-in. Btw your solutions are brilliant and will help me very much! jj
  2. jjletho

    bezier circle

    Hi I'm working on a loader, using bezier to draw a circle. But following math I got a straight line at the top of my path. my tween is basically TweenMax.to(pillole[e],5, {bezier:{ type:"cubic", values:[{x:0, y:r},{x:-c*r, y:r}, {x:-r, y:c*r}, {x:-r, y:0},{x:-r, y:0}, {x:-r, y:-c*r}, {x:-c*r, y:-r}, {x:r, y:-r},{x:0, y:-r}, {x:c*r, y:-r}, {x:r, y:-c*r},{x:r, y:0}, {x:r, y:0}, {x:r, y:c*r}, {x:c*r, y:r}, {x:0, y:r}], autoRotate:false},repeat:1,ease:Linear.easeNone,yoyo:false}); any thought??? cheers marco
  3. hi jack, I had a little problem with tweenmax using the same code to tween a movie clip I get tweo different results when using old and new version of tweenmax you can check the results here: http://www.marcosalvatori.com/greensock/ this is the simple code: ////greensock import com.greensock.layout.*; import com.greensock.*; import com.greensock.easing.*; import com.greensock.plugins.*; import com.greensock.loading.*; import com.greensock.events.LoaderEvent; import com.greensock.loading.display.*; /////////////////////////////////////// moves.x=0; moves.addEventListener(MouseEvent.MOUSE_MOVE,goM); function goM(e:MouseEvent){ if(moves.width>stage.stageWidth){ TweenMax.to(moves,.5,{x:Math.round(-1*((moves.width-stage.stageWidth)*(stage.mouseX/stage.stageWidth)))}); }else{ TweenMax.to(moves,1,{x:0,ease:Strong.easeOut}); } } The problem is: I prefer the old one Do you know a trick to get the same result with new release of tweenmax?
  4. thx it works like a charm http://www.marcosalvatori.com/photowhit ... on=Gallery
  5. hi jack thanks for your reply: my transformAroundCenter: /** * VERSION: 1.31 * DATE: 1/13/2010 * ACTIONSCRIPT VERSION: 3.0 * UPDATES AND DOCUMENTATION AT: http://www.TweenMax.com TransformAroundPointPlugin.as * VERSION: 1.61 * DATE: 12/2/2009 * ACTIONSCRIPT VERSION: 3.0 * UPDATES AND DOCUMENTATION AT: http://www.TweenMax.com
  6. Really strange issue: when I use transformAroundCenter applied to an autoFitArea object TweenMax.to(area, 0.5, {onStart: function(){ imgArea.removeEventListener(MouseEvent.CLICK, zoom); }, transformAroundCenter: { width: fla.stage.stageHeight * (def_) * 1.3, height: fla.stage.stageHeight * 1.3 }, onComplete: zoomMove, ease: Strong.easeIn } ); it works only if I use: area.preview = true; otherwise I get this error: TypeError: Error #1009: Impossibile accedere a una proprietà o a un metodo di un riferimento oggetto null. at com.greensock.plugins::TransformAroundPointPlugin/onInitTween()[E] at com.greensock.plugins::TransformAroundCenterPlugin/onInitTween()[E] at com.greensock::TweenLite/init()[E] at com.greensock::TweenMax/init()[E] at com.greensock::TweenMax/renderTime()[E] at com.greensock.core::SimpleTimeline/renderTime()[E] at com.greensock::TweenLite$/updateAll()[E] any help will be appreciate