I've got a custom CalloutButton component in a package called uiComponents. This custom CallOutButton is needed because I need some more properties in it.
This CalloutButton gets added to my MXML like usual;
<uiComponents:MyCustomCalloutButton someproperties here >
</uiComponents:My...>
Now, the enclosed s:calloutContent gets a compilation error, the (almost standard) could not resolve...
Naturally, the namespace has been imported
What am I missing here? This is driving me nuts for more than an hour now. Any help would be greatly appreciated!
Cheers!
Since the error was generated from the
s:calloutContent
tag ; not theuiComponents:MyCustomCallOutButton
tag; the solution was that in many situations, enclosed tags must use the same namespace as their parent, so replace it withuiComponents:calloutContent
So instead of this:
You'll need to do this: