[flash Mx] Help With Sound
I'm trying to make it so that I can play and pause a sound. I have two buttons, a play and pause button, and I need them to toggle back and forth. I figured out how to do that, but I can't get them to control the sound.
I've been working for four hours and still can't figure it out. All of the tutorials are confusing. Additionally, whenever I do get the sound to actually play, it sounds terrible when I export it. I changed the song's export settings, but that didn't help. The song doesn't sound the same after I export it.
Thanks for your help--
Katie
ActionScript.org Forums > ActionScript Forums Group > ActionScript 1.0 (and below)
Posted on: 12-28-2007, 03:25 AM
View Complete Forum Thread with Replies
Sponsored Links:
How Do I Call Sound Files For A Sound Player Created In Flash
I want to create a sound player for a website in Flash 5. However, i do not know how to play the files without importing them into the flash movie. If i imported all of the sound files i am using, my flash file would end up being about 25meg in size. This would obviously be stupid, as it would take forever to load up. Could someone please tell me what action i eed to use to play a sound file which is stored in the same directory as the swf file.
Im only just learning flash so im not 100% sure that this is the way to do it. Is there a way of telling flash flash to only load a certain part of the movie as it is neded.
I want to create something similar to the player found at this address
http://www.newfoundglory.com/player.html
Any help you can give me would be much apreciated
Thank you
David
View Replies !
View Related
Sound.position And Sound.duration On Flash Lite 2.1
I'm using the code below to trace the position and duration of a loaded mp3 file. This works fine when I export as normal flash 9 version swf, though when I export as flash lite 2.0 or 2.1, the trace returns 0 for both position as well as duration. Here is suggested that the two members should be available for all flash lite 2.x versions. Is there a way to find the duration and position of an mp3 file in flash lite 2.x? Am I doing something wrong?
Thank you in advance,
Harry
Attach Code
var mySound:Sound = new Sound();
mySound.onLoad = function(success){
if(success == true) {
mySound.start(0, 0);
}
}
mySound.loadSound("sound.mp3");
function onEnterFrame() {
trace(mySound.duration + " " + mySound.position);
}
Edited: 02/05/2008 at 08:42:28 PM by Harry Vermeulen
View Replies !
View Related
Turning Flash Movie Sound Off If Other Sound Begins?
Hello -
I'm not an expert Flash guy so I appreciate your help.
Currently there is a flash file with a sound file that plays continuously while a visitor is on the site. There have been new additions that add the ability to add sound files to different items.
How can I get the main flash sound turned off whenever one of the items with a new sound file begin to play?
View Replies !
View Related
Attach Sound, Play Sound & Stop Sound.
Hey there,
I was wondering if any of you could help me please.
I want to play a song which I have named "rundmc" The file extension is ".mp3"
I want a button to play this mp3 which I read you need to attach that sound, then play it and I want to a button to stop that sound, or preferably the play button to change into a stop button.
I've read the help files, but none of it works and I've changed the linkage for the mp3 to export for action script, but nothing works!!!
Please help,
NK.
View Replies !
View Related
Help Anyway To Play A Flash Movie But With Sound Muted Initially But Not From Flash?
Hello, I am currently working with a bunch of SWFs generated by Sothink's Flash Movie Encoder software (I am not the one that encodes them, another company does). I currently have a PHP page that cycles through a series of these SWF movies on 30 second intervals. These SWFs do not have any playback controls. I have a small HTML button that essentially refreshes the page and toggles a SESSION variable declared for sound on or sound off (so that it doesn't annoy the surfer). However, I do not know how to actually make the Flash SWF mute initially based on this variable. Is there a flash param that allows me to control the SWF volume? I know how to do this if I were to do it in flash, but because the files I'm working with are already pre-encoded by the software, I cannot tamper with these files and must find this alternative to muting the movies. Is there any way? Thanks.
View Replies !
View Related
[Flash][Tutorial Needed] How To Record Sound In Flash?
Hey guys/girls!
I want to make a new project! At the moment I play a lot on my gituar, someone said that I should make a website where I can "show" my songs etc.
But here is the problem : How do I do that!
I've been searching on google and found that it is possible to make a Flash App that can record/play sound, but I cant find any tutorial about it (or some explanation).
I also need some explanation about "Flash Communication Server", is that something like a "Apache" server but then for sound?
View Replies !
View Related
Sound In Flash
Okay all you wizards out there! I am new to Flash and I have a problem. I have inserted sound on a layer and I have it repeating twice, the second time with a fade out, but there is a noticeable break in the music when you view it in Netscape (not too bad in IE). Can you tell me what I need to do (probably an actionscript) to eliminate this break? Thanks all!
View Replies !
View Related
Flash With Sound
Ok, i know how to put sound in flash and all, its really easy, but i need to know how to make a start and stop button for the music. So if any1 can help, please do lol
View Replies !
View Related
Flash On MAC - No Sound
I need someone who knows a good deal about flash to help me on this one:
I have an introduction (flash) for a website:
http://www.aptira.com
The issue is, is that the sound is not working. I created a function that plays the sound and lateron, fades the sound out. Works great on a PC. Below is my code:
Scene 1 (after teh preloader scene)
coolintro = new Sound(this);
coolintro.attachSound("soundloop");
coolintro.start(0, 999);
function FadeOut () {
while (coolintro.getVolume()>0) {
starttime = getTimer();
while (getTimer()<starttime+20) {
}
coolintro.setVolume(coolintro.getVolume()-2);
}
}
Scene 11
// you call the function
FadeOut ();
Is it an issue of the frames advancing before teh sound can start??? If so, what can I do to fix this? Any help is greatly appreciated!
-slimkyd
View Replies !
View Related
Sound Flash MX
Hi
I have a .swi file with "play sound" action and "stop sound" action on the scene line. This works well within Swish but when I export it to a .swf the sound begins to play immediately and I can't stop it. It plays through the entire music before the thing is under control. What am I doing wrong or what is the secret to this function ?
Bern
View Replies !
View Related
Sound In Flash Mx
can anyone tell me how to change sound in flash MX from event to streaming sound. i'm on a mac if that makes any difference. I can't find the window/panel that allows you to do that. i'm really stuck and can't find anything here....oy.
[Edited by c3pRO on 08-08-2002 at 03:47 PM]
View Replies !
View Related
Sound In Flash
I am looking for anyway possible to do the following:
Have a link, that when clicked, plays a short, sound clip.
I would prefer not to have a popup window,
and I do not want a download.
Is there any effecient way of doing this? Without it clogging the server?
An example can be seen on FlashKit:
http://www.flashkit.com/loops/Easy_Listening/Classical/
It can be Html, Javascript, Flash, anything...
Thank you very much,
View Replies !
View Related
Help With Sound In Flash -- Again
I’m back again. I need help with this:
I’m placing narrations straight to the timeline (oh well… time is short to get this done and I could not figure it correct how to control multiple narrations with movie clips---my next step.)
Here is the bug: I have four scenes. There is one narration in the main scene. From there I can go to any other scene (through buttons).
Each scene will have three narrations along the timeline. Each one attached to a label. The first two are working perfectly. I can go next and back and the narration stops. When I go to the third narration (in sequence, after Narr 1 and Narr. 2), the narration doesn’t start. I checked everything possible, and the actions for this Narr 3 are exactly the same as the other two, and it doesn’t work.
Any idea about what’s happening? Suggestion on how to fix it?
The actionscript I add in the actions layer is, first frame of each narration:
stoppAllsounds ();
play ();
Note: I will need to repeat the same thing—three other narrations for each scene. Is there a limitation in Flash on how many frames it can load--per scene? Because of the narrations, the length of the scenes frames are very very long…
I thank and appreciate your huge help.
Patmo
View Replies !
View Related
Help With Flash Sound
i need to make something in flash where the sound files are 100% secure from being downloaded, but i need it to be streaming.
something like what is here:
http://www.polyvinylrecords.com/teamboo
is there any way to make it so i dont have to dynamically load mp3s and still have it stream? I'm just looking for something pretty secure.
Thanks
View Replies !
View Related
Sound In Flash MX
I have a site with a flash .swf file in the header. This movie has a little animation of the logo and a sound file attached to the main timeline. Nothing fancy.
My question is this.....I need this sound file to play continously throughout the entire site...a total of 5 pages. The sound file will loop but i can't have it restart with each page click..it must be a continous playing of the file regardless of what page the user goes to.
I can place the same flash movie in the header of each page but when i do that the sound file starts over again with each click to another page....
The site uses tables and not frames so i cant simply set up one flash move througout the entire site...
Is there a way of scripting the Sound object so that it will loop continously from its original start on the home page without starting over again as i navigate to a new page in the same site??
If not what do you guys recomend i do???
Thanks
View Replies !
View Related
Flash Sound
How come whenever I load an mp3 into a flash movie [which the sound is amazing quality] and then I play it, it sounds like i pooped on a cd and played it. [grainy]
View Replies !
View Related
Flash MX Sound On/off
I am on Flash MX and i found several stings with the info on creating an on/off button. My problem is that when I try to copy and past the code Flash generates an error that says the file must be exported as Flash 5. Can any one help? Here is the code I am trying to use.
// on the button
on (press) {
// this assumes the music is playing by default (so the first click on the button stops it, the second restarts it etc)
++count;
if (count%2) {
music.stop();
} else {
music.start(0, 9999);
// restart
}
}
// on the first frame
music = new Sound(this);
music.attachSound("Dream_tr-alteRego-2152.wav");
// and also optionally a music.start if you want the sound to play before any user interaction
music.start(0, 9999);
// loop 9999 times
View Replies !
View Related
Flash Sound
Hi all
I have two Sound loops in my flash movie and I would like to have "loop_1" play once and then immediately after "loop_2" starts and then loops forever. can this be done without a gap between the loops.
Cheers
Chris
View Replies !
View Related
Flash And Wav Sound
I need to insert a sound in a movie. The wav file is over 4 minutes long and when I insert it into the movie the sound is being cutoff at around 2 minutes. I have played the same file outside Flash and it is a full file without any problems but as soon as the file is imported into the library it will o nly play a portion of it.
Is there a way to force Flash to import/play the entire file??
Thanks,
FayeC
View Replies !
View Related
Flash And Sound
hello.
I got a animation made in flash. it is a head that talk. First I had the voice (soudn file) in the timeline, and it was streaming. It was also perfectly in sync with the lips and mouth movment on my head.
So I was abel to mute the sound, I had to make the sound an obejct. Well....now it the sound is no longer in sync. How come??? and how do I fix that?
thanks,
View Replies !
View Related
Sound In Flash
Is it possible in Flash to synch the beats of sound files if they are activated via user interaction?
My project will involve sounds being triggered temporarily when the cursor rolls over various symbols. If one of the symbols is dragged and dropped into the target area, the sound will continue to play after the cursor is removed. If the sound loops I use contain beats, is it possible to make sure these beats play in time regardless of when the user activiates them?
View Replies !
View Related
Flash Sound
atm, I am using wave sound and in a projector, when i pause it, the sound will keep going while the images pause.
is there any way i can merge the sound into the movie so that it pauses as well?
View Replies !
View Related
Sound In Flash
HOW DO YOU MAKE VOICES FOR CHARACTERS IN FLASH???
i cant figure it out man...i dont know what software (if needed)
to use, and also, im kinda new to flash since i only got it just last christmas, justin at cartoonsmart.com refered me here, and told me to post this question. please tell me EXACTLY what to do, and how to do it. thanks. (and name any software needed to do it.
im listening,
Austin
View Replies !
View Related
Sound In Flash
as u probly know, flash mx professional hasnt made it easy as pie to put sound into a movie. im makin a short movie where a guy blows away a zombie and ra ra ra. ive got a couple of the sounds i need, and i have added them to the library. i want them to play when the guy shoots his gun (for the gunshot sound) and this is around the 15th frame in the first layer, where all my 'drawings' are. a friend of mine told me to make a second layer devoted entirely to sound, so i did. if this is wrong i can delete it, piece of cake. the sound is for a single shot gun, but i have him shooting more than once, in each keyframe, and the keyframes follow each other, no gaps. so i need the sound to play every keyframe for about 5 or 6 keyframes.
please help me. im usually very good with this sort of stuff having studied computers and crap for about 5 years at school, but this has just got me stumped.
thx in advance
View Replies !
View Related
Sound In Flash
All I want is to have a sound play when I press a particular button, what actionscript do I use for that and do I have to have the sound anywhere in particular in the library or timeline?
I even tried using a behaviour *sigh*
This is urgent, assignment due tuesday :Z
Thanks.
View Replies !
View Related
Flash Sound Help Pls
I got a big problem. After reading through tons of material we spent one whole day creating a flash project to publish on the web one index page god that was so hard.
Anyway we manage to create a nice page with links etc. But the we added sound to our project, we tested it it worked like a treat until we clicked on a link well the sound kept playing and got worse and sometimes it gets the url but goes into a new page but it still keeps playing the sound.
Any Ideas
help pls
thanks
View Replies !
View Related
Flash Sound
Hey Peoples,
I was hoping to put an end to this. I was wondering if someone could tell me what is the best way to the best quality of looping audio that you can?
Would it be formats: .wav, .mp3, or .aiff? Would I embed in the movie, or would I have it load up externally?
Also, I was hoping that someone could tell me how I could make sure the audio is silent when I enter the movie, but I still want it playing in the background, because it will fade to full volume later on in my movie.
thanx in advance for taking a look at my query.
- Lowell
View Replies !
View Related
Flash Sound
Hey Peoples,
I was hoping to put an end to this. I was wondering if someone could tell me what is the best way to have the best quality of looping audio that you can in flash?
Would it be formats: .wav, .mp3, or .aiff? Would I embed it in the movie, or would I have it load up externally?
Also, I was hoping that someone could tell me how I could make sure the audio is silent when I enter the movie, but I still want it to be playing in the background, because it will fade to full volume later on in my movie.
thanx in advance for taking a look at my query.
- Lowell
View Replies !
View Related
Flash ASP CMS ..does This Sound Possible?
Hi,
Just want to know if this sounds possible
Ive got a two step form..
The first step has a flash form which a user (admin) will use to add a content for a new article. This form will be in flash. When he clicks the NEXT button the variables will be sent via the LoadVars object to an ASP page. This ASP fpage will then store the variables passed to it in sessions. It will then send a 'success' variable back to flash.
When flash recieves confirmation of success it will then call getURL(step2.asp) which should then open in the same browser window
This step 2 ASP file will NOT be using flash movie but instead will have an uploading functionality and will be a pure asp file.
After clicking the upload button on this page ... the database will then be updated (using the session variables defined previously).
Does this flow chart sound possible or am i talking crap? Cheers for your help/advice...
View Replies !
View Related
Flash ASP CMS ..does This Sound Possible?
Hi,
Just want to know if this sounds possible
Ive got a two step form..
The first step has a flash form which a user (admin) will use to add a content for a new article. This form will be in flash. When he clicks the NEXT button the variables will be sent via the LoadVars object to an ASP page. This ASP page will then store the variables passed to it in session variables. It will then send a 'success' variable back to flash.
When flash recieves confirmation of success it will then call getURL(step2.asp) which should then open in the same browser window
This step 2 ASP file will NOT be using flash movie but instead will have an uploading functionality and will be a pure asp file.
After clicking the upload button on this page ... the database will then be updated (using the session variables defined previously).
Does this flow chart sound possible or am i talking crap? Cheers for your help/advice...
View Replies !
View Related
Flash Sound Help
I have created a flash banner for a client which it includes sound. There needs to be a button to turn on and off the sound. i have it in a MC, but the sound turns back on once the movie loops. How keep the sound off (or on if the user wants)?
Example: Someone visits the page, and wants to turn off the sound, he hits the button and even though the movie loops, the sound remains off.
The whole loop is only going to be about 20-30 seconds (if that)
I need the music to be on at first, and then if the user wants to turn it off (and stay off)
View Replies !
View Related
Help With Sound In Flash.
HI,
I'm new to this so i'll just start with the question. I'm currently teaching myself Flash and have stumbled on a little problem. I have created a interactive site for my uni project and at the main menu stage i have placed music on the root time line in a layer of it's own. However when i press one of my buttons that starts another animation instance on the root timeline i can still hear the sound from the main menu. I have tried adding a behaviour to the button "on release - stop all sound" but it doesn't work. I've tried looking on other sites and only have access to old Flash 4 or 5 edition books.
Can someone please help me!!!!!!!!
Many thanks
Kenny
View Replies !
View Related
Sound In A Flash
Hi,
I am doing a flash with a sound file, I am adding some lyrics of the song but the problem is that sometimes I see them in different parts of the song. Is there any way to fix it?
Thanks in advanced!
Jorge
View Replies !
View Related
Sound In Flash 8
Hi everybody. Could somebody help me with a sound question? I have a 2 minute mp3 which is a sample of a track from a cd. So far, I've been able to create a button that says "click here for sample" and the mp3 plays when you click it. The problem is that if you click it while the first one is playing a second sample will start at the beginning, but the first one will keep playing. So now it would be possible to click the button 100 times and have 100 samples all playing and layered on top of each other. What's the best way to fix this?
View Replies !
View Related
[F8] .wma Sound In Flash
Is it that flash doesnt accept sounds with .wma extension? The reason i am asking this is because i tried to import a .wma sound into the library but i got the error
"Unexpected file format" .....i dont know, maybe i am doing something wrong? if i am not.... is there any software out there that would change ma .wma into a sound extension that i can use in flash?
Thanks in advance....
View Replies !
View Related
Flash Sound On/off
Hi...
I have 2 pages in that there is a swf file that has music on/off buttons. The swf file is same on 2 pages. The swf file has 2 links....link1.htm & links2.htm.
When a user click music off button on link1 page the sound stop & when he clicks on the link2 it goes to link2.htm.
The sound should stop in link2.htm as the user clicked the off button on link1.htm page.
I don't want to use frames & iframe, Can anyone help on this part.
Regards,
Ajay
View Replies !
View Related
Flash Sound
Hi ,
When i add sound to my flash movie i have a problem . When i play the movie , in flash itself it plays fine , but when i export the movie , it goes hay wire . The sound plays way before the picture . If i export each scene seperately , then the difference is very slight , but when i export the whole movie , all the sound finishes playing in a few seconds , while the video continues for minutes .
Can anyone tell me why this is happening ?
Thanx . . .Nicole
View Replies !
View Related
Help With Sound Flash 8
Is there a way to make a slider from
main sound button is on a loader_mc Called
soundmix,this imports a swf file.
on (release) {
_root.soundmix.loadMovie("jazz.swf");
}
allSounds = new Sound();// onframe 1
allSounds.setVolume(0); //on a button
allSounds.setVolume(100);//on a button
this code works great for me but need
a slider code. all slider scripts that i have
found where attached or id sound files.
View Replies !
View Related
Flash Sound
Does anyone know a link to a cool tutorial for a flash file that's just for sound?
All I want is a simple play, pause, stop buttons and a timeline so someone knows how long the song is (just a simple bar). The equalizer affect would be really awesome too.
Any ideas or links would be greatly appreciated.
Ciao!
View Replies !
View Related
Sound In Flash. . .
Ok, I am using Macromedia Flash 2004 and am looking to link an image to a sound. I have tried making the image into a button and adding the sound however, I can't stop the sound form repeating.
I am fairly new at Flash and would appreciate a simple explanation! Possibly some easy ActionScript to use?
Thanks,
Claire
View Replies !
View Related
Flash Sound Fx
hello,
i dont know if im in the right forum but can anyone tell me where i can find sound fx for flash. i really need them to compete my site. and i know about flashkit but i coudnt find what i was looking for. anyone help.
thanks
gujuboy
View Replies !
View Related
Help - No Sound In Flash 8
I am running OS 10.4.8 on a G5 and when I installed the Flash 9 plugin all sound stopped working in Flash 8 - both in the browser plugins and in the authoring environment. I have uninstalled and re-installed both Flash 8 and the plugins and still have no sound. I should also say that sound works in all other programs. Any thoughts?
View Replies !
View Related
Sound In Flash
Hi
I have a flash file wherein the sound is palyed as background music.
When the sound is played in flash, at the end of cycle it gets repeated & the sound cycle starts again. While starting the sound again the start frame & the end frame of sound does not match.
Pls give us the solution
mayur
studioblossoms, pune
View Replies !
View Related
Sound And Flash CS3?
Hello group,
I did five voice overs. I saved them as WAVE, MOV and AIFF. I am importing the five voice overs on to a timeline as AIFFs. I am trying to make the keyframes work when the each voice overs starts and stops. I am having a hard time because one voice over starts before the previous voice over ends. Should I make each voice over an event or streaming? I already built the flash file so it would be kind of hard to rebuild it. Can I still make it run right with everything in the same keyframe section?
Thanks
View Replies !
View Related
Sound In Flash
Hello. I am using an SWF file to add a brief sound to an HTML document. The sound is a .wav file imported into Flash. How do I adjust the volume of the sound in Flash so it is more subtle on the website page?
View Replies !
View Related
|