Skip navigation
Currently Being Moderated

Actionscript not working together.

Dec 31, 2011 12:51 PM

I followed this tutorial:

 

http://active.tutsplus.com/tutorials/effects/create-a-glowing-mouse-tr ailer-in-flash/

 

And got the effect.

 

Then I added it to my flash file that I'm working on, but everytime I add an instance name to ANYTHING I get this error:

 

1046: Type was not found or was not a compile-time constant:Movieclip

 

If I get rid of everything that has an instance name it will actually work, but I need instance names for my preloader bar.

 

Why is this and what can I do to fix this?

 
Replies
  • Currently Being Moderated
    Dec 31, 2011 1:40 PM   in reply to GeorgeT24

    See if adding a line to import the MovieClip class along with the rest of your imports helps...

     

        import flash.display.MovieClip;

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points