Jump to content
Search Community

Please help me with this error: 1048: Method cannot be used as a constructor.

learner_7n test
Moderator Tag

Recommended Posts

Hi,

 

I am getting the following error:

 

1048: Method cannot be used as a constructor.

 

The following is the code:

 

var timeline1:TimelineMax = new TimelineMax();

timeline1.append(new TweenMax.fromTo(HLineTop1, 2, {x:10, y:10, alpha:.5}, {x:10, y:10, alpha:1, delay:1, ease:Strong.easeOut}));

 

Thanks.

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