473,748 Members | 4,951 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Flash sound file looping problems

1 New Member
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.macrom edia.com/pub/shockwave/cabs/flash/swflash.cab#ver sion=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="applicati on/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 5882
nomad
664 Recognized Expert Contributor
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 Recognized Expert Contributor
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
4347
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 this sound (file) on a Windows socket (not using FTP but TCP), can I read the file into a byte array? Because if it is possible then I can send it on the socket but the problems I foresee are: How will I repack it into the file. Will just reading...
0
2046
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
1778
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 change, but for some reason there needs to be a smal flash animation with a continual sound clip. When a user clicks close the hovering div should be removed from the domtree thus removing the div and the flash movie.
1
2370
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.. thanx for any help :)
1
3562
by: sosutz | last post by:
I need to have a file (.mp3) looping on the background. How can i do this?
3
12183
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 results for external sound loops, Is it possible? =) Here is my working (but not looping) code:
5
2085
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 same time if i click in the second flash file sound will start in the second flash file also. i want to stop sound in flash1 if i click flash2 and visa versa. can anyone help me in this how to solve this problem.. Thanks in advance, ...
0
8828
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9537
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9319
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9243
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8241
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6795
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4869
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3309
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2780
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.