3 Replies Latest reply on Aug 4, 2008 9:19 PM by soldier43

    HELP!

    soldier43
      I need help with something. My assignment is to:

      1. Create a new ActionScript Project
      2. Import the IPerson interface file instructor used in class
      3. Create a Student class that implements the IPerson interface
      * Add a method named study()
      * Add a property named major
      4. Create a Teacher class that implements the IPerson interface
      * Add a method named teach()
      * Add a property named department
      5. In the main source file -
      * Instantiate the Student class, set all properties for the instance and call all of its methods
      * Instantiate the Teacher class, set all properties for the instance and call all of its methods


      1. Create a new ActionScript Project
      2. Write a new interface named IProduct
      * Methods must include ways to get and set price, description, and category
      3. Create a CD class that implements the IProduct interface
      * Add properties for artist, title, and music genre
      4. Create a Camera class that implements the IProduct interface
      * Add properties for brand and type
      5. In the main source file -
      * Instantiate the CD class, set all properties for the instance and call all of its methods
      * Instantiate the Camera class, set all properties for the instance and call all of its methods

      I don't know where to start.
        • 1. Re: HELP!
          Level 7

          "soldier43" <webforumsuser@macromedia.com> wrote in message
          news:g78hl9$9mc$1@forums.macromedia.com...
          >I need help with something. My assignment is to:
          >
          > 1. Create a new ActionScript Project
          > 2. Import the IPerson interface file instructor used in class
          > 3. Create a Student class that implements the IPerson interface
          > * Add a method named study()
          > * Add a property named major
          > 4. Create a Teacher class that implements the IPerson interface
          > * Add a method named teach()
          > * Add a property named department
          > 5. In the main source file -
          > * Instantiate the Student class, set all properties for the
          > instance
          > and call all of its methods
          > * Instantiate the Teacher class, set all properties for the
          > instance
          > and call all of its methods
          >
          >
          > 1. Create a new ActionScript Project
          > 2. Write a new interface named IProduct
          > * Methods must include ways to get and set price, description,
          > and
          > category
          > 3. Create a CD class that implements the IProduct interface
          > * Add properties for artist, title, and music genre
          > 4. Create a Camera class that implements the IProduct interface
          > * Add properties for brand and type
          > 5. In the main source file -
          > * Instantiate the CD class, set all properties for the instance
          > and
          > call all of its methods
          > * Instantiate the Camera class, set all properties for the
          > instance
          > and call all of its methods
          >
          > I don't know where to start.

          I'm sure your teacher wouldn't have just thrown you in there with no
          reference materials. But if she/he did, a good place to start is Flex 3
          Training from the Source.

          HTH;

          Amy


          • 2. HELP!
            soldier43 Level 1

            • 3. Re: HELP!
              soldier43 Level 1
              The teacher used to put the notes on her website, but no longer does for some reason.