I have loaded an application using SWFLoader and need to access a function (myFunction) in the loaded application's .mxml file. When I run the loaded application standalone the Application.application.myfunction() reference works fine.
However, when I embed the application in another application (TestProgram) and load it with SWFLoader the Application.application.myFunction() call results in a "ReferenceError: Error #1069: Property myFunction not found on TestProgram and there is no default value." Any and all advice would be greatly appreciated.

