Song Through Out Movie
Hey, to anyone who reads this and helps me out.
So I have a movie (with various scenes) and I have to make this song play out through the whole movie... how would I do that? make another scene and call it out throught the other scenes? Thanks,
FlashKit > Flash Help > Flash Newbies
Posted on: 12-03-2003, 03:27 PM
View Complete Forum Thread with Replies
Sponsored Links:
I Want To Play My Song..when I Click The Song Button.....
After playing an animation a song starts and i have a button where if i click, another song starts playing and previous one stops like that i want several songs to be played by clicking the desired button for that particular song.....someone gave me following action script but i think it works in flash MX only But i m Using Flash 5....and i want it in flash5..is there anyone who can help me....pleeeeeze..!
ss = new sound();
function loadnewsound (newone){
ss.loadsound(newone,false);
ss.start();
}
loadnewsound("track1.mp3);
//then on the button i have put
on (release){
loadnewsound("track2.mp3");
pleeze help!!!!
View Replies !
View Related
Play Song And Show Scrolling Song Name
Here's the scenario, I want to a have song be loading when the page loads. I want there to be a start and stop button and i want a change song button (the song that plays next could be random or in a certain order i dont care). I also want a movie clip im guessing that shows the song title (Mabey an empty symbol thing?) of each song. I would like the song title to scroll contiuously if thats at all possible but if not its no problem.
~Thanks
View Replies !
View Related
Loading Song Into Movie
ello everone.. I was wondering if it is possible for to take a short looping movie I have and add a song to it.
BUT... I want to have the short movie load first and play WHILE the song is loading, with a preloader inside the playing movie, showing the musics load progress....and It needs to have a starty stop button for the music.... can anyone help me, I've looked at the tutorials and they weren't much help.
If you can't understand what i mean, tell me, i will try to explain better.
Thanks....
-Mike
View Replies !
View Related
How To Stop A Movie Clip After Song Has Finished?
Well I'm a little stuck here and I dont know what to do I have my "main movie", in that movie I have the action "loadmovie Track1.swf" on a frame. I also have an action in the same frame calling a movieclip, which is the music/graph equalizer thing that bounces to the music. Once the music is done playing I need the movie clip for the equalizer thing to stop. How would I do that?
View Replies !
View Related
How Do I Stop The Movie Clip When The Song Stops With Action Script
Ok...I need help with this....I was given a task to stop a banner when the song that is just about 9:00 mins long. Now i dont know whether or not I should stream it or find some ActionScript for this....The only thing about the streaming is that the banner is about 30 secs. Is there a way for me to loop it until the song end???
Check it out here http://www.syn3.org/myspace/mergeMyspaceAD.swf
It keeps playing after the song ends
View Replies !
View Related
Song
Sorry I'm still new at flash i want to make a music video. how do i get the song (mp3 file) in. And where ddo i go from there to play it and stuff. Thanks/
View Replies !
View Related
Song
i have a 5 minute song i want in a game but i dont know how to put it in, i have a wav and MP3. plz tell me how! kthx!
View Replies !
View Related
Song Help
Im having trouble importing a song into flash to use on my website, it tells me it wasent important because there was trouble readin them. any help?
View Replies !
View Related
Lot's Mp3 Song
Ok it's simple I have 10 mp3 files and each one has his own play and stop .
the problem is when I play one song and then the other one they are both playing ( I solved this.)
And if I click more time same play btn they start playing on top of each other (also solved this).
If I put this code for one mp3 it doesn't want to play second time
code :
on (press){
if(playing!=true){
sound = new Sound();
sound.attachSound("galebovi");
sound.start(0,999);
playing=true;
}
}
what is the problem
tnx for help
View Replies !
View Related
Loading A Song Into An Swf .
Ok here is my question ..... i need to load a song into an swf . How would i go about doing this ??? Also when i load the song i need to load it into a varible so i can use volume and balance controll . How would i go about doing this ??? also would the song have to be a swf ??? thanks for your time .
View Replies !
View Related
Playing A Song
Hello,
What I'm trying to do: have a full length song play on my website.
I know how to import the mp3 file and insert it on the stage, my questions are,
How can I add a stop and play button for it? This is done with action script? I know a little bit about action script, so adding this play/stop button, is it easy to figure out?
Also is there a better sound file I should use to import a song into flash? Are MP3 ideal? or is there another type of file I should use to make it load faster?
Any suggestions that would help are appreciated.
Thanks,
C
View Replies !
View Related
Fade 1 Song Out And Fade In New Song?
Can Anyone direct me as how to do this?
http://www.kennybellew.com
goes over fading out and in...but not for 2 songs.
I could use his code and write a function passing the song I want to fade out and then re-run a function that passes the second song to fade in...not sure how to do this with javascript in Flash.
Thanks,
Andrea
View Replies !
View Related
Song Button
i want to make a song button for a website, but the song filesize is 2.7mb, if i streamed the audio would that make less loading time, and how do i stream audio
View Replies !
View Related
Odd - Loop Song
I have a song looped within a movieclip (MC_1) that is enabled by an actionscript:
LoopSong = new Sound();
LoopSong.attachSound("Twilight Piano");
LoopSong.start(0, 99999); //0 offset with 99999 loops
When tested it works fine, also when I export the file as a MC_1.swf and double click it, everything works.
The odd thing is when I run the index file (Main.swf) that has a button link to call MC_1.swf, the movie plays but the loop song will not start. I can't figure out why.. I made sure all variables were unique, anyone have any idea?
thanks
View Replies !
View Related
Play A Song Again
I'm creating sound in the background of something and I want it to be controllable. I can stop the sound with the stop button, but I can't get it to play again with the play button. I gave the sound an instance name to try using the script
on (release) {
clarity.start()
}
that doesn't work though. What can I do to play the sound? The sound is in one of my layers. thanks
maria-
View Replies !
View Related
Need Song Put To Video.
I have a song I need put to a flash video. The video would need to look something like the videos that play on the windows media player with our website name and one or two skulls popping up from time to time. Let me know how much this would cost and please show me some work that you have done like this.
View Replies !
View Related
Song Titles
Hey,
I have a simple music player that plays external .mp3 files.
I am trying to display the songs names for each song. I have 5 different songs, I want to make it so when the user clicks the "next song" button, I want the name of the 2nd song to appear, and if the user clicks the "next song" button again, I would like the title for the 3rd song to appear and so on.
I am not really sure on how to accomplish this. Maybe with variable names?
Thanks,
Baljinder
View Replies !
View Related
Song Problems
When I try to import this one song, it does not work. a pop up comes up and it says "having problems reading the file" something like that. but when i try a different song, it works but not this one. the song is the theme song from SAW.
View Replies !
View Related
End Tween At End Of Song
hey does any one know if there is a way to end a tween at then end of a song loaded from then internet?
if there is a way to load the length of the song in frames as a varible then im sure i could figure out a way to end a tween on it...
thanks a bunch for any help
-yeps
View Replies !
View Related
Random Song
I want a little flash doc to load a random mp3 from a website and play it. so, i need to get a random number, and use it to select a url...
I = random number
if I = 1 then URL = "song1.mp3"
if I = 2 then URL = "song2.mp3"
if I = 3 then URL = "song3.mp3"
if I = 4 then URL = "song4.mp3"
*play URL*
but i dont know how to code this.
View Replies !
View Related
Song Position
I'm making a small simple music player. But I have a problem I can't figure out. When some one changes the position of the progress how do you change the position of the song. I've always seen the simple play and stop for mp3. But this seems more complex than that. Does anyone know how to do that?
Thanks!
View Replies !
View Related
The (really) Old Song Of Data To .txt
hmm, I have tha t realy simple AS2 code :
Code:
on (press) {
savbuff = new LoadVars();
lvfake = new LoadVars();
sav = _root.currfram;
savbuff.sav = sav;
savbuff.sendAndLoad("Save.txt", lvfake, "POST");
lvfake.onLoad = function(success:Boolean) {
if (success) {
trace("year! ");
}
};
}
...I want to save a number like 14 (stored in _root.currfram) in my save.txt (&sav=14 ), but I dont know how!
I already have done such many times with php, writing in db and others, but I dont want a server application, my swf runs on a single PC and I just want to store that damn f**g integer!!
anyone knows how to direktly write to .txt? without any php or other
(loading things works perfektly!...)
please any help!! thx
View Replies !
View Related
Song Not In Sync
This is getting frustrating
I have Flash CS3 (I don't know if that's similar to 9), and I'm currently trying to make an animation, which is supposed to be in sync with the song I put in. What I do is put the song on a layer and then do my animation, and then preview it right on the program; and it's fine this way. However, when I Test Movie (CTRL+Enter) and watch it on there, the song goes too fast and the animation can't keep up. What is wrong here?
My export settings for the audio stream and event are: MP3, 160 kbps, Best
I'd really appreciate any input. Thanks.
View Replies !
View Related
Syncing A Song
I have a .txt file with words in it and times.
example:
38.509105I
38.783629can
39.000587do
39.486482that
39.691871now
What I would like to do is print out all of the lyrics in a dynamic box and then highlight each word when an mp3 reaches the time to the left.
any help is greatly appreciated
Thanks
View Replies !
View Related
Song Won't Loop?
I have a song attached externally and it plays well but it doesn't loop?
I know there's a lag or pause with this type of song loading but it doesn't play at all. If anyone can help me or point me to an article let me know.
bgsong = new Sound();
bgsong.loadSound("song.mp3", true);
bgsong.start(0.05,20);
Thanks.
View Replies !
View Related
Loading Song, NaN ?
Hey, I have an mp3 on my little site, but when It is supposed to load, instead of the percentage number, its just says NaN, anyone know why?
Here my code:
Code:
AudioXml = new XML();
AudioXml.ignoreWhite = true;
AudioXml.onLoad = LoadXmlFile;
AudioXml.load(playListPath);
function LoadXmlFile(success) {
if (success) {
aPath = new Array();
asongTitle = new Array();
aAudio = new Array();
aAudio = this.firstChild.childNodes;
AudioTotal = aAudio.length;
for (i=0; i<AudioTotal; i++) {
if (aAudio[i].nodeName == "AudioProps") {
aPath.push(aAudio[i].attributes.path);
asongTitle.push(aAudio[i].attributes.songTitle);
}
}
AudioPath = aPath[0];
tAuthor = asongTitle[0];
AudioActual = 1;
tCount = AudioActual+" Of "+AudioTotal;
tText = "Xml Loaded";
} else {
tText = "Xml not loaded";
}
}
Ff.onPress = function() {
if (AudioActual<AudioTotal) {
AudioActual += 1;
AudioPath = aPath[AudioActual-1];
tAuthor = asongTitle[AudioActual-1];
MySound.stop();
Mystatus = "Press Play";
}
};
Rw.onPress = function() {
if (AudioActual>1) {
AudioActual -= 1;
AudioPath = aPath[AudioActual-1];
tAuthor = aSongTitle[AudioActual-1];
MySound.stop();
Mystatus = "Press Play";
}
};
PlayBtn.onPress = function() {
if (FlagPausa == true) {
MySound.start(SoundPausePos, 0);
FlagPausa = false;
SoundPausePos = undefined;
} else {
MySound = new Sound();
volume = 100;
MySound.setVolume(volume);
MySound.loadSound(AudioPath, StreamFlag);
FlagPausa = false;
_parent.onEnterFrame = function() {
TB = MySound.getBytesTotal();
BL = MySound.getBytesLoaded();
if (BL != TB) {
TheText2.text = Math.round((BL/TB)*100)+"% Loaded";
} else {
TheText2.text = "100% Loaded";
delete _parent.onEnterFrame;
MySound.start();
}
};
}
};
StopBtn.onPress = function() {
MySound.stop();
Mystatus = "Press Play";
};
PauseBtn.onPress = function() {
SoundPausePos = MySound.position/1000;
MySound.stop();
FlagPausa = true;
};
volUp.onPress = function() {
if (volume == 100) {
volume = 100;
} else {
volume += 10;
MySound.setVolume(volume);
}
};
volDown.onPress = function() {
if (volume == 0) {
volume = 0;
} else {
volume -= 10;
MySound.setVolume(volume);
}
};
Thanks,
fatnslow
View Replies !
View Related
Help With Xml Song Loading?
Hi!
I have a question,
I need to know how to make this file, load form a url instead of a path.
i know basic script. and virtually no xml. im assuming you change the word path to url in the xml... and then i dotn know how to fix the flash file. please help!
http://downloads.flashkit.com/movies...is_Jo-8416.zip
i want to do something like it for my bands site, but no clue how to work it.
thanks!
View Replies !
View Related
Song Stream
Ok I have this code for a song that I have streaming on keyframe 1... I have a second song streaming on keyframe 2... I was attempting with the following code to goto keyframe 2 and start playing the second song after the first one was completed with the following code.... but now its now working at all and im getting an output of "};"
the code:
stopAllSounds();
mySound = new Sound();
mySound.loadSound("Blazing.mp3", true);
mySound.onSoundComplete = function("Blazing.mp3", true) {
};
gotoAndPlay(2);
anyone have an idea?
thanks
View Replies !
View Related
Song Timer
Hey guys, I have no idea where to start with this.
I'm makking a simple flash player which loads movies as the songs.
The song file is simply a preloader then in the next scene one frame which plays the song.
I would like to know how I can have a display which shows the song time.
Any help would be great.
Thanks in advance
View Replies !
View Related
Help With Mp3 Player, Go To The Next Song
Hey gang.
I have this little radio I've made for a singers' site. It auto starts when the page is loaded, but just the first song. The artist wants the radio to go through the entire array of songs like a CD when the user is at the site. However, the radio also has a comboBox, so that users can select what song they want to hear and play it. That part all works fine EXCEPT making the autoplay part go to the next song after the first ends. This is the very simple AS I put on the movie to make the first song play when the movie loads. So how do I get it to go to the next item in the comboBox and then the next and then the next?
Any help would be greatly appreciated.
Thanks in advance!
.pete.
Code:
stopAllSounds();
var song = new Sound();
song.loadSound(cbSongselect.selectedItem.data, true);
nowplaying.text = cbSongselect.selectedItem.label;
song.onSoundComplete = function() {
stopAllSounds();
nowplaying.text = defaulttext;
}
View Replies !
View Related
Song Counter
does anyone know how to adjust kennybellews counter to track seconds and minutes when tracking a song?
this.onEnterFrame = function () {
myMusicPositionText=_root.track1.position/1000.;
};
this tracks milliseconds and seconds.............
thanks, teddy
View Replies !
View Related
Loading Song, NaN ?
Hey, I have an mp3 on my little site, but when It is supposed to load, instead of the percentage number, its just says NaN, anyone know why?
Here my code:
Code:
AudioXml = new XML();
AudioXml.ignoreWhite = true;
AudioXml.onLoad = LoadXmlFile;
AudioXml.load(playListPath);
function LoadXmlFile(success) {
if (success) {
aPath = new Array();
asongTitle = new Array();
aAudio = new Array();
aAudio = this.firstChild.childNodes;
AudioTotal = aAudio.length;
for (i=0; i<AudioTotal; i++) {
if (aAudio[i].nodeName == "AudioProps") {
aPath.push(aAudio[i].attributes.path);
asongTitle.push(aAudio[i].attributes.songTitle);
}
}
AudioPath = aPath[0];
tAuthor = asongTitle[0];
AudioActual = 1;
tCount = AudioActual+" Of "+AudioTotal;
tText = "Xml Loaded";
} else {
tText = "Xml not loaded";
}
}
Ff.onPress = function() {
if (AudioActual<AudioTotal) {
AudioActual += 1;
AudioPath = aPath[AudioActual-1];
tAuthor = asongTitle[AudioActual-1];
MySound.stop();
Mystatus = "Press Play";
}
};
Rw.onPress = function() {
if (AudioActual>1) {
AudioActual -= 1;
AudioPath = aPath[AudioActual-1];
tAuthor = aSongTitle[AudioActual-1];
MySound.stop();
Mystatus = "Press Play";
}
};
PlayBtn.onPress = function() {
if (FlagPausa == true) {
MySound.start(SoundPausePos, 0);
FlagPausa = false;
SoundPausePos = undefined;
} else {
MySound = new Sound();
volume = 100;
MySound.setVolume(volume);
MySound.loadSound(AudioPath, StreamFlag);
FlagPausa = false;
_parent.onEnterFrame = function() {
TB = MySound.getBytesTotal();
BL = MySound.getBytesLoaded();
if (BL != TB) {
TheText2.text = Math.round((BL/TB)*100)+"% Loaded";
} else {
TheText2.text = "100% Loaded";
delete _parent.onEnterFrame;
MySound.start();
}
};
}
};
StopBtn.onPress = function() {
MySound.stop();
Mystatus = "Press Play";
};
PauseBtn.onPress = function() {
SoundPausePos = MySound.position/1000;
MySound.stop();
FlagPausa = true;
};
volUp.onPress = function() {
if (volume == 100) {
volume = 100;
} else {
volume += 10;
MySound.setVolume(volume);
}
};
volDown.onPress = function() {
if (volume == 0) {
volume = 0;
} else {
volume -= 10;
MySound.setVolume(volume);
}
};
Thanks,
fatnslow
View Replies !
View Related
Help With Xml Song Loading?
Hi!
I have a question,
I need to know how to make this file, load form a url instead of a path.
i know basic script. and virtually no xml. im assuming you change the word path to url in the xml... and then i dotn know how to fix the flash file. please help!
http://downloads.flashkit.com/movies...is_Jo-8416.zip
i want to do something like it for my bands site, but no clue how to work it.
thanks!
View Replies !
View Related
Animating A Mp3 Song
Hello,
I'd like to use flash to animate a 3 minute mp3.
After importing it successfully I cannot drag it onto a frame without the program locking up.
Is there a file size limitation to what you can place in flash?
I'd also like to synchronize the animation to specific parts of the song.
thanks,
pearldive
View Replies !
View Related
[as1] Detect Song End
I am building a mp3 player. i want my mp3 player to go to the next song when my first song ends automatically. How can i detect the end of a song and send it to the next song?
Thanks for any help!
View Replies !
View Related
How To Get Song Names From 1 To 5
Code:
bgSound.loadSound ("bgSound_"+Math.round( Math.random()*5) + ".mp3", true);
Load this random method bgSound_0.mp3 also?
How can I prevent to load bgSound_0.mp3
Maybe like this?
Code:
bgSound.loadSound ("bgSound_"+Math.round( Math.random()*5+1) + ".mp3", true);
View Replies !
View Related
|