Copy link to clipboard
Copied
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
Description | Resource | Path | Location | Type |
Unable to locate specified base class 'spark.components.WindowedApplication' for component class 'views.DtabaseExampleHomeView'. | DtabaseExampleHomeView.mxml | /DtabaseExample/src/views | Unknown | Flex Problem |
Copy link to clipboard
Copied
Does the trial version provide full functionality or it only provides limited features?
Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
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.