How do you auto reconnect a live video stream broadcast in flash action script 3?

how do you auto reconnect a live video stream broadcast in flash action script 3?

so i don’t have to ask people to refresh the page if the connection drops

i copy pasted the live video stream broadcast files and script from here;

http://www.adobe.com/devnet/adobe-media-server/articles/beginner_live_fms3.html

http://www.adobe.com/content/dotcom/en/devnet/adobe-media-server/articles/beginner_live_fms3/_jcr_content/articlePrerequistes/multiplefiles/node_1278314297096/file.res/beginner_live_fms3.zip

i don’t know what i’m doing