3 Replies Latest reply on Jul 26, 2011 8:17 AM by drkstr_1

    Flex 3.4 to 4.5 upgrade - non-visual component issue

    srini@orlando

      I am tried of this upgrade , Here is another issue.

      Please let us know ,if you happens to know the fix.

       

      Description Resource Path Location Type

      'TitleWindow' declaration must be contained within the <Declarations> tag since it does not implement 'mx.core.IUIComponent'.

       

      If add Declarations tag around TitleWindow , it's not showing up.

       

      I tried both spark component and mx component (TitleWindow ) , same error.

       

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

      <AddAttributes

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

      xmlns:mx="library://ns.adobe.com/flex/mx"

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

       

       

      <mx:TitleWindow

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

      xmlns:mx="library://ns.adobe.com/flex/mx"

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

       

      </mx:TitleWindow>