Jump to content
Search Community

compilation errors

dneckles test
Moderator Tag

Recommended Posts

Hey Greensock Team

I am getting a 

/Users/dwayne.neckles/Documents/Projects/EDOXABAN-BANNER-DEVELOPMENT/trunk/Patient_Factors_Banner/com/PF_Matters_300x250.as, Line 93 1061: Call to a possibly undefined method add through a reference with static type com.greensock:TimelineLite.
 
 
Line 93 is this 
tl = new TimelineLite();
 
 tl.add(TweenLite.to(questionMark, .5, {alpha:1}))
 
Would anyone know why that wouldnt work?

 

Link to comment
Share on other sites

Thanks Carl for the fast response 
When I do
trace(TweenLite.version)
trace(TimelineLite.version)
 
I get
11.698
1.699
 
so I replaced it with v12 and got it working.
 
But I noticed when using addPause it says 
 
Error #1069: Property addPause not found on com.greensock.TimelineLite and there is no default value.

 

even with v12, would you know why that is?

Link to comment
Share on other sites

Also Carl, it might help to know that when getting it from this button on the site I get the older versions mentioned above even tho it says core version is 12.1 . I determined it was older versions from opening up TimelineLite and TweenLite as files and checking the version numbers up top. Maybe I should get it from Github only. Thanks so much for helping me troubleshoot, I didnt know about the .version property. :)dl_download_arrow.png Download zip

Link to comment
Share on other sites

Hi Dwayne,

 

Sorry for the confusion. Curious as to where you got the old version from.

 

On http://www.greensock.com/v12/

the "get GSAP" button on the left and "download AS3" button on the right both open up the same download screen that includes the AS3 12.1.1 zip

 

Screen Shot 2013-12-03 at 11.35.07 AM.png

 

I just downloaded from that screen and I got the recent version.

 

If you can send us the url or the page that had the link to the wrong file we'll definitely fix it.

 

Thanks, and sorry again about the trouble.

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