Since there still is no flex forum I’m still asking here even though kirupa is dead and spammed to death with ads
I have a file:
/path/to/my/file/component.mxml
I have another file which I would like to add to /path/to/my/file/component.mxml as a child during runtime:
/path/to/my/parentdirectorycomponent.mxml
How would I “import” the component in the parent folder into the component in the child folder? The concept of packages is somewhat destroyed when using custom .mxml components. This seems like another useless feature of flex. Workaround?
I’ve tried using the xmlns attribute and trying to instantiate a new component in the mx:script tags, but it appears to be a useless experiment.
Why is flex documentation so ****ty? http://livedocs.adobe.com/flex/3/html/help.html?content=usingas_4.html
I rofl’ed at the line in the documentation here: “The following example imports the contents of the IncludedFile.as file”. Let’s confuse the f uck out of everyone reading this by saying we just imported an included file. WTF? It’s like they don’t want me to use Flex for anything. Is this the case? Anyhow, the problem with importing parent folder mxml components remains.