Hi All,

Currently i am implementing the caringorm framework into an application I am building, and I have managed to layout the basics of my front controller, commands and other events. I have then attempted to include the controller as described in Steven Websters notes on the framework (i have included my code below).

It is reporting the following errors:

1 . Definition com.objectconnections.mypackage:ClientController could not be found.
2 . Type was not found or was not a compile-time constant: ClientController.

Any help at all would be appreciated.

Kind Regards,
Graham Weldon


------------------------------------------------------------
/MyProject.mxml
------------------------------------------------------------
<mx:Application
    layout="absolute"
    xmlns:mx="http://www.adobe.com/2006/mxml"
    xmlns:control="com.objectconnections.mypackage.*">

    <control:ClientController id="controller"/>

</mx:Application>
------------------------------------------------------------


------------------------------------------------------------
/com/objectconnections/mypackage/ClientController.as
------------------------------------------------------------
package
com.objectconnections.mypackage
{
    import org.nevis.caringorm.control.FrontController;

    public class ClientController extends FrontController
    {
        public static var EVENT_OPEN  = "open";
        public static var EVENT_CLOSE = "close";
        public static var EVENT_EXIT  = "exit";

        public function ClientController() : void
        {
            this.setupCommands();
        }

        private function setupCommands() : void
        {
            // Nothing here yet, we'll do a bunch of
            // this.addCommand()'s once we get the basics
            // compiling and working.
        }
    }
}
------------------------------------------------------------














--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to