1 Reply Latest reply on Oct 29, 2008 4:39 PM by Newsgroup_User

    Problem Extending Class

    r0brh0des
      I'm trying to extend a the fileReference class to include a "desription" variable for use in a flex app and I get this error:

      ReferenceError: Error #1069: Property description not found on flash.net.FileReference and there is no default value.

        • 1. Re: Problem Extending Class
          Level 7

          "r0brh0des" <webforumsuser@macromedia.com> wrote in message
          news:geaq72$ir3$1@forums.macromedia.com...
          > I'm trying to extend a the fileReference class to include a "desription"
          > variable for use in a flex app and I get this error:
          >
          > A file found in a source-path can not have more than one externally
          > visible
          > definition.
          >
          > There's another main class defined in the .as file where I need the
          > extended
          > class.
          >
          > Where would I put the definition and how do I make it available to
          > existing
          > code?

          If you want to put the other class inside the same as file, make it private.
          Otherwise, move it to another file.