This content has been marked as final. Show 4 replies
You should be able to import the package and then refer to the class, as long as there is no disambiguation necessary. So something like this:
itemRenderer = "myClassA";
That is understood. :)
How about in an MXML file?
If you do the import in an ActionScript block, you should be able to reference the class file by it's simple name.
I tried your suggestion in my MXML file...
Hm, I get a compiler error: "Definition myClassA could not be found."
My ActionScript block reads:
and the itemRender line reads:
Any suggestions on what might not work out here?