A problem with an imported swf movie

Assume that:

  1. you make a button in keyframe which leads to keyframe 2
  2. you import an swf movie into keyframe 2 which is supposed to be played once you hit the button
  3. as soon as swf movie finishes playing you should be forwarded to the keyframe 3

Is there a way to do this? especially the 3rd part? I can’t figure it out, yet I have a feeling it should be hard… please reply