Hello ,I use flash builder and flex 4,I encounter following problem
Could not resolve <mx:Canvas> to a component implementation
my namespaces are:
I tried to replace xmlns:mx="library://ns.adobe.com/flex/halo" with xmlns:mx="library://ns.adobe.com/flex/mx" the error disappeared but I encounter another error:
The style 'themeColor' is only supported by type 'mx.controls.Button' with the theme(s) 'halo'
and two warnings:
Type 'Canvas' in CSS selector 'Canvas' must be qualified with a namespace
Type 'WindowedApplication' in CSS selector 'WindowedApplication' must be qualified with a namespace
It seems that I need to have both name spaces:
together that it is not possible to use both of them in <s:WindowedApplication> .
I do lots of research in google to solve it ,but I couldn't find any way till now
Would you please help me ,I appreciate that
Use <s:Group> or <s:SkinnableContainer> agains Canvas.
I have the same problem with every mx component. I manage to tweek my xmlns with xmlns:mx="mx.controls.*", unfortunately it doesn't work with mx.states.State. I used another namespace for states, but then the compiler won't recognize my defined states...
I experience this problem with AIR, FlexSDK 4.0, Flash 10, Flashdevelop 3.3.2
Solved it with xmlns:mx="library://ns.adobe.com/flex/mx" for my states and another namespace for my halo components (xmlns:mxc="mx.controls.*")...