I had a situation where I had a CS3 fla with a movieclip on stage, with stop() actions placed on a couple of frames on the timeline. The movieclip was associated with a class through the linkage properties. When i ran the movie, everything worked as expected...however, when loading that swf into another swf, the timeline actions were being completely ignored.

After searching around for a bit I came across MovieClip.addFrameScript, which lets you dynamically add frame scripts to the timeline. The usage is simple, I could just tell it which class methods to call on which frame:

Actionscript:
  1. addFrameScript(11, onEnterComplete, 31, onExitComplete);

This will call onEnterComplete() on frame 11, and onExitComplete() on frame 31.