Controlling a Serial Port with a flash program

I am trying to create a flash presentation for my current project. I need to be able to send text out to the Serial Port during different stages of the presentation. Is there any script that will allow this?

Any Info would be great, thanks in advance