There is now source for flash man... It's more like an images than a program. What you use to make flash movies is kinda like an advanced paint brush program. You can add java script to the file to get certain elements in the movie to do things, but once the file is exported as an swf file there is noe source. Before that it's a Fla file.

Now you can make flash movies with code however. There is a way to creat flash movies on the fly using PHP. There is also a mark-up language out ther called SMIL

That is probably what you want. Search GOOGLE or web monkey for SMIL and learn that. the browser support isn't the best right now, but it is a growing language..