Jump to content
Search Community

using Tweenmax.allTo in a TimelineMax. Getting error 1067

adifrank test
Moderator Tag

Recommended Posts

I have some text that I broke up into into individual letters - each in a MovieClip.

I placed these MovieClips (containing the letters) in an Array.

Now I want to do some tweening with TweenMax and TimelineMax.

I've tried some code... but it isn't working.

Getting error 1067: Implicit coercion of a value type Array to an unrelated type com.greensock.core:TweenCore

 

Here's my code. What is wrong?

 

import com.greensock.*;
import com.greensock.easing.*;

var myTimeline:TimelineMax = new TimelineMax();
var letters:Array = new Arraytxt01, txt02,txt03, txt04, txt05, txt06, txt07, txt08);
myTimeline.append(TweenMax.allTo(letters, .5, {y:"400", delay:1.6}, .1));

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