Jump to content
Search Community

TweenMax Glow Filter throws error: 1084

learner_7n test
Moderator Tag

Recommended Posts

the from and to vars need to be separated with a comma

and you left off the end } on the from vars

 

 

{glowFilter:{color:0xCCCCCC, alpha:1, blurX:10, blurY:10, strength:10, quality:2}} , {x:150,y:50, delay:2}

 

TweenMax.fromTo(box_mc, 2, {glowFilter:{color:0xCCCCCC, alpha:1, blurX:10, blurY:10, strength:10, quality:2}},  {x:150,y:50, delay:2});

 

and also you should try to have your FROM and TO properties match. the whole point of a fromTo is to specify start and end values of the same properties.

 

TweenMax.fromTo(box_mc, 2, {x:0}, {x:100});

 

what you're doing is analogous to saying "I would like you move from an x of 10 to a rotation of 45."

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.
×
×
  • Create New...