Jump to content
Search Community

import on flash CS4 with AS3

malakief test
Moderator Tag

Recommended Posts

Hi,

 

im a noob, and i need help.

 

i've downloaded the latest package Version: 11.133, and copy-pasted the com directory into my flash folder.

when i try to import a class, i have this error:

 

1172 Definition com.greensock:TweenLite could not be found.

 

the as3 code:

import com.greensock.TweenLite;

 

im on windows 7.

 

Thank you for your help.

Link to comment
Share on other sites

hi,

 

thank you for your help, but it doesn't work :roll:

 

 

edit:

i found the problem, a strange problem, i copied the com folder into my fla folder, but i didn't copied the greensock.swc(don't know what is it for) who was near the com folder, and now i have another message...... :ugeek:

 

ReferenceError: Error #1065: Variable com.greensock::TweenLite is not defined.

at sprint_0_fla::MainTimeline/frame1()

 

there is the code:

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

TweenLite.to(t, 1, {x:100, y:200}); 

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