Best Music File
Hello all,
I have a question I am having someone do the web site for our music studio. But they are coming into a problem when Flash compresses (if thats what it is indeed doing) the music we sent. We have tried MP3s and a few other formats. What is the best audio compression to use for Flash for the best quality? Does it make a difference?
Here is the site if you wish to see it. Go to Music and click on a sample... http://www.t-r-p.net/
Thanks in advance, DJ Razor-X
Tek-Tips > Adobe(Macromedia): Flash Forum
Posted on: 26 Apr 02 23:38
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Can I Change My Sound/music File After I Imported Into My Flash File?
Hi,
I want to know can i change my sound/music file after i imported into my flash file (or put it on the work stage)? I mean can i change the length or make the volume louder or softer, like those kind of basic changing.... ?
can somebody help me plz !!!!!! Thank you !!!!!
by Ryan...
Wav Music File
any idea how to link two wav music file using scripts?
which means when my music 1 plays finish it will link to music 2.
thanks
WAV Music File Length
Would a 3 min 32 sec WAV Christmas Song be too long to import into the Flash library. I ran into a problem with my current graded assignment when I attempted to import this particular 3 min 32 sec song into the library. I got a message on the screen that all the files couldn't be copied....so the import failed. I wouldn't be attempting this except I really wanted this final assignment for the semester to be special. Can anyone help me with this? I can't shorten the sound file as it would result in an awkward result....or am I on the right track that the file is simply to long in which case I need to find another Christmas Carol or song as a substitute of shorter duration?. Please advice. I would appreciate it
Adding A Music File
I'm making a music video, How do I add music to the animation with more than one scene and not have to worry about cutting the sound file up to puting it in certain scenes? SO really what I'm asking is how do I make music play through the entire animatin, never cutting out, and never skipping? Thanks
How To Seperate Music From A Fla File?
Hi, guys,
I have a flash source file which I made last year. Now I want to use the background music in that file. How can I seperate the music file from the flash file, and edit it in other software?
Thanks
Preload A Music File. 5%
I want to preload a music file. But i don´t want to preload the entire musicfile.I just want to preload 5% and the stream the rest. How can i change this code so it´s working for me
// th is code is on the first frame
bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
this.loadBar._width = getPercent*100;
this.loadText = Math.round(getPercent*100)+"%";
if (bytes_loaded == bytes_total) {
this.gotoAndPlay(3);
}
// this code is on the second frame
this.gotoAndPlay(1);
My music file is on the third frame
Loading Music File
what i wanna do is ..i wanna have a url link to a specific song_id, for example
http://www.domain.com/player.swf?song_id=1
and i want flash to to grab that song_id, and then load it into the player... i hope that makes sense lol
ActionScript Code:
var music:Sound = new Sound(new URLRequest("?.mp3"));
so, it inserts the song_id where i put the question.. can anyone please help me with this?
im new to flash/actionscript ..so i have no clue... or would i have to work with
<param name="song_id" value="1" />
and actionscript automatically grabs it?
ActionScript Code:
var song_id;
anyway ..any help is appreciated
Pause Music In SWF File?
When I play back SWF files from Newgrounds that have background music, and I pause the movie with Enter, the music pauses as well to keep in synch with the animation. Yet when I play back test movies in Flash, the music keeps playing even when I pause the animation. Why?
Preload Music.swf File
I've created a flash movie that consists of 2 SWF files, one for the main Flash movie and the other for music only.
In the main movie, I have:
Frame 1-3 - simple percentage preloader
Frame 4 - action: loadMovie("music.swf",1); (to trigger the music)
Frame 5 - starts the movie
The problem is, the movie starts before the music plays. The percentage preloader only preloads the main SWF file but not the music file. Is there a way to preload "music.swf" also so when the movie plays, the music will turn on?
I'm a beginner here so any help would be appreciated! Thank you!
AS 2 Flv File And Background Music At War
I am attempting to build a flash site in which there is background music (with an on/off switch) and on one of the particular pages, there is a video (streaming flv) that automatically plays once that page is accessed. The problem lies in that when the I am on the video page and try to turn off the music, the video turns off as well!
Initially i was using the stopAllSounds method, which made perfect sense as to why the problem was occuring, since the scripting was not tied to any particular sound. I then discovered a tutorial on this site (http://www.kirupa.com/developer/actionscript/sound.htm) which involves creating a new sound object and having the off button specifically point to that same sound object in order to turn if off. Still, whenever I attempt to turn the music off, the video still stops as well, even though the scripting speaks specifically to the background music.
Ultimately i am not sure if the error lies in the actionscripting or perhaps in the video configuration, but I am suddenly at a standstill, and unsure what to try next. If anyone can shed some light on what I am doing wrong, I would be forever grateful... please help!!
Flash Music File And ASP...
I asked this question in the ASP forum and didn't get much reponse. Thought I'd try over here.
I've got a client with an ASP/VBScript site who wants music to be added. I know I could add the exported music swf to each page, but the problem is obviously that the loop would start over with each page load. Is there a way with an html site to have a site wide music loop that runs seemlessly from one page to the next?
I know IFrames are one option, but I'd like to avoid them if possible.
Any help would be much appreciated.
Thanks,
Micah
Music File Question
Hello
Would someone please advise me how I may pinpoint the layer/frame that a music file begins on? I have a music file which I wish to change.
All I was going to do was identify the layer/frame and presumably I would see the music file in Properties. I was then going to substitute it.
The music file I have only lasts for 2 mins; do I need to 'loop' it so that it plays repeatedly and how would I do that?
Many thanks.
Steve
Exported File Out Of Sync To Music
help please my exported file when viewd from my machine using ie5 is out of sync with the music yet in swish it if fine anyone got any ideas pls
Load External Music File
HI guys,
I've been working on this for a couple of hoours now,
but still i don't get it...
the problem:
When I load my site everything works, the preloader, de popup screens from the buttons.
But when i put a loadmovie(music.swf....(etc)) in the main movie with a target, it somehow loads but doesn't play the sound.
Does anyone recognize this or now how to fix this...
You can have a look at the site at http://www.geocities.com/vitas9000/
(sorrt for the stupid geocities part, well gotta test it somewhere.
for teh guys who want to help me i have placed a download on the site where you can download de fla from the musicfile and you can test it.
P.S. when you come back again, then it works.
Many Thanx Frank
Linking Music Player 2 A Wav File
i got the cleo player and i dont want to use a sound loop, i can convert wav's into 0.5 mb files, if the cleo player was in the same directory as for exmple the wav file named fight.wav is it possible to link it this wav file and allow the flahs player 2 control it , including stop, play , etc can anyone please help? my email is moreph@hotmail.com and ill check here 2
http://www.angelfire.com/d20/moreph0/cleoplayer.fla
thats the link 4 the open source fla its 0.5 mb 2 .
tx
Low File Size Music Player?
Hi everyone, I was hoping someone could help me with a music player I am trying to make for a band web site. I already have a volume slider for the music, but now I want to know how I can have a play, stop, and skip track button. Basically just like the one you can find at http://www.seanjohn.com or http://www.trustcompanyband.com, except with a volume slider. I would LOVE any help that you guys can offer me regarding doing this. Thank you.
Synchronizing Music File With The Movie
I am so ashamed. I have been doing a multimedia CD rom for a company including an intro with an apropriate music for it. I have been testing it at home, at work it all worked very well. (On newer processors 1,5-2,5 Ghz). But when i went to the company to present the latest version with the music on it, i got ashamed. Whether it was because of the slower computer or because of the media the movie was comming from, a CDRom, the movie was running much slower but the music was playing normal, so my music file finished earlier than the intro! How can i fix this? The music file is synchronized with some events. It needs to be. Also it need to be running throughout the intro. No pauses.
Thanks in advance.
Help With Inserting A WAV Music Audio File
I need to take a simple HTML splash page and insert a WAV file. I have been told using Flash to do this is really easy, but I don't know much about Flash. Can anyone give a descriptive How to guide for doing this and how to add it in to the html page? Or, how to do it?
Appreciate any help...thanks!
How This File Works To Play Music
i've got this attached file for learning.
but after looking into it,
i can't figure out how this .fla manage to play the music...
i see the audio file in the library...'
but why is it no actioinscript whatsoever to trigger the music playing??
anyone can tell me how it works?
(see attached)
Can't Remove Music From Flash File
I decided not to use a music (wav) file and want to delete it from my file. I deleted it from the library and also the layer it was on. I publish the file and the sound still plays! I have no idea how to get rid of it!
Movie And Music Loop, In 1 File?
I have a multi-scene music loop, which i learned from here.
Which works fine if i put the movie in a web page. However, i want to use the movie in other ways, so i need the movie and the music all in 1 file.
Does anyone know how i can do this?
Synchronizing Music To A Flash File
Hi there
I was wondering if you could help me figure this thing out.
I imported an MP3 file to the stage and started working around it to synchronize the actions with the music. When I hit "Ctrl+enter" to test the movie within flash everything seems synchronized but when I publish to an SWF, the synchronization is off...
Is there something I need to do so that it's synchronized when published?
Thanks
Losse
Movie And Music Loop, In 1 File?
I have a multi-scene music loop, which i learned from here.
Which works fine if i put the movie in a web page. However, i want to use the movie in other ways, so i need the movie and the music all in 1 file.
Does anyone know how i can do this?
Adding Music To A Flash Mx File?
I am done with the project, and I need to add music. I want to put 2-3 songs to play while searching through the movie.
I want the music to stop playing when I jump back, and then play the song I have designated to play in that frame. I've tried to add music before. But, when i jump back a few frames the music doesn't stop, and then a whole new song starts playing with the one that was already going.
Please help.
How Do I Load An External Music File
Hi I want to load an external sound file when i press a button.
Is this possible? You can load external movies so can you do it with music files? if so the code would be great! thanks.
Actionscript 2.0 please
Unbeleavable: New Music File Smaller That MP3 For Flash
You WISH!!!
Sorry to break it to you but MP3's are Not the smallest music files.
There is something called Music Modules and sound exactly the same as a CD Quality MP3, but at an astonishingly smaller file size.
HOW IS THIS POSSIBLE?
Simple really.
Instead of including every chord for every intrument, Music Modules only need One chord thats about 1 second long, for all the instruments.
WHAT IS THE SIZE OF A Music Module?
I though you'ld never ask!
An ordinary Music Module of about 4 minutes length is about 370 Kb.
An MP3 of 4 minutes length is nowhere near that!!!
WHY ARENT Music Modules SUPPORTED IN FLASH YET?
That's also simple!
Developers are too afraid to ask Music Modules be supported. It seems that Macromedia has enacted some sort of unwritten rule that basically states that music is not as important as graphics. The studies they undobtebly have show that the audio quality, or should i say, music experience, is not an important factor in multimedia and the online experience. The problem is, these studies were done with big businesses and corporate types, not the rest of their Flash userbase.
HOW TO GET Music Modules INCLUDED?
Do some reaserch about Music Modules yourself and see if this is what you really want. The benefits outweigh any negatives in my opinion. Post repeated threads on the topic, on this or MM site. Email and formal Letter are a great way to go about it, especially if you present yourself as an important business entity that uses their product and is a bit peaved that an important technology like this has been overlooked by MM, hinting that they are slipping and don't know the newest technology trend.
Lastly,
If MM doesnt take the necessary steps to include Music Modules into its Flash technology, we need to gather up support for a GPL Open Source project that Will incorporate Music Modules, as well as vector graphics and the rest, like Flash has.
Don't Sit And Take Up the Bung Hole from MM. We should be MM first and foremost priority. Period...... Not Big Business!
Petition for Music Module support in the next release of the Flash Player.
Izzy
Play Same Music File Having Various Html Or Swf Files
I do have various html and swf files to play my cdbook and I want a track that plays ever and ever from begining to end with no stop when click a link to the next swf or htlm file, how can I do that?
......thanks
Download A Music File In Flash MX2004
Hi,
Can anyone help me with this problem. I have developed a music site using Flash MX2004 and would like to offer a small download facility. After searching forums it seemed that the best way to do this was to use PHP and ASP because MX2004 did not have the inbuilt ability to do this. Unfortunately when I use the PHP I only get 1K of data downloaded (it completes extremely quickly). The PHP script I'm using is in the attachment.
Can anyone suggest what I can do.
Thanks,
Gareth
Attach Code
<?php
// downloading a file use http://somewhere.com/download.php?filename=name of file
$filename = $_GET['file'];
if(!$filename){ echo "ERROR: No filename specified. Please try again."; }
else {
// fix for IE catching or PHP bug issue
header("Pragma: public");
header("Expires: 0"); // set expiration time
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
// browser must download file from server instead of cache
// force download dialog
header("Content-Type: application/force-download");
header("Content-Type: application/octet-stream");
header("Content-Type: application/download");
// use the Content-Disposition header to supply a recommended filename and
// force the browser to display the save dialog.
header("Content-Disposition: attachment; filename=".basename($filename).";");
header("Content-Transfer-Encoding: binary");
$root_path = "./audio/";
$myfile = $root_path . $filename;
//header("Content-Length: ".filesize($myfile));
readfile("$myfile");
exit();
}
?>
Stop Music File Loaded In The Timeline
Hi all,
I have an MP3 file loaded in the main Timeline at frame 1 and it loops (background music loop). And I have a simple button to shut down the entire site sounds
Code:
stop();
off_btn.addEventListener(MouseEvent.CLICK, stopMusic);
function stopMusic(e:Event) {
SoundMixer.soundTransform = new SoundTransform(0, 0);
gotoAndStop("off");
}
Once clicked, it goes to the "off" frame and there I have this code to pump up the volume again.
Code:
stop();
on_btn.addEventListener(MouseEvent.CLICK, playMusic);
function playMusic(e:Event) {
SoundMixer.soundTransform = new SoundTransform(1, 0);
gotoAndStop("on");
}
Now, the problem is that I have a film page where the users can view some films. And when a user click on a film, I'd like the background music to shut down. But if I use the code above it'll stop all the sound, even the film soundtrack. So, is there a code I can use to shut down only the MP3 file loaded in the main Timeline?
Thanks!
Sound Spectrum Display Of Music File
I am new to Actionscript 3 and have finished numerous tutorials on sound spectrums but I could not find one that showed how to display the audio information as a static timeline (like in Cool Edit Pro). Is this possible?
Thanks,
Hoss
Flash Music Player Embedded Into Html File
Hey there.
I have a webpage with a SWF, that is a music player, embedded into an html/php file. although it works fine when you load it seperately as a SWF, it does not load up at all when it is part of the webpage.
http://www.lightsmusic.ca/index.php?section=media
If you click on the option to listen to the song, either one will load an embedded SWF that does not load the song. As I said before, if you play it as a SWF on it's own, it loads fine.
n00b problem, I bet. However, why is it being like this? It's a streaming file that should work.
thanks much!
Play/Stop Button For Text Flash File With Music
Just as the subject says, I wanted to know how to create a stop/play button on the files I create. I used Wildform FX and Links. Can any one help.............
www.lasvegashardcoreriders.com is the site.
[url=http://www.lasvegashardcoreriders.com]
Multiple Server Connection Music Player Swf File Redundancy?
Previous title: Multiple server connection music player swf file redundancy?
Old message:
Try saying that topic 10 times fast… :-P
Hi all… I have a rather interesting problem. I am using simple music player that I found somewhere on flashkit, I have been editing it and making it my own. I am using flash MX (not 2004) with Flash player 6 files.
Now my question… Is there a way to check to see if a document exists, (or a swf file loads) inside flash?. The reason is I plan to use two different servers to push my music out. One is on a T-1, and the other is a mirror on a T-3 connection. I want to keep my T-1 connection from going down by using a site mirror (the T-3) as a “Fail over” for my music files only. My music files will be accessible from a second apache server process that has a very limited connection count (probably around 10 or 15 connections) and will give a 503 error if to many connections occur, denying access to the file. I would then like the Flash music player to fail over to the backup T-3 server. Is this possible?
I would think that there would be a way to check to see if a loadMovieNum() happened and then fail over but I am banging my head against the wall trying to figure it out. I guess another method would be for flash to detect the 503 errors from the web server, but again, I do not know how to do that. It seems everything I try with my if/else statements fails :-(. I pretty much just need to know the condition statement I should be using :-/.
Any help with this would be greatly appreciated. Thank you!
[CS3] Sound Loop Question: 90sec Music File Loops After 2 Sec?
Hi guys & gals, I'm working on my first web design project and am stuck on this problem. I have a 90sec (approx) music file that I want to play in the background and keep looping til the person leaves the site. When I test or publish the website, the music starts looping after playing for only 1-2 seconds. How can I fix this? I really need help asap, I have a deadline fast approaching and this is the only thing holding me up. Please help!! Also, here's what I've done so far:
- Googled for help and also read 'sounds & music' section here on Flash Kit
- Imported sound file as a .wav and have compression for mp3
- Added the music to the layers panel and timeline
- In 'properties' have the music set to 'Event' and 'Loop'
When I test the music file or go to play it, it plays fine. I don't know whats wrong here.
CAN SOMEONE PLEASE HELP ME!!! Thx for reading
Can Flash Make A Picture Of A Music File? That Squiggly Line...
I want flash to make a picture of the mp3 file. That squiggly line that represents the sound. Like on this page http://www.declan-software.com/japan...shots_djfc.htm
Can Flash do it or do I have to take pictures of every sound file in a sound editor to get that picture?
Glen Charles Rowell
[MX04] I Want A Music File To Play Everytime That The User Hovers Over A Button
Hello
I want a music clip to play when the user hovers over a button, I know how to do this easily enough by going into the button and adding the sound to the over state. However I want the clip to only play once and go through its whole length, I don't want it to restart everytime the user hovers over it.
Thanks for any help.
How To Change Buttons On Music Player Depending On Whether Music Is Playing Or Stoppe
When my music is playing, I want my play button to be blackened in. When the music is stopped, I want my stop button to be blackened but my play button to go back to it's original state.
Right now, when my cursor is over the button, it will change the rollover state. That's easy to do.
How can this be accomplished...do i need multiple layers?
Can I Loop A Specific Section Of Music In Flash After The Music Intro Plays?
Hi! My question involves looping audio in flash. I already know how to make a section of audio in an audio-editing program that loops and make it loop continuosly in Flash. What I would like to do now is take an audio clip that has an intro section and a "body" section and after the intro has played, loop back to the beginning of the "body" section continously. I assume it would involve sending it back to a specific millisecond?
Anyway, can anyone help me out with this one? Or is it even possible?
Thanks,
aswhitehead
How To Make MC Clip Play When Music Starts, Stop MC When Music Stops
Hey,
I've got a audio player on my flash website and I want to have a audio spectrum analyser (those little squares that move up and down randomly) start playing when the user starts playing music and then stop when they stop the music.
Is there a simple way to do this?
Cheers
Max
Display Music's Details As The Music Playing?
Hi
I saw something similiar at Flashkit - Sound FX, when you click on it, you would be able to play the music yet at the same time, display the music "detail", when the it high tone, the display go up high when the tone is low, the display go down?(Hope im not wrong in describing it)
http://www.flashkit.com/soundfx/Interfaces/
Can someone teach me how it work? Thanks
Preload Music And Fade In Music
Hi, i'm looking for a script that preloads my music. once it's loaded it should start playing the music with a fade in.
Anybody can help me with this. My actionscript-skills are very poor.
This is the code that i'm using for the moment, without preload and fadein. It uses a random of 3 tracks.
Loops = new Array("track01.mp3","track02.mp3","track03.mp3");
choice = random(Loops.length);
mySound = new Sound();
mySound.loadSound(Loops[choice], true);
thx
scarlac
|