Skip to main content
Participant
November 19, 2023
Answered

Compiler Errors

  • November 19, 2023
  • 1 reply
  • 92 views
  1.  Scene 1, Layer 'kode', Frame 100, Line 7, Column 31 1151: A conflict exists with definition nilai in namespace internal.
  2. MPI (Compiled Clip), Line 1, Column 1 5000: The class 'popupMC' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.

 

Code:

    This topic has been closed for replies.
    Correct answer kglad

    from Flash Game Development: In a Social, Mobile and 3D World

     

    1151: A conflict exists with definition xxxx in namespace internal.

    You have more than one of the following statements in the same scope:

    var xxxx:SomeClass;

    // and/or

    var xxxx:SomeClass = new SomeClass();

    To remedy, change all but the first  to:

    xxxx = new SomeClass();

     

    5000: The class 'xxx' must subclass 'yyy' since it is linked to a library symbol of that type

    in your class file:

    add import xxx to yyy 

    use private/public/etc class xxx extends yyy

    1 reply

    kglad
    Community Expert
    kgladCommunity ExpertCorrect answer
    Community Expert
    November 19, 2023

    from Flash Game Development: In a Social, Mobile and 3D World

     

    1151: A conflict exists with definition xxxx in namespace internal.

    You have more than one of the following statements in the same scope:

    var xxxx:SomeClass;

    // and/or

    var xxxx:SomeClass = new SomeClass();

    To remedy, change all but the first  to:

    xxxx = new SomeClass();

     

    5000: The class 'xxx' must subclass 'yyy' since it is linked to a library symbol of that type

    in your class file:

    add import xxx to yyy 

    use private/public/etc class xxx extends yyy