• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Actionscript not working together.

New Here ,
Dec 31, 2011 Dec 31, 2011

Copy link to clipboard

Copied

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?

TOPICS
ActionScript

Views

765

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 31, 2011 Dec 31, 2011

Copy link to clipboard

Copied

LATEST

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

    import flash.display.MovieClip;

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines