In the DueDiligence.mxml, you
must have:
?xml
version="1.0" encoding="utf-8"?
mx:Canvas
xmlns:mx=http://www.macromedia.com/2003/mxml
xmlsns:com="assents.comp.*"
width="100%"
height="100%"
comp:StatePicker
id="comp_c_state""/
Jimmy
Gianninas
Software Developer -
Optimal
I believe that namespaces are always going
to be relative to the location of your main file (in this case index.mxml).
You will also need to specify the namespace in every MXML file in which you
want to use it. So in DueDiligence.mxml you need xmlns:comp=assets.comps.*
Matt
2 matches
Mail list logo