8 Replies Latest reply on Mar 19, 2010 11:53 AM by Jason San Jose

    Unable to resolve component to compilation

    jackstraw10

      I am using the FB4 beta 2 with the latest stable build (4.0.0.13875) and am unable to use components within the same library project.  I have created a simple project as an example with two components, Simple and Composed.  They both extend s:Group.

       

      Simple.mxml

       

       

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

      <s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"

            xmlns:s="library://ns.adobe.com/flex/spark"

            xmlns:mx="library://ns.adobe.com/flex/mx" width="400" height="300">

       

       

           <s:Label text="Hello world" />

      </s:Group>

       

       

      Composed.mxml

       

       

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

      <s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"

            xmlns:s="library://ns.adobe.com/flex/spark"

           xmlns:mx="library://ns.adobe.com/flex/mx" width="400" height="300" xmlns:components="components.*">

       

       

           <components:Simple>

       

           </components:Simple>

      </s:Group>

       

      Both files reside in the same directory (the components directory).  I cannot even import the Simple class in a script declaration.