This content has been marked as final. Show 5 replies
For starters, you need to make the functions public, not private, if you want to access them from your main application.
I had the same problem,
thank u rtalton
Yeah, I tried that. Tried using static too. Didn't help the errors. Here's my class file:
Is there maybe something else I'm missing? In my application file I have this code:
Is there more I need? I've done this with other people's classes for different component without problems. I'm so confused!
OK, I didn't call the class on loading. That got me into a whole new set of errors. All 1120: Access of undefined property 'xxx' where xxx is the name of any interface element. What have I missed there? How do I make the class recognize all of the ids in the mxml file?