Jump to content
Search Community

What to import? [SOLVED]

eerdepeer test
Moderator Tag

Recommended Posts

Hi, I'm working with Flex builder and Flash CS4 and am trying to get TweenMax.allTo get to work, but it just won't.

 

Normal tweening with TweenMax works well, but when I use this code:

TweenMax.allTo([cards.card2.gegevens, cards.card3.gegevens], 0.5, {alpha:0, ease:Strong.easeOut});

 

the Flash output says something like: allTo is not a function.

 

It looks like I have to import something more than just gs.* and gs.easing because the allTo is not becoming blue in Flex. If I type TweenMax.to, than to becomes blue.

 

PS: I have "Keep imports organised" on in Flex' preference panel, but stupid Flex isn't automatically importing anything at all. :?:

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...