Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 10-13-2005, 08:08 PM   #1
Registered User
Join Date: Oct 2005
Posts: 9
Default Can actionscript solve this audio issue?

I have a 30 second sound clip I would like played upon visiting the first scene of my website. However, when I return back to that scene, the audio clip is played again. I only want this file to be played the first time the page loads, as a sort of intro audio clip....is there a way to have this file be played only once & removed from the page?

Please Advise,
f3ar is offline   Reply With Quote
Old 10-14-2005, 04:39 AM   #2
Registered User
Join Date: Nov 2003
Location: Fresno, Ca
Posts: 119
Send a message via ICQ to TheBuzz Send a message via AIM to TheBuzz Send a message via Yahoo to TheBuzz

Deleted no, once the swf is published it is enbedded. There is a couple of solutions to your problem as far as I see it.

1. Build a small mp3 or clip player to control the sound (best plan)
2. Have all your site broken up into seperate movies and loaded in when needed. This way the sound can be on th main page and will not try to play again unless the page is loaded again, and once again build in a sound control panel .
3. Make sure the load sound code is on a key layer by itself and that keyframe extends out as long as the movie, so if your movie is a total of 50 frames so is that layer. Then if that doesn't solve the problem pass a variable that tracks if it is on or not.

Hopefully this information helps.

TheBuzz is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT. The time now is 03:44 PM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.