Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




URGENT HELP NEEDED (audio Question)



I have like a main screen in my animation with a button linking to the rest of it. I want to have a song play on the main screen but the only problem is that its 3 minutes and 38 sec. and I want all of it to loop on that screen until they click the button to start the animation and the music would end. How would I go about doing this?



FlashKit > Flash Help > Flash MX
Posted on: 06-10-2002, 03:47 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Audio Help Needed...
I am putting a Flash presentation together for a client which has a music file playing through the entire project. My issue is that the file is fairly graphic heavy and has lots of movement per the clients request...So audio sync is DEFINATELY a problem.

To make matters worse I need to lower the volume of the music in the middle of the project so that another audio file (The Voice Over) can be heard at a specific point then after the voice over has finished raise the volume of the music again.

I have attempted lowering the volume in edit mode, but because of the lag I will need to do something in actionscipt to guarentee that the volume decreases at a specific point.

Anyone have any idea how I can do this? My knowledge of Actionscript is incredibly limited...and no I dont know what _root means.

Thanks

Audio Help Needed.. Can This Be Done?
Hi:

I have the following code in the audio frame.. the audio is an event audio and is linked in the library.

__________________________________________________ ___________
stop();
s = new Sound();
m=1;
function timeme (){
now = new Date();
var hours = now.getHours();
var minutes = now.getMinutes();
var seconds = now.getSeconds();
_root["nowtime"+m] = (Number(hours)*3600)+(Number(minutes)*60)+seconds;
_root.newstarttime = _root["nowtime"+m] - _root.nowtime1 - 1 ;
m++;
}
s.attachSound(z.toString() + ".mp3" ;
s.start();
playing = true;
newPosition = 0;
timeme();
s.onSoundComplete = function() {
newPosition = s.duration/1000;
if (newPosition=s.duration/1000) {
as.nextFrame();
nextFrame();

}
};
---------------------------------------------------------

Now I have couple questions..

As you see the code basically looks for the audio end and if the audio has ended it takes the user to the next frame.

Is there a way I can delay the Next frame by 1/2 second or 1 second..If there is can u please let me know how.

Also.. Now I have to manually get into my library and use linkage for all of my audios. I name it the same there.. Is there a function or something I can write to get this done automatically rather than getting into each audio and manually having to link it.

Thanks in advance for your help.

Uday

Audio Help Needed Again...
Ok, i have a sound volume bar working with a play, pause and stop button. i want to make it so that the audio plays automatically when the page is loaded (presently the audio only starts when pressing the play button). the problem i'm having is once its started playing (automatically) to be able to then control the audio with the 3 buttons.
heres the code for the buttons

play:

on (press) {
// Play Button
if (playing != true) {
if (paused != true) {
stopped = false;
myMusic.start(0, 9999);
playing = true;
}
if (paused == true) {
playing = true;
paused = false;
stopped = false;
myMusic.start(myMusicPosition, 0);
myMusic.onSoundComplete = function() {
myMusic.start();
};
}
}
}


pause:

on (press) {
// Pause button
if (playing == true) {
playing = false;
paused = true;
myMusicPosition = myMusic.position/1000;
_root.myMusic.stop();
// trace("myMusicPosition: " + myMusicPosition)
}
}


stop:

on (press) {
if (playing == true || paused == true) {
// _root.myMusic.stop("myMusic01");
playing = false;
stopped = true;
_root.myMusicPosition = 0;
_root.myMusicPositionText = 0;
_root.myMusic.stop();
}
}


i'm sure its really simple, but i'm kinda new to controlling sounds and i just cant figure it out...

thanks

Audio Help Needed Again...
Ok, i have a sound volume bar working with a play, pause and stop button. i want to make it so that the audio plays automatically when the page is loaded (presently the audio only starts when pressing the play button). the problem i'm having is once its started playing (automatically) to be able to then control the audio with the 3 buttons.
heres the code for the buttons

play:

on (press) {
// Play Button
if (playing != true) {
if (paused != true) {
stopped = false;
myMusic.start(0, 9999);
playing = true;
}
if (paused == true) {
playing = true;
paused = false;
stopped = false;
myMusic.start(myMusicPosition, 0);
myMusic.onSoundComplete = function() {
myMusic.start();
};
}
}
}


pause:

on (press) {
// Pause button
if (playing == true) {
playing = false;
paused = true;
myMusicPosition = myMusic.position/1000;
_root.myMusic.stop();
// trace("myMusicPosition: " + myMusicPosition)
}
}


stop:

on (press) {
if (playing == true || paused == true) {
// _root.myMusic.stop("myMusic01");
playing = false;
stopped = true;
_root.myMusicPosition = 0;
_root.myMusicPositionText = 0;
_root.myMusic.stop();
}
}


i'm sure its really simple, but i'm kinda new to controlling sounds and i just cant figure it out...

thanks

Help Needed Boosting FLV Audio
ok so in this project i am attaching an external flv to the player component on my main stage...the problem is, the audio on this flv is very soft in comparrison to the other voice over tracks used later on the project...i dont really want to simply lower those VO tracks to match the poor levels on the flv because i am afraid the average user would have to turn their speakers way up to hear everything -- and thats just bad/annoying from the user's side

so, my question is...is there a line of code to attach to the component player to "push/boost" the audio for this flv past 100? i have never tried playing around with audio ceilings in flash video.

any help is appreciated THANKS!

Help Needed Boosting FLV Audio
ok so in this project i am attaching an external flv to the player component on my main stage...the problem is, the audio on this flv is very soft in comparrison to the other voice over tracks used later on the project...i dont really want to simply lower those VO tracks to match the poor levels on the flv because i am afraid the average user would have to turn their speakers way up to hear everything -- and thats just bad/annoying from the user's side

so, my question is...is there a line of code to attach to the component player to "push/boost" the audio for this flv past 100? i have never tried playing around with audio ceilings in flash video.

any help is appreciated THANKS!

Help Needed Boosting FLV Audio
ok so in this project i am attaching an external flv to the player component on my main stage...the problem is, the audio on this flv is very soft in comparrison to the other voice over tracks used later on the project...i dont really want to simply lower those VO tracks to match the poor levels on the flv because i am afraid the average user would have to turn their speakers way up to hear everything -- and thats just bad/annoying from the user's side

so, my question is...is there a line of code to attach to the component player to "push/boost" the audio for this flv past 100? i have never tried playing around with audio ceilings in flash video.

any help is appreciated THANKS!

Streaming Audio - Help Needed
Greetings all

I am trying to develop a Flash audio player for one of the sites I maintain. Actually delivering audio itself is not a problem - I have successfully got the player to deliver audio - both embedded inside the SWF and called from external MP3 files...

The problem comes from trying to get the player to deliver real-time streaming audio (such as generated by a ShoutCast server) - which is the real purpose of the player as the site operates an online radio station...

I have scoured just about everywhere and, although I have found a number of sites that use Flash to interface with their realtime audio streams, I have yet to find anywhere that can divulge the secret of how it is done

I have an idea that what I will realistically need to do is have Flash interface with a CGI script that feeds the audio to a sound object held within the Flash movie...

The FLA as it currently stands (containing functional "play" "stop" and "vol" controls and station ID Jingle) is available on request (the forum wouldn't let me attach it) - all it needs to complete the widget is the method required to hook into the real-time stream once the jingle finishes... The SWF can be previewed here

Please can anyone help?

Warmest regards,

Help Needed Boosting FLV Audio Levels
ok so in this project i am attaching an external flv to the player component on my main stage...the problem is, the audio on this flv is very soft in comparrison to the other voice over tracks used later on the project...i dont really want to simply lower those VO tracks to match the poor levels on the flv because i am afraid the average user would have to turn their speakers way up to hear everything -- and thats just bad/annoying from the user's side

so, my question is...is there a line of code to attach to the component player to "push/boost" the audio for this flv past 100? i have never tried playing around with audio ceilings in flash video.

any help is appreciated THANKS!

Streaming Audio Advice Needed
What's the best technique for steaming an MP3 music loop in Flash for web playback. I'm just adding a background track to my web project but it seems to take an age to start 1st time.

Also, what's the general view on optimal kbps settings for this??

Thanks

Page 2 - Streaming Audio - Help Needed
hi JohnSilver
Thanks for ur reply. As far playing the shoutcast stream with flash is ok. Let me try with PHP though I am newbie to it . But my simple doubt is How can I publish the stream we get by

loadSound("yoururl.com/thisphpfile.php")

command in Flash . Is there anyway so that I can map this "loaded sound " as a stream object so that it can be "published " to clients . as of now I understand loadsound willl simply pass the incoming stream to speaker right?? so how can we intercept that sound object loaded to publish to others ??
Thanks in advance
with regards
dharani
NB : could u pls tell me if rmax is available for further queries he could also give valid ideas i hope ..

Urgent Help Needed Audio On / Off Button
Ok so for the first time ever I have someone who actually wants audio to play as a background on there site with an ON/Off button....I hate that we all do but they want it. So I followed a tutorial and it worked I loaded it into my Dreamweaver and it works..... I load it into my ftp client site and it doesn't show on the live web...... I checked the paths are direct....

http://serenitynotecards(dot)com/
I placed the audio on/off on the bottom footer bar.

What did I break this time? lol

The Infernal Audio Sync Problem- Help Needed
I have Flash MX and have placed all my audio files on a separate layer of their own. Every one of them is set to Stream in sync, as recommended. However, about 2/3 through the movie, the sound starts playing too early compared to the visuals, and pausing and hitting play again doesn't fix it. Are there other settings that may be affecting this?

Flash Mp3 Streaming Audio Player Needed
I need a flash based mp3 streaming audio player for a media site. I need to specify the filename it must play by pulling the info out of a MySQL database using php. I've been looking all over google but haven't found a single player that does what I need. Any recommendations / suggestions?
Oh! and I've already seen Wimpy, but it ain't free.
I need a free streaming audio player.

Thank you all, in advance.

Pop-up Window & Streamed Audio Conflict. Urgent Help Needed A.s.a.p, Please
OK, here it goes, as simply as possible (if possible)...

First of all here's the link to the site I'm doing: www.wonderbrazz.com (Even if you can't help with my problem, check the site out anyway. They're a great band.)

I have a band site made in Flash, and in the audio section there are buttons that link to streamed .wma files. This work fine, this isn't the problem. It's just a simple geturl action:

Code:
on (release) {
getURL("http://www.cdskiven.dk/log/music/157668.wma");
}
And the site also has a guestbook, which is just a .php page in a popup window. This one works fine aswell. Here's the script I've used for that:

Code:
on (release) {
getURL("javascript:NewWindow=window.open('ardguest.php','newWin','width=500,height=300,left=0,top=0,toolbar=No,location=No,scrollbars=Yes,status=No,resizable=No,fullscreen=No');void(0);");
}
The problem that is occuring is, if you've got the streamed audio running (in whatever player), AND have the guestbook open, or at least try to open it, the band site page goes white and freaks out, as does the guestbook pop-up window. Niether of which you can close without ctrl+alt+del'ing it. Which I'm pretty sure will scare away many a visitor.

Please, I need some help with what may be causing this and if anything can be done about it. And I need help soon!! My deadline's coming up, and I am at my wits end and can't figure out how to solve this problem. Please help. Any help will be greatly appreciated.

Many thanx in advance to anyone who replies,

Asparagus

Pause Button Needed For Pausing Animation And Audio...
Well...I hope this is easier to do than I think. I'm using the Media Component to shoot off different audio files and animation along the main timeline. However....I've been told I now need a pause button. Is there anyway I can add in a button that will basically pause everything, audio and animation?

I have multiple audio files, possibly 10 at least in each lesson I'm doing. It's basically a presentation that someone will watch.

Advice On Video/audio Manipulation Needed, Pretty Please
Hello you lovely, lovely people. I have a conundrum that i'd really appreciate some discussion on.

A week or two ago I posted a thread in the general forum asking about creating a Flash player app that would let the user import and edit video/audio
( http://www.actionscript.org/forums/s....php3?t=118654 )

Despite the one person saying it can be done, I'm still sceptical. Nonetheless, can anyone advise me on ways this could be achieved? What I'm hoping to create is something where the user can import a video/audio file (easy), edit out bits of the file, move bits around (hmm ...not sure), and then if at all possible save out a new, editted file (now as far as I know that's impossible, but I hope I'm wrong).

All this needs to run in Flash player, so I'm gonna need to create the app in Flash or Flex (which I've never used so have little idea what it does). Using other technologies to help is possible, though limited to I think just JS and perl.

I would really really appreciate some advice on where to begin with this, and what technologies/actionscript methods would help, if indeed this sort of thing is at all possible.

much 'thank yous' and grovelling

Help Tips Needed Please For Using Audio With Play-pause-stop&fwd Buttons In Flash
doing a flash presentation with audio and would like tips on pause-play-stop buttons
yeah im doing a project for Nokia and it requires about 3 mins of spoken audio in it..

anyhow its quite straight forward..some bar graphs..text and speak.
But i havent really done a project like this before exactly so i basically need it to work so that you are able to stop or pause the speak at any given moment..then be able to play(continue from where you stopped and left off) and be able to skip back or fwd thru-out the speak.

I think i will split up the 3 mins of speak into several smaller bits instead of having 1 great long wav on timeline..might be best????

But does anyone have any good tutorials..or open FLAS for me to see how this could best be done..

Id be very greatful!!

Cheers!

Chris

Can Flash Detect Realtime Audio Data? (for Linking Visuals To Audio Velocity, Etc)
I've seen a lot of Oscilloscopes for Flash but they've all been fake - they simply generate random patterns that look convincing, expecially if the sound is erratic and would produce chaotic oscilloscope feedback anyway, but they actually have no connection whatsoever to the sounds that are playing.

I've heard people claim however that real oscilloscopes can actually be made in Flash, and I was wondering if anyone could point me towards some resources for looking into it.

I have a distinct feeling that they are probably misguided or just plain incorrect anyway, but it's still a prospect that interests me a lot.

Much thanks,
pH

Audio Player That Requires Access Codes To Play Audio Files. Possible ?
LINK

I've just uploaded this rough piece of website for an upcoming band. If you click LINK you will see two flash movies. The one on the bottom is the audio player. What they want instead of JUST an audio player, is a player that plays certain "secret" audio files if you enter the correct 6 digit number. So imagine a text field and a submit button next to the < || > controls. I'm still getting to know Flash and I have no idea how to create something like this. Anyone have any advice? Any tutorials out there? Info? and finally...this IS possible right?

Thanks

Audio Player That Requires Access Code To Play Audio Files. Possible ?
http://www.theafternoontears.com/monitor.html

I've just uploaded this rough piece of website for an upcoming band. If you visit the URL above you will see two flash movies. The one on the bottom is the audio player. What they want instead of JUST an audio player, is a player that plays certain "secret" audio files if you enter the correct 6 digit number. So imagine a text field and a submit button next to the < || > controls. I'm still getting to know Flash and I have no idea how to create something like this. Anyone have any advice? Any tutorials out there? Info? and finally...this IS possible right?

Thanks

Help Need An Audio Pause Button Flash 5 That Doesnt Need Audio To Preload
Hi,
I have tried so many audio methods to try and get a pause button that works and allows the audio to start streaming as soon as the movie starts.
I tried this tutorial at macromedia but it needs the sound to fully load or the sound_mc doesnt exist using
with(sound_mc)
http://www.macromedia.com/support/fl...mple_sound.htm

can it be done in flash 5.
my movie just needs to be a pause/play button and a mp3
but sound must stream not preload

mark

Audio Player/playing Audio Files Externally (mp3)
I've designed the audio player with all of the necessary buttons. I'm trying to play the mp3 files in an consecutive order. I am having trouble stopping or pausing, rewinding and fast-forwarding the mp3 file. I also have a next button and a back button and I don't know how to get them to work either. I have a slider, but can't get it to work either. Please help! I tried to follow the tutorial on flash kit, but wasn't quite understanding it. I would greatly appreciate this if someone could lend their knowledge and support.

Thanks in advance!
PR Gip

Audio Volume Sliders For Multiple Channels Of Audio
I don't even know if this is possible, but I was wondering if there was any way you can set up volume sliders to control multiple channels of audio. For a project I'm working on I am going to have background audio and comentary. I want the user to be able to adjust the volume of both the background audio and the comentary. Is there any was I can make seperate sliders for each of those tracks of audio?
Thanks!

Stopping Audio And Starting Another Audio When Button Clicked
Hello,
I have a multiple slide document, and I want sound to stop when they click the "Next" button, and another audio clip to start. Here is what I have so far:

//audio
x = new Sound();
x.attachSound("Slide1");
x.start(0, 0);
musicplay = true;
forward_btn.onRelease = function() {
gotoAndStop("2");
numbering eq numbering++;
};

So I just want it to play audio clip "Slide2" when they click forward_btn, and I want "Slide1" to stop.

Thanks!

CD With Projector And Audio Track For Conventional Audio CD Player
hey guys,

I'm creating a CD that contains an auto-executable flash profector but, I want the option of putting the CD into a conventional audio CD player and hearing an audio track.

Is this possible, creating an audio and data cd? If so, how?

Thank you very much!

artane

CD With Projector And Audio Track For Conventional Audio CD Player
hey guys,

I'm creating a CD that contains an auto-executable flash profector but, I want the option of putting the CD into a conventional audio CD player and hearing an audio track.

Is this possible, creating an audio and data cd? If so, how?

Thank you very much!

artane

Flash Audio Player For Streaming Audio
I am working on our church's website and am trying to add mp3 sermons for our visitors to listen to. I have a player that I downloaded but is has some problems, for some reason it will play 2 files at the same time, sometimes it says file not found and I am not sure why. I do not have the FLA file just the SWF that was on the website for download so I can't make any changes. Can anyone tell me how to make a flash audio player with play, stop, pause, rewind and fast forward buttons. Or if anyone has a sample player that I could use for my church, I need it as small as possible and do not need a playlist. Any help would be great.

Help With Audio. Can Anyone Hear The Audio On These Pages ?
Hi,

I am trying to add some sound testimonials to my site and was wondering if anyone could help. My problem is I am not all that familiar with Flash MX.
I have put up two pages through trial and error on my site
http://www.121dreamweavertutorial.com/testing123.html
http://www.121dreamweavertutorial.com/georgina.html

What I did in the second example http://www.121dreamweavertutorial.com/georgina.html was get the lady to give the testimonial as a .wav file which she then sent to me.I then went into Flash MX and exported it as a .swf file into Dreamweaver.

The problem I am having is that some people can hear the audio and some can't when entering the above pages.

I can only imagine that some people do not have the correct plugins installed. My problem is I dont know how to ensure that people can hear the testimonials, what code is needed etc.

If some one could look into these pages and see what the problem is I would be so grateful.


Regards

Stephen

Audio EQ
Does anyone have a .fla or tutorial for the graphic EQ used for hearing the loop samples on this site. I really would appreciate it. thanks in advance!

BTW, here's the link to the loop sampler:
http://www.flashkit.com/loops/Techno-Dance/Techno/

AUDIO HELP
ok... is there any way to stream mp3s with flash without loading them in the movie????????

((EX:the mp3 is not in the .fla file it is on the web server ans the flash gets it and plays it))


THANKS FOR ALL THE GREAT FLASH KIT HELP!!!!!
__________________________________________________ __________

Help::audio
Hello,

I have 4 mp3s, each about 3.5 MB in size and I want them to play when a user clicks on a button. If I simply place the MP3s on a webserver and make a button on my swf file that is a direct link to the MP3, will microsoft media player begin and start streaming the music? If there is a better way, in flash for large files such as these?? please, please let me know. And if possible, please provide code.. i am only an intermediate at flash. Thanks soooo much in advance,

Danielle Examault

Audio
My client wants me to add audio to the intro page I did for his site. I found a tut here

http://www.flashkit.com/tutorials/Au...08/index.shtml

But not quite sure where to begin!

- what file format is kosher to use with FLASH? mp3? other?
- how do I get my hands on an audio file, other than
purchase one from http://********tyimages.com. hmmmm. Maybe burn a cd onto an mp3?

Simple newbie questions- thank God for this area of the board.

many thanks.
CRO8

Need Sum Help With Audio..
how can i make a Audio button that only turns on music?

Audio In Mx
anyone know why flash mx will not play some audio clip till the end. I did a test in flash 5 and they play fine, but in flash 6 the audio cuts short before it gets to the end.

thanks

No Audio
I am having a problem with a flash movie -- it simply have NO AUDIO!!!!!

It's a stand-alone projector (.exe).

I have 2 tipes of audio: one is a rollover button, for which I use the Sound() object; the other is an embedded Quicktime movie.

No matter what compression settings I use, they remain ALMOST INAUDIBLE. I have to raise the volume to the max to hear some murmurs.

I've tried to set up the sound programatically, but it doesn't work. I've done this hundreds of times before, and this is the first time it doesn't work.

HEEEEEEELP!

Thanks in advance,
Eduardo

Audio Help
searched, but couldnt find anything...

i am trying to import a rather large audio file (13 mins long), and i need to be able to start/stop the music to sync it with various pics etc. problem is, whenever i start the audio file, it will not stop w/the stop button on the controller. it just plays through to the end. any ideas?

thanks for any help.

A Sig W/ Audio?
hey. well, i am kind of new to flash, but i have seen some a couple of other people do tihs, and i wanted to do it myself.

i have seen sig's, like on forums, that when you put your mouse over it, it plays music.. like a whole song. and that is what im trying to do.

now, i am good with fireworks and photoshop, so ive made a good image, and i have the song i want to use... but other than that, i have no sweet clue what to do. i have tried a few tutorials and also looked in the "how do i..." section and the help section of flash, but i cant figure out how to do it...

could someone please help me out? it would be much appreciated. thanks.

oh, and im using flash mx 2004

Audio
I'm having a problem finding simple instruction on adding a song to an image montage. How do I get it to start on the first frame of the montage? How do I link it... I'm so lost, I've got everything else in this project done, but can't figure out Audio.

Audio Over Lap
I had a designer create an intro for an Interactive CD. It has an audio introduciton and loop sounds.

I then created additional scenes (like a mini website). On one scene I want to be able to click a button and have the user listen to a sample audio MP3 file. Then, hit stop button and return or when finished click button and return to original scene.

i have done this on other occations but now it is not working.

When I run the Flash file the MP3 audio begins playing during the intro! Can anyone help me figure out why the MP3 begins playing early? Or what I can do to make Flash call the MP3 only when the button is clicked?

Audio
I was looking at an audio tutorial... and it said to add sound you click on the key frame, Modify> Frame, I did that, but frame is not an option in the Modify menu, what's up?

Audio?
is there a way to build a audio player that is fully interactable...where you can pick from a list of songs and play or pause or volume control but with buttons i make?
xxxjosh

More Audio
i want to press a button and play a song...how do i do that?
xxxjosh

Audio Help.....
i was wondering if its possible to have an audio track in my library and have it to play only when the user eneters certain secenes wihtin my movie and stop then when the use leaves those scenes?
this has been buging me now for a while and would much appreciate any help.

regards

m4rty

Audio.....
i was wondering if its possible to have an audio track in my library and have it to play only when the user eneters certain secenes wihtin my movie and stop then when the use leaves those scenes?
this has been buging me now for a while and would much appreciate any help.

regards

m4rty

Audio Help
does anyone know where i could get a good audio convertor? which converts to mp3 via wma and wav? aswell anyone know any good techniques for making audio file sizes smaller to keep files size down?

peace out

m4rty

Audio Q
green_eye helped me out yesterday (thanks for replying!) but I am wondering if there is a way to compress my file size. I have imported a video as well as a sep. audio file. I have the audio in a movie clip and added a stop to it and then put it on the timeline. i am sure there is a better way since the file size is pretty large now. can anyone give me some sound objects info?

Audio
is it possible to pause and audio track that is on the timeline?

Audio
how can I load an external mp3 file to a movie on runtime, and play it infinite times?

mySound.loadSound("file.mp3");
mySound.start("0", 9999);

this is not working

Copyright © 2005-08 www.BigResource.com, All rights reserved