1 Reply Latest reply on Jan 16, 2009 10:37 AM by Joe ... Ward

    HELP

    fypstudent
      Hi,
      I follow this tutorial on this textbook but there was an error which I do not know how to solve it. I suppose to do a Air Application which would create a non-rectangular window.

      However it comes out with this error:
      5000: The class 'ExampleWindow' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.

      Which I'm unsure on how to solve it. Can anyone help? Thanks

        • 1. Re: HELP
          Joe ... Ward Level 4
          Well without knowing anything about this tutorial or your code, I'm guessing that you need to change "ExampleWindow extends Sprite" to "ExampleWindow extends MovieClip" in ExampleWindow.as.

          AIR only requires that the main class extend Sprite, but authoring in Flash adds an additional requirement that the main class extend MovieClip (which, itself, extends Sprite).