Can any Flash compiler put specific scripts on specific frames of the Flash movie SWF?
Like you can do from within the Flash IDE, just place a script on the required frame using the Timeline panel, and the script gets compiled to that frame of the Flash movie SWF.
Eg. script on frame 1 :
trace("Reached frame 1");
Eg. script on frame 2 :
trace("Reached frame 2");
SWF Compilers: (Hopefuls)
It's possible with the MXMLC, though it not very well documented.
A Google Search for Flex Frame Metadata will show you the code. A little trial and error and you should be able to get something working. (This is how the flex preloader works)