You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Peter Ent (JIRA)" <ji...@apache.org> on 2013/11/19 21:55:20 UTC

[jira] [Created] (FLEX-33917) Fully qualified class missing

Peter Ent created FLEX-33917:
--------------------------------

             Summary: Fully qualified class missing
                 Key: FLEX-33917
                 URL: https://issues.apache.org/jira/browse/FLEX-33917
             Project: Apache Flex
          Issue Type: Bug
          Components: FalconJX
         Environment: Mac OS X
            Reporter: Peter Ent


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.



--
This message was sent by Atlassian JIRA
(v6.1#6144)