External swf - making 2nd play after 1st is done

I know had to load an external swf file in as3. Now I want to load the swf and when it gets to the end of the timeline, unload it, and add a new swf. In the attachment, I want first.swf to play and then the second.swf. Can anyone help me out?