I am using MXML to create components that I use within my
application. I have one MXML file that contains a list with a
custom itemRenderer that is in another MXML file. I have an
actionscript file with a function that I want to call from the
If I call the function from my main application, everything
works fine. If I try to call it from one of the other MXML files, I
get a 1180 Call to a possibly undefined function error.
Is there a special way that I need to use to call the
The main MXML file is in the root directory, the actionscript
file is in a folder called functions, and the MXML files are in a
folder called components.
I was able to figure out my problem. It was just a simple
typo of including the wrong file in a Script tag. However, this
caused more issues and I ended up having to rewrite a large section
of code to get everything working.