Jump to content

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

calling tween play or resume in function

Recommended Posts

Newbie here, just trying GreenSocks out, so this is my 1st tweens using GS. Im simply trying to call a tween event in a function usig this code;


import com.greensock.*;

import com.greensock.easing.*;


var gar:TweenLite = new TweenLite(square, 2, {x:200, y:300, alpha:.5, rotation:360, ease:Back.easeOut});




square.addEventListener.(MouseEvent.ROLL_OVER, go);

function go(event:MouseEvent):void {




But not working. Im getting this error;


TypeError: Error #1123: Filter operator not supported on type builtin.as$0.MethodClosure.

at greeSockProperties_fla::MainTimeline/frame1()



Link to comment
Share on other sites

It sounds like you have some other error on the first frame of your FLA. I don't think it's related to TweenLite at all. If you're still having trouble, please post your FLA that demonstrates the problem (don't forget to zip it first).

Link to comment
Share on other sites

  • 2 weeks later...

thanks. I used the documentation and am much more comfortable with these classes now. Your fast response was much appreciated.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.