How do i control an external swf?

how would i go about doing this…

on the main timeline when the playhead gets to 50 it tells an external swf to gotoAndPlay (“framelabel”);