Just a little direction if you please.

I am designing a flash front end that will call external applications throughout the movie. What I'd like to do is have flash pause whilst the application runs, and then when complete flash carries on playing.

It will be a utility to clean a machine of temp files, cookies etc. and then run rootkit scans.

I have created batch files and vbscript to run the applications....

...but, my reason for the war and peace literate is - who can recommend either a good book, site or at least some direction on where I should look to have this all automated within flash, have flash run the applications then pause until the application is complete and continue on.

Any tips are appreciated.