The forums have permanently moved to This forum will be kept around in read-only mode for archival purposes. To learn how to continue using your existing account on the new forums, check out this thread.

Results 1 to 3 of 3

Thread: 1017: The definition of base class MovieClip was not found

  1. #1

    1017: The definition of base class MovieClip was not found

    As the title says, that is the error I am getting. It pinpoints this error at line 2 of the following code for my very basic class:

    package  {    
        import flash.display.MovieClip;
        public class Block extends MovieClip{
            public function Block() {
                // constructor code
    If you need more info, lemme know.

  2. #2
    The code looks good to me, it almost looks like CS default generated code.

    My guess is you have some Package or Path issue here.
    Is the As3 file being saved to the same DIRectory as the FLA file?
    As the ' package { ' statement would indicate it should be.
    Also do you have the config Constants Dir correct such as $(AppConfig)/ActionScript 3.0/Classes
    Also as your function and class are called 'Block' , Is your As3 File being saves as Block.As ?

  3. #3
    Sorry, I didn't see this reply before.

    To answer you questions, yes, I don'y know, yes. However I did eventually find a solution.

    Funny thing is, I can't remember what it was >.< I just know it works.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Home About Meet the Moderators Advertise

 Link to Us


Copyright 1999 - 2012