Jump to content
Search Community

maadmaxx

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by maadmaxx

  1. having trouble with the as2 dynamicProps usage. the as2 example has as3 references - mouseX instead of _xmouse for example. after changing these over, nothing happens. (i have a licence ) import com.greensock.TweenLite; import com.greensock.plugins.TweenPlugin; import com.greensock.plugins.DynamicPropsPlugin; TweenPlugin.activate([DynamicPropsPlugin]); //activation is permanent in the SWF, so this line only needs to be run once. function getMouseX():Number { return this._xmouse; } function getMouseY():Number { return this._ymouse; } TweenLite.to(my_mc, 3, {dynamicProps:{_x:getMouseX(), _y:getMouseY()}});
×
×
  • Create New...