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








Getting To Next Song After Song Ends (flash 8)


hi!
Im using flash 8.

Is there any way i can get my script to go to next keyframe when the song on the current keyframe ends? (the song is locatet inside 1 mc, so i guess that the nextframe code is going to be with some kinda "_root" in front?)

Thanks, Andy




FlashKit > Flash Help > Flash ActionScript
Posted on: 10-04-2006, 01:39 PM


View Complete Forum Thread with Replies

Sponsored Links:

Mp3 Player - When A Song Ends Go To Next How?
I've made a little mp3 player in Flash 5... and how can I have it go play the next song automatically when one of the song finishes? let me know? aight.

Ken

View Replies !    View Related
Start One Song After One Ends Through AS
how would i start one song after the first one ends in actionscript, should i count out the frames and check frame numbers to start it or is there an easier way?
heres my code so far

Code:
mySound = new Sound(this);
mySound.attachSound("intromusic");
mySound.start();

View Replies !    View Related
How Do I Add Background Music W/o Stopping Until The Song Ends?
please hellp!!!!!

I have a flash movie which comes to an end but i want the BACKGROUND music to continue to play. what do I do


how do I add background music w/o stopping until the song ends

GeoOW DO I IMPORT BACKGROUND AUDIO

View Replies !    View Related
I Need A Button That Will Change The Song Depending On What Number Song Is Playing
alright i need a last button that will change the song that is playing.

if 5 is playing then change to 4 if 4 is playing than change to 3 the some for the next button.

if you can help than please post thank you

View Replies !    View Related
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
Trying To Import A Song For A Background Song
I need some help im making a website using flash 8 and im trying to import a song for a background song but flash wont let me its telling me that it cant do it

View Replies !    View Related
Song Playing With Flash 5
I'm trying to create a Flash Movie that while the song is playing WITHIN the Flash file, I have an image that tells them what song is playing with animation. I've got that part. My problem is when the song is over, I want another message+animation to come up that prompts them id they want to replay the song. The song is 3:40 long, and I'm running it at 12 fps. Is there a way to do that?

View Replies !    View Related
Add A Song To My Flash File
Thanks for taking the time to read my question.

I have read through the help files in flash, and thought I followed the instructions, but did not get the result I want.

What I am looking for is to add streaming sound to my flash file that starts when the flash file starts. I have it in MP3 format.

I would like it to last until the user clicks the link to the next page on my web site. The flash file is on the intro page (index.htm) of my site.

www.pierced.ca (my band site)

How is this done?

View Replies !    View Related
How Can I Add More Than Just One Background Song To My Flash Movie?
I am making a cd-rom yearbook for my school, and I want to be able to have more than just one background song. Every time I try to put more than one song in the file, all of the songs play, so it is all a big garbled mess!!!
Please Help!!!!!!!!!!

View Replies !    View Related
Flash Song Player - Cant Open?
i downloaded this flash file from

http://www.flashkit.com/movies/Sound...1087/index.php

but cant open with flash mx?

View Replies !    View Related
Flash - Song Looping Problem
nevermind.. figured it out.

View Replies !    View Related
[F8] Sync A Song That Has Been Loaded Into Flash
Hi!

I'm making a music game, and I might as well just tell you directly that it is for the rock out-contest held by armor games. I have almost completed the coding part of the game and it works like a charm, synced and all.
However, I'm now exploring the possibilities to make a song editor. I think I've got most of it figured out; you can load a song into the flash and then you just specify when you want the 'notes' to come. You will get the option to save the song and also a code that you can give your friends so that they can play it as well. I only have one thing I don't know how to solve at the moment, and that is the sync of the uploaded song. I have put the preset songs into mc's and set them to stream, once the game starts the mc plays. Is there any way of achieving this with code, or does anybody know of another way?

Thanks in advance!

View Replies !    View Related
Sync A Song That Has Been Loaded Into Flash?
Hi!

I'm making a music game, and I might as well just tell you directly that it is for the rock out-contest held by armor games. I have almost completed the coding part of the game and it works like a charm, synced and all.
However, I'm now exploring the possibilities to make a song editor. I think I've got most of it figured out; you can load a song into the flash and then you just specify when you want the 'notes' to come. You will get the option to save the song and also a code that you can give your friends so that they can play it as well. I only have one thing I don't know how to solve at the moment, and that is the sync of the uploaded song. I have put the preset songs into mc's and set them to stream, once the game starts the mc plays. Is there any way of achieving this with code, or does anybody know of another way?

Thanks in advance!

View Replies !    View Related
Flash MX Ver6. Help On Song Transition.
hello again everyone. im loving this forum. ^ ^ anyway. im trying to create a effect on which on the main frame it is playing a soundtrack, and upon clicking another button, this original soundtrack would dim off and on starts another different song. there would be several buttons doing this and thus, several soundtracks. anyone has any idea? thanks!

View Replies !    View Related
How To Cut A Song To Small Parts And Use It In Flash 5?
i have difficulty using winamp to cut the .wav files because i can't really specify the second i want to start and end the songs. can we do that in flash? or is there any other software that can cut/edit songs nicely?

thanks

View Replies !    View Related
Edit Song For Flash Intro
Hi:

