Skip to main content
Participating Frequently
December 31, 2011
Question

Actionscript not working together.

  • December 31, 2011
  • 1 reply
  • 789 views

I followed this tutorial:

http://active.tutsplus.com/tutorials/effects/create-a-glowing-mouse-trailer-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?

This topic has been closed for replies.

1 reply

Ned Murphy
Legend
December 31, 2011

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

    import flash.display.MovieClip;