3 Replies Latest reply on Apr 23, 2007 7:45 AM by SimonVanherweghe

    States, components and namespaces

    SimonVanherweghe
      Hi, I'm getting an 'The 'Could not resolve <my:Pendings> to a component implementation' error

      <mx:Application xmlns:my="myComponents.*" xmlns:mx=" http://www.adobe.com/2006/mxml" >
      <mx:states>
      <mx:State name="Admin">
      <mx:AddChild relativeTo="{tab}">
      <my:Pendings width="100%" height="100%"/>
      </mx:AddChild>
      <mx:AddChild relativeTo="{tab}" >
      <my:Users width="100%" height="100%"/>
      </mx:AddChild>
      </mx:State>
      </mx:states>
      ...

      Pendings and Users are components (canvas) that I would like to load into the tab control, depending on what state the user selected.

      I know it has something to do with namespaces and so, but I can't find a solution for this...