473,395 Members | 2,795 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Flash sound file looping problems

1
Flash sound file looping problems

hello there

I'm definitely a newb so please bare some patience. I have a flash sound file on the index page of a site i'm working on. First off i need the .swf file to continuously loop, secondly i need this same file to play on every page visited on the site. I've researched and tried to just follow examples but each time there's no loop. The file plays once every time the page loads and then ends.

Here is my coding thus far:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" width="100" height="50">
<param name="movie" value="flash/sound.swf">
<param name="loop" value="true">
<param name="quality" value="high">
<!--[if !IE]> <-->
<object data="flash/sound.swf" width="100" height="50" type="application/x-shockwave-flash">
<param name="quality" value="high">
<param name="pluginurl" value="http://www.macromedia.com/go/getflashplayer">
</object>
<!--> <![endif]-->
</object>
</body>
</html>

Any help would be greatly appreciated. First getting the file to loop is priority #1. Then having the file loop on each page will have to be dealt with later.

Thanx

hayz
Apr 10 '07 #1
2 5852
nomad
664 Expert 512MB
If you want the sound to cont. loop do the following.
Place your sound on a layer (audio).
1. Make sure can see all your audio ie open your frames until you can see the end.
2. Open the Property Bar (Control F3) at the bottom right you will see Sync: Select Stream and next to it select Loop.
3. if you want the audio the play on every page you will have to build your site around it.
You will need to place Blank KeyFrames for each page.
So if you have 6 pages you will need 6 blank Keyframs.
You will need at least 8 layer
Layer 1 is used for backgrounds
Layer 2 headers logos
layer 3 is used for text
layer 4 is used for images
layer 5 is used for sound
Layer 6 is used buttons (this is how you are going to move around the site)
So you will need a set of buttons each button will have something like this
Layer 7 is for actions. This is used to stop from moving forward.
Layer 8 is for comments. ie markers telling where the button must movie at.
Apr 12 '07 #2
nomad
664 Expert 512MB
If you want the sound to cont. loop do the following.
Place your sound on a layer (audio).
1. Make sure can see all your audio ie open your frames until you can see the end.
2. Open the Property Bar (Control F3) at the bottom right you will see Sync: Select Stream and next to it select Loop.
3. if you want the audio the play on every page you will have to build your site around it.
You will need to place Blank KeyFrames for each page.
So if you have 6 pages you will need 6 blank Keyframs.
You will need at least 8 layer
Layer 1 is used for backgrounds
Layer 2 headers logos
layer 3 is used for text
layer 4 is used for images
layer 5 is used for sound
Layer 6 is used buttons (this is how you are going to move around the site)
So you will need a set of buttons each button will have something like
Expand|Select|Wrap|Line Numbers
  1.  this command .on (release) {
  2.  
  3.     this.gotoAndStop("shifting");
  4.  
  5. }
Layer 7 is for actions. This is used to stop from moving forward.
Layer 8 is for layers. ie markers telling where the button must movie at.
if you have a marker called "shifting" on one of your blank keyframes the button will know to stop at that spot.

I hope this helps and I did not confused you
nomad
Apr 12 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Sathyaish | last post by:
I am using MCI (winmm.dll) to read, record and playback sound. For now, I am doing this with disk files instead of realtime doing it straight from the memory. If I want to stream/relay/transmit...
0
by: fblake | last post by:
Active Flash V1.0 http://www.activeup.com/products/components/activeflash Price - $295 Evaluation - http://dl.filekicker.com/send/file/184524-5045/ActiveFlash1.zip
1
by: daveyand | last post by:
Hey guys, have searced within this group and havent found an answer to what i want to do. Here is the problem I have the a hovering div, within that div i have settings that people can...
1
by: chillaks | last post by:
Hi, I have a flash website but the background music is not looping.It is a flash website but i dont have the source file of it. can any1 please help me to fix the bug?.. its quite urgent.....
1
by: sosutz | last post by:
I need to have a file (.mp3) looping on the background. How can i do this?
3
elamberdor
by: elamberdor | last post by:
Hi all! Well, I'd like to cut down my file size get my external BG sound to loop.... I've got an external sound file playing fine, however just once. Looking around the net hasn't yeilded much...
5
by: phpmagesh | last post by:
Hi All, I have two flash file in the same page call as flash1 and flash2. both flash have sound on it. What i want to do is when i click in the first flash file sound will start playing, at the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.