4 Replies Latest reply on Jun 25, 2008 9:31 AM by Gregory Lafrance

    Application.application Error

      My current project that I am developing is separated into modules, which are pulled together in the main application. I wrote some code for making links from module to module. It looked fine at first, and no errors were shown. When I clicked the button the link didn't work. I ran a debug and it said it didn't recognize the variable application, in the line that says Application.application.myViewStack.selectedChild = "NewsView"; (NewsView is the module which I am linking to and myViewStack holds that module.) I don't understand why it doesn't understand the application variable because I use it all the time.

      Note: myViewStack is in the application and the code with the error is in one of the modules.

      Below is the code for the link function were the error is and the button which calls the function.