3 Replies Latest reply on Dec 30, 2011 3:51 AM by VenkatAtluru1440

    Issues with Trial Version 4.6

    VenkatAtluru1440

      Hi....

       

      When i am using the flash builder 4.6 trial version i am getting the following problem

       

      I am trying to exeicute TourdeFlex example related to SQL Database Usage i am getting this error in Flash Builder .Please help

       

       

       

      DescriptionResourcePathLocationType
      Unable to locate specified base class 'spark.components.WindowedApplication' for component class 'views.DtabaseExampleHomeView'.DtabaseExampleHomeView.mxml/DtabaseExample/src/viewsUnknownFlex Problem
        • 1. Re: Issues with Trial Version 4.6
          VenkatAtluru1440 Level 1

          Does the trial version provide full functionality or it only provides limited features?

          • 2. Re: Issues with Trial Version 4.6
            DonMitchinson Level 2

            Trial version is Premium - will revert back to Standard if Standard license is used after Trial is finished.

             

            If that's an actual copy/paste of the error message it looks like the example has a typo.

             

            'views.DtabaseExampleHomeView'. probably shoul dbe 'views.DatabaseExampleHomeView'.

             

            maybe check to see if the src  path /DtabaseExample/src/views exists?

            • 3. Re: Issues with Trial Version 4.6
              VenkatAtluru1440 Level 1
              1)unable to populate database values at  speak  List in flash Builder4.6  The fallowing code is used

               

              <fx:Script>

                <![CDATA[

                 import mx.collections.ArrayCollection;

                 private function getIteamCategory():void {

                 avar sqlConnection:SQLConnection = new SQLConnection();

                var resultSet:SQLResult = null ;

                var dataList:ArrayCollection = new ArrayCollection();

                sqlConnection.open(File.applicationStorageDirectory.resolvePath("IDatabase.db"));

                var stmt:SQLStatement = new SQLStatement();

                stmt.sqlConnection = sqlConnection;

                 stmt.text="SELECT  item_category FROM Menu_Table where item_id  between 1 and 99";

                stmt.execute();

                data_list.dataProvider=new ArrayCollection(stmt.getResult().data);

                 sqlConnection.close();

                return dataList;

                }

               

                      protected function datalist _creationCompleteHandler (event:FlexEvent):void  //executed when the List completes loading

                      {

                          getIteamCategory ();

                      }

                ]]>

                <b/fx:Script>

               

              <s:List id="datalist" x="10" y="10" left="0" right="0" top="0" bottom="0" width="1004"

                      height="500"

                      creationComplete="datalist _creationCompleteHandler(event)" enabled="true">

                  <s:itemRenderer>

                      <fx:Component>

                          <s:MobileItemRenderer label = "{data. item_category }"/>  // The Application is a mobile app

                      </fx:Component>

                  </s:itemRenderer>

              </s:List>

               

               

              Please suggest, I also included mx.swc file in the build path. Also seeing following several error message, pasting two of them

               

               

              1120: Access of undefined property ContainerBorderSkin.

              1172: Definition mx.skins.spark:ButtonSkin could not be found.          NewIndianCurryHous

               

              Thanks in advance.