Yesterday I was trying to include a flash object in a facebook app using FBMLfb:swf tag. The flash object needed to change the url of the page it was running on on a particular event. But since facebook prevents direct script access from flash, this could not be done.
Here is a simple workaround:
1. Create a simple html page containing only the flash object that you want to include.
2. Embed this html on the facebook page using the fb:iframe tag.
Now you can make all the Actionscript calls you want to. Only caveat to this approach is that you will no longer be able to make Facebook API calls directly from flash.