I am trying to create a flash intro.
I have ran into a problem while trying to create a flash intro for my site.
I would like to use a .wav file of a song but I need to edit the song/file to add a word to the song and then integrate the song into a FLASH into. Does anybody now how to do this? and/or procedure for the edit? and integration of the song?
Any assistance would be appreciated.
Thanks, John

View Replies !    View Related
Karaoke With Flash? How Do You Time A Song With The Lyrics?
Has anyone ever tried to make a radio that would spout out lyrics as the song played like a karaoke player? If so, please help because I would like to make a flah piece that would play a song and spout out lyrics simultaneously exactly like karaoke.

My main concern is on how to time the lyrics with the song. Is there a way to place the MP3 (which I will be using) in the timeline and span a certain number of frames so that I know when I can trigger the lyrics?

I really did search on the forum (this didn't help me) and none seems to help or relate to what I want, so thanks for looking even if you don't give any suggestion.

View Replies !    View Related
How Can I Add More Than One Song To The Mp3 Player Included In Flash Mx2004
i cant figure out how to add a couple of mp3s to play in the mp3 player component of flash mx2004

please help

View Replies !    View Related
Karaoke With Flash? How Do You Time A Song With The Lyrics?
Has anyone ever tried to make a radio that would spout out lyrics as the song played like a karaoke player? If so, please help because I would like to make a flah piece that would play a song and spout out lyrics simultaneously exactly like karaoke.

My main concern is on how to time the lyrics with the song. Is there a way to place the MP3 (which I will be using) in the timeline and span a certain number of frames so that I know when I can trigger the lyrics?

I really did search on the forum (this didn't help me) and none seems to help or relate to what I want, so thanks for looking even if you don't give any suggestion.

View Replies !    View Related
How Can I Add More Than One Song To The Mp3 Player Included In Flash Mx2004
i cant figure out how to add a couple of mp3s to play in the mp3 player component of flash mx2004

please help

View Replies !    View Related
Using Flash Media Player Component To Play An MP3 Song?
Hi guys.

Can anyone tell me how I can set up the flash media player component to play a song? I want to include the song within the flash file if possible.

Thanks!

View Replies !    View Related
Mp3 Flash Player...how Do I Change Song Text Colour?
Does anyboby know where do I look to find and change the code that determines the colour of the text that is displayed for current songs being displayed on my flash mp3 player?

Also how would I change the size of the text, at the moment it's a bit small and wrong colour for my site!


Thanks Jim

View Replies !    View Related
Flash Audio Player For MySQL Song Database
Hi, this is my firts post here, after teading through the topics posted I couldnīt find an answer for my problem, so let me explain hoping that a someone could help me with this.

I work as a webmaster for a digital music dowload site www.musicdld.com we currently use .m3u files for audio prelistening. But to be honest it is a pain in the... making all the clips, and so on, takes a lot of time and effort to do such a basic task.

So I found a while ago the great site of www.bleep.com that uses an excellent flash audio player that calls songs from a database for prelistening, and it even stops the song every 40 secs, so you can listen to the entire song but wonīt be able to record it because it stops at certain points. And the greates part of it, is that it shows in some way the audio peaks of the song

I donīt have much expericne with actionscript, and it has been really hard for me to figure out the correct code. So I wonder if someone on the forum can guide me or help me solve this problem.

Thank you in advance!

View Replies !    View Related
Flash MP3 Player Not Reading Song On External Page
OK, I am new to flash, and picked up this tutorial (which I do pretty much understand) though there is a problem. I created a flash MP3 player and everything seems to work fine, though, when I try to embed it into a page outside of the folder from which the song is located in it does not work.

example: I have the player embed on http://www.fgdesigns.net/creatings/FNC/media.html

as you can see, it shows the player, and all the buttons work, though no song plays, and the ticker doesn't read the song information. Though, when you connect to the swf directly it does work: http://www.fgdesigns.net/creatings/FNC/media/music/mp3player.swf

Why is that? the reason I am puzzled is because the swf includes an external ActionScript file so that is why the buttons work, but, if the buttons work from the .as file, why doesn't it load and play the song?

View Replies !    View Related
The Whole Song
Hello Everybody!
How can I play a complete song during a movie of 6 scenes?

Thanks!!!!!!!!!

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
After Song Is Done...
What do I type in the action script if I the movie to go to a certain frame(or continue to the next one) once the song is done?(Is it even possible?)

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
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,

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
Background Song
I've made a website in flash with 5 scenes and I would like to know if I can make a song to keep playing even if I walk between the scenes?? thx in advance

View Replies !    View Related
I Have A Song That I Want To Use , But Its Volume Is Very Low , How Can I Get It....
i have a song that i want to use for my flash site , but the volume of the song is a little low , is there a way i can make the volume higher? the original song is low volume , so i belive i need a way a way to make the volume higher using a different program . so any u guyz know any programs that can do that or something? thanX

View Replies !    View Related
Song Change
hey i was just wondering if someone could tell me how to change the songs on this player:

click here

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
Getting Title Of Song
hey every body... i was wonderdering how to get the title of a song... ive done this before but i cant seem to rember how

does any body think they can help me out?

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 In Movie
I am putting a song loop in my movie. As the song plays I want it to get faster and faster. Is there a way to do this with a short loop?

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
Copyright Đ 2005-08 www.BigResource.com, All rights reserved