2 Replies Latest reply on Aug 8, 2007 1:20 PM by shawnyale

    Accessing method in application from a component

    shawnyale Level 1
      I need to access a public method in actionscript by a component that is a child of the application.mxml file.

      How can I do that?
      Ive tried this.methodName (but "this" only refers to the parent container)
      Ive tried "Application.methodName" but that doesnt work either.
      Ive tried super.method name = no work

      Ive tried to reference the application in the import but I dont know what Im supposed to put there?
      import Application?

      My component is loaded into the main application at runtime.

      Any ideas?