Here is the code to load swf:
And here is the code to handle adding the new swf content application:
And here is the code to call a function on the swf application:
Note that the SWFLoader has 2 events that could be used:
Event.COMPLETE ("complete")- dispatched when the content loading is done
Event.INIT ("init")- dispatched when the properties and functions of the loaded SWF are accessible
If you want more reading on this subject, here is another good blog on Nested SWF communication.