Jump to content
GreenSock

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

very easy TimelineLite...don't work

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

I'm working...or trying to work with GSAP in Adobe Edge..

 

And want to learn TimelineLite, i viewed the quick tip, which look very clear.

But when i want to make the simple one...it won't work...with "" without "" 

insert tweenMax...also tweenlineLite...,

different kind of object...sad but true...no action

 

Does anybody know, what i'm doing wrong?

 

grt, marcel

 

 

// insert code to be run when the composition is fully loaded here

var myWheel = sym.$("RoundRect");
var rect = sym.$("rect");
 
var tl = new timelineLite();
 
tl.to(rect, {x:750})
  .to(myWheel, {x:750});
Link to comment
Share on other sites

Hi and welcome to the GreenSock forums.

There could be any number of problems, but from the code you posted I see this mistake:

 

BAD

var tl = new timelineLite();

GOOD // T must be uppercase

var tl = new TimelineLite();
  • Like 1
Link to comment
Share on other sites

Super thanks, tomorrow first thing to do in the morning!

  • Like 1
Link to comment
Share on other sites

thanks, it works, (i also had forgotten the time...@^*$*^*@ ;-( )

 

i'm glad that i can go on with gsap..

 

One small thing, the file (.oam) made by Adobe Edge isn't small...it is even bigger than a normal Edge work-around... 

I've got images of 700kb and the .oam file is more then 1mb ( by Edge should it be less dan 1 mb)

 

I hope i did something wrong (again) because , slow and heavy animations are the major things to build it in Gsap....

Link to comment
Share on other sites

Hi cartamundi  :)

 

Your second question ( .oam file size ) isn't about GSAP ! ,

 

pls ask your Edge Animate questions here : https://forums.adobe.com/community/edge_animate

 

anyway , your file size is normal . you can rename the .oam file to .zip and extract that as a normal zip files . check the contents , zip again and rename that to .oam .

  • Like 2
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.
×