By the way, my entire script works, minus the part when you click on the button ( <mx:Button click="LoadObjData();" />)
When the button is clicked it returns that error that I posted above!
Is Module the root tag of MyObject.mxml? if so, you are not using it as a module instead you are trying to use it as a custom component.
For more info on modules, take a look at http://blogs.adobe.com/aharui/2007/03/modules.html
if it is actually a custom component, post the full code for MyObject.mxml - so we can look.
Flex SDK Team
I am not sure what you mean by the root tag... but... I did create a custom component, and I wanted to know how I can execute a function that is embeded on that component.
Nevermind... I figured out what my issue was.... It wasn't even my code.
Sorry for wasting everyones time.
Spread some love; what was the issue? If we know what the problem was, we can help the next person with a similar issue.