Running Music In Background?
i have made an animation of a galloping horse that only runs for a couple of seconds. i want to put music in the background, and loop both the animation and the music, but not together. the music goes for a few minutes, i was trying to get the animation to start again as soon as the animation finished, but not for the music to start again until it had finished the first time. if the space for the music was as long as the space along the timeline for the animation, every time the animation started again the music started again, over the top of the music that had been started the first time. if i made the space for the music bigger the animation didnt start again until the music had finished the first time, so there was only animation for the first couple of seconds of the song, and for the rest the stage was just blank. i dont know what to do... can you please help? Also i drew a background in photoshop with the dimentions 700px X 450px and imported it into flash MX i made the size of the stage 700px X 450px but it is a lot bigger than my background picture evrn though they are meant to be the same size, i havent rescaled then or anything, did flash MX?
FlashKit > Flash Help > Flash Newbies
Posted on: 08-25-2002, 04:15 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Running Movieclip When Music Is Loaded.
Okay I'm new in working with flash so don’t kill me
I have a little problem. I have a site that preeloads, when I finishes it goes to another scene where I loads a background loop, and when it has been 100% loaded it start to play, and starts a little music animation movie clip. It works fine, but when I "refresh" my browser and the flash file start over, the music starts playing, but it doesn’t load the animation. How do i fix this?
Heres my script:
// create a new Sound object
var my_sound:Sound = new Sound();
// if the sound loads, play it; if not, trace failure loading
my_sound.onLoad = function(success:Boolean) {
if (success) {
gotoAndPlay(2); // starts the music movie clip!
my_sound.start();
my_sound.onSoundComplete = function() {
my_sound.start();
};
//message_txt.text = "Finished loading";
} else {
//message_txt.text = "Failed loading";
}
};
// load the sound
my_sound.loadSound("test6.mp3", false);
my_sound.setVolume(30);
stop();
Running A Movie In Background
I have designed a really nice movie that fits the whole menu.
What I want to do is run this movie in a loop behind the actually meny so when people use the meny the animation is still going continously in the background.
Anyone know how I could go about this ?
Thank you
Scenes Running In Background?
I'm making a game, using different scenes for different levels, each level has several onClipEvent (enterFrame) { bunch of functions, some with calls to _root functions }.
When the user moves from Scene1 to Scene2 (Level2), do the onClipEvents on Scene1 keep running?
And is _root separate in each Scene?
thanks,
winky
Memory Leak In 24/7 Running Standalone With Music Bckgrnd
Dear friends,
First just tu say that I've visited this forum numerous times. And always found some answers. Thanks for that. You've been helping even you didn't knew
Now I have a small problem that's eating me for days.
I'm finishing a 24/7 Flash gallery which will play on some plasma screens. Guys who asked me to make it, insist on music background. Gallery works just fine without music and there is no problem for it to work for weeks.
But when I allow it to load sound (simple playlist from XML) it starts leaking memory on every song change.
In future, they are expecting me to replace XML playlist with Shoutcast streaming or something like that, but as I've found out memory leak with flash-based mp3 streaming players is regular problem.
This is the source of Playsong() function (yes, it's a Frankenstein's monster , but bear with me, I've tried every trick in "the cookbook")...
What am I missing???
Code:
function playSongs() {
clearInterval(streamingID);
clearInterval(playingID);
if(typeof my_sound == "object"){
my_sound.stop();
delete my_sound;
}
my_sound = new Sound();
my_sound.loadSound(songs[currentSong],true);
my_sound.onSoundComplete = function() {
currentSong++;
if (currentSong>=songs.length) {
currentSong = 0;
}
my_sound.stop();
delete my_sound;
clearInterval(streamingID);
clearInterval(playingID);
playSongs();
};
}
streamingID = setInterval(displayStreaming, 200, my_sound);
playingID = setInterval(displayPosition, 200, my_sound);
function displayStreaming(my_song){
if(my_sound.duration>0){
if(my_sound.getBytesLoaded()== my_song.getBytesTotal()){
clearInterval(streamingID);
}
}
}
function displayPosition(my_song){
if(my_song.position>0){
if(my_song.position==my_song.duration){
clearInterval(playingID);
}
}
}
Quicktime Movie Running In The Background
this may be an odd question and it may not be posted in the right forum but I'm new to flashkit.
what I want to do:
1. have a quicktime 1 minute quicktime movie running in the background
2. have buttons that trigger "pop up" words to come up over the quicktime movie.
basically i need the quicktime movie playing throughout it's 1 minute duration regardless of what interactive things happen.
does that make sense?
any help would be appreciated.
thanks
Single Background Animation Running Through All Scenes?
Hi guys,
Here's the deal-i currently have 6 scenes in my current movie. It's going to be an online portfolio and each page is a section of the portfolio. However, i have an animated background (400 frames long) that i want to be played throughout the entire site. Of course, when i try and do this the animation resets every time the scene changes. The best i could do so far is to have it running on every page this way but like i said, it resets every time the scene changes.
I'm just wondering if it's possible to set this background to run smoothly through the portfolio without reseting?.
Thank you
Making Audio Tracks Running In Background On Start
flash mx 2004 newbie here.
how can i add a background streaming mp3 (eg i have made a song.swf with the song on the first frame running on stream mode)
to my flash movie?
I would just need it to run once my flash movie starts and maybe also add a image button on the flash movie itself to stop n start the music on toggle.
Please help.
Making Audio Tracks Running In Background On Start
flash mx 2004 newbie here.
how can i add a background streaming mp3 (eg i have made a song.swf with the song on the first frame running on stream mode)
to my flash movie?
I would just need it to run once my flash movie starts and maybe also add a image button on the flash movie itself to stop n start the music on toggle.
Please help.
Background Music
I am making an invitation to a new yeears eve party which I will burn on to a cd as projector file (he says hopefully). I have a 3 minute MP3 which I would like to play as the background music just once i.e. the length of the movie will be the same as the MP3 length.
What is the best way to do it?
If I put it in a movie clip, do I have to make the movie clip timeline the same number of frames as the MP3 requires?
If I put the sound on a separate layer in the main movie timeline do I have to do the same thing?
Any help appreciated.
Antics
Background Music
Hi this is my first time here, just made myself a member, i am trying to put a background audio on my web page but don t know how to do it , can anyone help please
thankyou in advance
Background Music
I created a presintation and placed a mp3 as background music. Depending on a person ability to read they need to stop the pres. I need to pause the pres. and mp3 with the pause button and then start the pres. and mp3 up again with the play button.
when i tried using actions i end up with the sound track stopped and never starts again (stop all sounds). Or if i picked stop the pres stops but the mp3 continues playing.
how can i pause my pres. and sound track and restart them were they stopped????
Background Music
I want to use one file to be my background song for the entire video, but i have more than 1 scene. How do i make it so that the song plays throughout the movie? And does music have to be in .WAV format?
Background Music
can someone give me the code for linking audio in my library to use as background music
thanks
Background Music
If you read this and then go to my website www.eyeindustries.com you should be able to work out what I'm on about....
I've got a recordplayer that drops from the air at the start of my movie. A record drops down, the arm moves onto the record and the music starts. Viewers then press buttons in the movie which take them to different scenes, some of which also have the record player, but each scene plays different music.
The problem is, I'm not sure what setting to use! I want to make a small loop from the tracks so my swf size isn't ridiculously big. I have been making a loop inside flash, but unless I choose "Stream", it ignores my editing and plays the whole song.
The problem with "Stream" is that when I go to a different scene I can't use "StopAllSounds" to stop the music, so I end up with several tracks playing over each other, sounding a bit like a train crash.
The problem with using "Event" is that it won't let me edit my track to use a small loop to reduce file size.
Can anyone help me please?
Thanks for reading my essay!
Plz Help With Background Music.
When i reach the end of my flash intro i want music to play until the person veiwing it clicks the "Enter Site Button". How would i go about doing this?
MX Background Music
This is going to sound like a stupid question but I've been asking alot of stupid questions lately since I've been out of the Flash scene since about version 4 or 5.... =)
2 Questions:
1) In MX is there a better way to do background music than loading a external movie into your main movie and just having the music looping in the external movie?
2) Is there a way to make a bar of the sound level go up an down with the actual beats of the music?
Thanks in advance!
Background Music
I want to play two songs, one right after the other in an infinite loop in my movie. I know how to play one song infinitly, but how do you play two one right after another. I'm using flash 5. Thanx!
Background Music
What is the easiest way to put background music into my flash movie? I am currently using a .swf that has the a few .mp3's with linkage to "export for actionscript."
I can get one song to play but once it's done I don't know how to get it to play the other mp3 song. Of tried using the "onSoundComplete" event that doesn't work.
I was sort of hoping someone out there has gotten multiple songs to play in the background and would be willing to post an .fla or at least point me in the right direction!
Thanks a lot!!
Background Music
When making a flash site how would I put mucis in the background so they can turn it on and off while looking that the site but by defualt have it playing?
Background Music
Hi everyone!
I have a film with various scenes. I would like to put a different background music for each scene (when you hit the button for any other scene the music of the current scene stops and the music of the next one starts). A start and stop button in every scene would also be nice. Did I make myself clear?.
Please Help me and thanks in advance.
Background Music
Does anyone know any good tutorials for adding background music to a flash page?
Music Background
Howdy everyone,
I am new to the flash world and I'm having a few problems. I've imported background music into my flash movie. I can see the blue wave file in the timeline. However, when I go to "test movie" the sound file only plays for a second then goes off. But the entire sound track is on the timeline. Doesn't make sense. Also, I can't hear the sound while I'm moving the playhead across the timeline.
If anyone could help I would greatly appreciate it. It has frustrated me for over 2 days.
Thanks,
Jeremy
Background Music
Does anyone know any good sites where you can download music for flash sites?
Help With BACKGROUND MUSIC
HI there,
First off thanks for responsing.:-)
I want a background song to start playing after the preloader and continue to play after the movie has finsihed.
your help is greatly thaked!!
Geo
How Do I Add Background Music?
HI there,
First off thanks for responsing.:-)
I want a background song to start playing after the preloader and continue to play after the movie has finsihed.
your help is greatly thaked!!
Geo
How Do I Add Background Music
HI there,
First off thanks for responsing.:-)
I want a background song to start playing after the preloader and continue to play after the movie has finsihed.
your help is greatly thaked!!
Geo
Help With Background Music
im trying to make my site play backgrond music..onload
heres the Action script im using dosen't work.
what script do i put in... where i can get the music to stream
for the url on www.soundclick.com
i know i have to initiate a sound object but how..and what script do i put in?
Also my preloader bar...is weird..( i think its kinda cool)
but i want to know how i can get the bar to load left to right without
me editing it..and going to it an adding a motion tween. i know it has something to do with the registration point but how do i adjust that? i see a cross on the top left corner {†} but no circle 0 with and x...which one is it ?
its just the segment of the bar that moves it dosen't grow...normal.
just made this site..first time i built one...
please give comments on the design..
www.angelfire.com/ga4/cds/index.html
thanks †
also i can't tell on my cpu how long it takes to load!??!?!
please relpy with the time it takes to open the page..
specificaly how many times the bar relapses
any help or comments are appreciatate
thanks again
Help With Background Music
Hi. I've been having trouble getting an mp3 to play the way i want it. I only want to use about a minute of the song and I want it to start like 30 seconds into the song because the intro to the song is too slow. Is there a way I can do this in flash or do I have to edit the mp3 to just the part I need in a seperate sound editing program? Thanks.
Background Music
Hi Folks.
I want to put a Background Music in a Flash Intro which i made, and i want to make it continuos even after the movie finish, till the user clicks the URL Link to move into the site. What is the way or solution for this, and please also help me find some nice background music for my intro. Where can i find those.
Thanks
Feroze
Background Music
How do I add background music, that I can change the volume to with a controller? I have the music clip already, and have designed the controller, but I need the action scripts fro the volume slider.
Any help would be great.
Thanks,
ex
Background Music Help
I've got BG music loading into my "_level 0 master level" from "_level10 sound level". When I attempt to control it with "_level10 volume control" it controls "_level4 navigation level". Weird, I know but does ANYBODY know what could be causing this?????
I'm in a jam and could use some help.
Thanks
Background Music
Hi there,
I'm relatively new to flash and I just wanted to ask a question.... I was wondering if you could make a song play in the entire project..from scene to scene without stopping.
Music Background
Hey guys, this is probobly an easy one. I need to span one music clip over an entire movie which has multiple scenes. What should I do?
[F8] Background Music
Hi,
I'm working on a flash game, and i'm trying to add background music. I have some beats, which I want to use as background music in my game. I have one beat which should play on the main menu, Another beat which should play on level 1, another one which should play on level 2, etc.
I've imported the beats into flash (mp3 format). And their linkage details are set to "mg1_music", "mg2_music", "mg3_music", "mg4_music", and, "main_music".
I can't seem to figure out how to make the music smoothly transfer from one to another (so adjusting the volume) when pressing the "continue" button or the "play" button.
Anyone has a script for that (so it loads a new background beat and smoothly transfers from one to another)??
Thx
[F8] Background Music...
:P questions again
I've made several scenes and I want to include some background music.
Where should I put it in order to make it play continuously??
How To Get Background Music
hello;
we would like to put some kind of music in the background of a site;
QUESTION:
1 ) where do we get the music ?
2 ) do we have to pay for the music ?
3 ) any good tutorials on the subject ?
thanks
Shannon
Background Music
Hi there I'm looking for background music for my site . Does anyone know an URL from where I can download background music free?
Thx for reading and hope for help.
scafusia
Background Music?
hey all
Just wondered where everybody digs out background music for their sites from? - Royalty free downloads - where are they!?
Cheers
Dips
Background Music
I would like music to play upon entering a new section, defined by labels. I can get the music to play but it's not confined to the area that I want it to be. For example, Label 1 has music playing but while it's playing, if I click a button that takes me to Label 2, the music continues to play and I'd like it to stop. This is my code to get the music to play, which is in the first frame of the section:
Attach Code
var soundPlaying:Boolean = true;
var my_sound:Sound = new Sound();
my_sound.attachSound("music");
my_sound.start();
Background Music
I really need to know how to add background music to my flash MX home page. So that when i return to my home page another instance of the music does not start playing. The music must loop throughout all the pages in my site. (its a school project thing).
Can someone please help me???
Background Music
I went to this site and I REALLY liked the background music loop...so I took the flash file stored in my Temp folders file...now I wanna use that file for a movie that im directing...(dont worry about copyright stuff...thats not an issue at all)
Any ideas how I can go about doing that? Its almost 20 seconds...didnt upload it yet cuz i dotn have it with me at the moment...but I will soon...
If theres no short way..can soemone tell me a long way...the only other way i can think is if I use an Audio Editing Software liek the Acid Labs Sonic Foundry ones to record it and keep messing around till i get the loop right..
If theres a way of extracting the music from the flash file coudl someone plz tel me? Id erally appreciate it...
P.S. I think everyone shud have a listen to it...really soft and nice music...ill upload it soon..
Background Music
Hi there - I've searched for the answer in the forums but no luck. Can anyone help.
I have built a site in Dreamweaver MX and now want to add background music (sample on a loop) which can be turned on and off with flash (which I am pretty new to)
I have followed the instructions in the help section of dreamweaver and flash, but can only get it so that it either plays constantly, and won't turn off. Or it seems to get stuck and turn on and off so quickly so it just kind of stutters.
Can anyone point me in the direction of a simple step by step solution???
Another question: Do I have to repeat it for every page in Dreamweaver or is there a simpler way (put it in a frame, perhaps?)
Many thanks...
Background Music
I really need to know how to add background music to my flash MX home page. So that when i return to my home page another instance of the music does not start playing. The music must loop throughout all the pages in my site. (its a school project thing).
Can someone please help me???
Background Music
I went to this site and I REALLY liked the background music loop...so I took the flash file stored in my Temp folders file...now I wanna use that file for a movie that im directing...(dont worry about copyright stuff...thats not an issue at all)
Any ideas how I can go about doing that? Its almost 20 seconds...didnt upload it yet cuz i dotn have it with me at the moment...but I will soon...
If theres no short way..can soemone tell me a long way...the only other way i can think is if I use an Audio Editing Software liek the Acid Labs Sonic Foundry ones to record it and keep messing around till i get the loop right..
If theres a way of extracting the music from the flash file coudl someone plz tel me? Id erally appreciate it...
P.S. I think everyone shud have a listen to it...really soft and nice music...ill upload it soon..
Background Music
I use flash pro 8.
Is there a way i can have a soundtrack playing in the background of my movie. I would like to control it, turn Off and On by a button on my first page. I have buttons that start music and video and I would like to stop the sound file when one of them is pushed but I'd like for the sound file to re-start after i have gone back to the home page,if it has been interupted.
Newbie
Peace
crock
Background Music
Can anyone please assist in a (probably) common question - putting background music to a site.
Whats the best file format to use ? and which method ? Stream it as an external swf ? if so how do you ensure it streams as opposed to preloads ?
Also, are what are the regulations on using commercial artists music on sites ? I've seen it done quite a bit ?
Many thanks indeed
Tom
|