Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
Mac OS X
Description
My ActionScript code reads:
import org.apache.flex.core.IBeadModel;
…
var sharedModel:IDataGridModel = _strand.getBeadByType(IBeadModel) as IDataGridModel;
I get this error while compiling:
/Users/pent/Documents/Apache Flex/DataGridXcompile/bin/js-debug/org/apache/flex/html/staticControls/beads/DataGridView.js:84: ERROR - variable IBeadModel is undeclared
var /** @type
{org.apache.flex.core.IDataGridModel}*/ sharedModel = org.apache.flex.utils.Language.as(this._strand.getBeadByType(IBeadModel), org.apache.flex.core.IDataGridModel);
IBeadModel has an import statement. IBeadModel should be fully qualified, I think.