External swf file completed

Hello Guys

Can someone help me on this,

I have loaded a .swf file through xml file,
once the video finishes playing i want it to go to a specific frame,

how can i check whether the external loaded video has finished playing

thanking you
Shriram