Jump to content
Search Community

xparrot

Members
  • Posts

    6
  • Joined

  • Last visited

xparrot's Achievements

0

Reputation

  1. Thank you, that did the trick. Another, DUH, moment for me. Appreciate the help
  2. Is there any other way to call a function that'll work with that fl.transition in place?
  3. I am tweening the Adobe way throughout the rest of my animation so I need that transition. So I can't use green sock with that transition in place?
  4. I looked at onCompleteListener and tried that too. This is the error I get when using onCompleteListener: TypeError: Error #1034: Type Coercion failed: cannot convert com.greensock.events::TweenEvent@53efcf61 to fl.transitions.TweenEvent. at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at com.greensock::TweenMax/render() at com.greensock.core::SimpleTimeline/render() at com.greensock.core::Animation$/_updateRoot()
  5. If do that, I get this error: ArgumentError: Error #1063: Argument count mismatch on MethodInfo-308(). Expected 1, got 0. at Function/http://adobe.com/AS3/2006/builtin::apply() at com.greensock::TweenMax/render() at com.greensock.core::SimpleTimeline/render() at com.greensock.core::Animation$/_updateRoot()
  6. I'm new to green sock, but very well versed in Flash and ActionScript. I cannot for the life of my get an onComplete to work. Here is my code, maybe I have it in the wrong place?: function RedWineBounce04(event:TweenEvent):void { TweenMax.to(mcRedWines, tweenSpeedBounce, {bezier:{type:"quadratic", values:[{x:X_02_RedWines, y:Y_02_RedWines}, {x:(X_02_RedWines+BounceDistance), y:(Y_02_RedWines-BounceDisplacement)}, {x:(X_02_RedWines+125), y:Y_02_RedWines}], ease:Linear.easeNone, onComplete:MadeIt}}); X_02_RedWines = X_02_RedWines + 125; function MadeIt(event:TweenEvent):void { trace("Made It"); } }
×
×
  • Create New...