3 Replies Latest reply on Feb 15, 2011 4:38 PM by as4more

    unable to locate specified base class ’spark.components.WindowedApplication’

    joe.coyle

      I have seached but I can not find the solution to this problem.

       

      I have created a Catalyst project and exported it as an flex file (fxp) and imported it into Flash Builder 4.

       

      All I want to do is create a Windows AIR application that will go to Full Screen once the application is launched.  I do not want a chrome window or controlls.  This is an application for a kiosk.

       

      After changing "s:Application...."to "s:WindowedApplication....", I recieve a compile error "unable to locate specified base class ’spark.components.WindowedApplication’".  I noticed when I look in the project browser there is no spark\component\WindowedApplication component but there is an application.abc component.

       

      I am a newbie and really need assistance correcting this error.  A step by step solution would be appreciated.

       

      Here is the begining of my main.mxml file.  Please let me know if you need any more information.

       

      <?xml version="1.0" encoding="utf-8"?>
      <s:WindowedApplication

              xmlns: fx="http://ns.adobe.com/mxml/2009"
              xmlns:s="library://ns.adobe.com/flex/spark"
              xmlns:mx="library://ns.adobe.com/flex/mx"
              xmlns:ai="http://ns.adobe.com/ai/2009"
              xmlns:fc="http://ns.adobe.com/flashcatalyst/2009"
              xmlns:d="http://ns.adobe.com/fxg/2008/dt"
              xmlns:lib="assets.graphics.SPEDCHEK.*"
              xmlns:flm="http://ns.adobe.com/flame/2008"
              xmlns:graphics="assets.graphics.*"
              xmlns:components="components.*"
              applicationComplete="init()">
      <fx:Script><![CDATA[
       
        private function init():void
        {
         systemManager.stage.displayState=flash.display.StageDisplayState.FULL_SCREEN_INTERACTIVE
        }

       

      Best regards,

       

      JC