DaveYost;
there have now been several excellent suggestions for how to fulfill your requirements.
Both the Cleaner and the QT scripting versions I now faintly recall having heard about a long long time ago. These are probably the best solutions for you since scripting originated in Flash, in my experience, will not survive a trip through FCP.
Without knowing all the tech details it does appear that FCP uses a different segment of the QT technology than FCP does. The QT player, obviously is meant for playback of many different media types. Many of these are on the internet, ie swf-files which can be made in Flash.
For FCP it