I am right know encountering a very annoying bug which drives
me nuts by avoiding me to use Flex Component Kit.
I did a test file in flash with just a rectangle symbole that
I converted to a MovieClip with the name "MyTestClass". I selected
it in the library and used the "convert symbol to flex component"
command. I published the .swc file and put it in the library path
of my Flex project.
If I try to insert it in my mxml page I have only the
UninitializedError hint in place of the MyTestClass:
If I declare a namespace for my .swc:
I also get the UninitializedError:
If I create a normal class file in a folder "components" in
the src folder, I can reference it without problem:
I am right now totally unable to import any Flash MovieClip
into Flex !!!!
After digging around, reinstalling Flash CS3 again and doing
multiple tests, I finally found the source of the problem:
Two .swc files residing in the same folder where I was saving
my tests files were avoiding the Flash compiler to successfully
create new .swc files!? I cannot understand how this can be
possible. As soon as I choosed a new folder for saving the test
files, I could link to the .swc and access the component from Flex.
Also as soon as I moved out the two culprid files I could again
save in the previous folder...
Does anyone has an idea how this can happen?
For those interested in the case, you can download the 2