Hai,
There is a simple lingo u could use.

say an swf file occupying in director time line from 10 to 40
Then u could write this code at any place in the script track inbetween this duration(10 to 40)

on exitframe me
if spirte(1).playing then
go the frame
else
go to frame 41
end if
end

so that the play head waits in a same place still the movie ends.
Note: here the flash file assumed to be in the time track 1.