1 Reply Latest reply on Jan 28, 2007 3:35 AM by Newsgroup_User

    Flash / web page reload question

    MarkSLC
      On the main page of my web site I inserted a Flash object that plays an mp3 file automatically.

      Problem is, when the user clicks on a link to go to an html sub-page then returns to the main page (using the browser's back button or the "Home" button I provide), the audio clip plays all over again. I do not want this.

      How can I get the AS code on the main page to execute only once per session? I do not want the mp3 to keep auto-playing every time the user goes from a sub-page back to the main page. Only when a user formally closes their browser then reopens it and returns to the main page at a later session should the mp3 file play again. Thanks.