I've got a project I'm working on in Flash / AS3 and I was hoping to find a way to have the program run a search through a publicly accessible API using an artist name and pull an MP3 sound clip that the user could play. I looked through Amazon's API but it didn't seem like it could accomplish this. It also seemed pretty daunting to integrate into flash.
I'm working on an animation where I have my "dog" fighting the evil vacuum cleaner. I got most of it to work the way I want it to.
1) I have movie clips entitled pepper_mc (where my dog is supposed to be walking), swirl (where a swirly-type symbol is supposed to spin over the dead vacuum's head), and vacuum_mc (where the evil vacuum is supposed to have a swinging arm (called vacuumarm_mc) that I created using the bone tool). When I add them to the stage and test them, the animations within the movie clips don't happen.
2) I have background music that I'd like to stop playing at the end of the animation, but I'm not sure how to do that. (using the stop(); actionscript doesn't help).Where am I going wrong? I'm using Flash Pro CS5.
Here's the file --> Pepper and the Vacuum of DOOM!
When the movies performs the getURL action, I want the music to continue playing, but the getURL function seems to stop the music at frame 152 (where the getURL action is placed), when I wanted the music to continue to frame 257 (the end of the movie). I hope I've explained this clearly
I've agreed to helping a friend out to make a few changes to her website.
One of the things I need to do is make the music turn off when you click 'musicff'. It doesn't work at the minute and for the life of me I can't seem to figure it out. Below is the coding on one of the frames [code]...
I am creating a Flash app that searches xml for music data such as track, artist and file location of the mp3. The results are returned as a radial tree visualisation.
I am attempting to create a functionality where each node in the tree, is clickable and this will play the track. At the moment when i click, it seems to play all the tracks at the same time and crashes. I think this is because of the node event listener -
I'm playing the game League of Legends and I decided to make an iPhone application that let's you pick a champion (a character in the game)picture and play the sound for it. I downloaded all sound and images, loaded them into the library, and now I only made 4 champions just for testing.This is my code for AS3 when you click on the button to play the sound.[code]When you click on the picture again, It will play the sound once again and if you mass click it will mass play it (I want it to stop playing current one, then start playing the new one if you double tap it).When you click on 1 picture, it will make the sound, ok.. but when you click on ANOTHER picture, It will play the second image sound AND the first image sound together (Mixed up. I want it to make it so it stops playing the first one, then plays the second one).
I am creating a Flash app that searches xml for music data such as track, artist and file location of the mp3. The results are returned as a radial tree visualisation. I am attempting to create a functionality where each node in the tree, is clickable and this will play the track. At the moment when i click, it seems to play all the tracks at the same time and crashes. I think this is because of the node event listener - ActionScript Code: newNodeSprite.addEventListener(MouseEvent.CLICK, playMusic);
I'm trying to build a sort of flash based portfolio that will allow the user to control what they view. I want some background music to play under all of this, but when the user goes to a particular scene or frame of animation the music will stop or skip as they move.
Is there a way to get the music to just play in the background in an endless loop regardless of which scene or frame they jump to or another way to get a similar effect? I'd really like it to be interactive rather than just a preset slide show.
i made a webiste with bg sound, home, portfolio, gallery, contcts. This are the links. when click portfolio, which contain a flv file, when clicking the flv file bg music stop and video will play smoothly.But if i navigate to other links the sound from the flv remains their and my bg music not playing also..
I have produced an app for iOS but when it loads the music from the iPhone doesn't stop.
I have read on forums that if an app contains sounds that the iPod will fade out but it doesn't for me. I have tried loading the sounds dynamically (these sounds don't play at all if the iPod is playing) and embedding them into the movie. Nothing seems to work sadly. I have ensured that I have all the recent updates for flash and the air packager and I can't find a solution to this anywhere.
How would I play an audio file throughout the entire clip that I am making? It is a recording of myself narrating a video, so it has to start as soon as the video star
There's a new feature on vkontakte.ru (I bet facebook has the same, not sure though). You browse pages while player keeps playing music at the background without interruption. How is this possible?
I've used a example mp3 lpayer built in flash to put on my website. I've tweaked it so that it fits my design and it seems to work ok. The problem is the music starts playing automatically where ideally i want it to play when the user hits the play button.
Below is the actionscript, can any1 tell me how to stop it playing as soon as the flah file loads?
ActionScript Code: // Flash MP3 Player XML // Developed by [url]www.flashmo.com[/url] import mx.transitions.Tween; import mx.transitions.easing.*;
I got everything running good. However everytime I click back to my home label the music restarts.telling flash to not restart the music if it's already playing.Home Label
Code: var mySound:Sound = new Sound(this); mySound.loadSound("music/music.mp3", true);//Set true to stream
On my main SWF Home File i have 2 swf files are loaded into my (main home swf) and everything is runing smooth BUT the problem is when i want to watch the video the music is still playing i have to click on the button to stop music playing.
what i want is when i click on the video to play i want automatically the music to stop playing with out me clicking the mp3 button to stop the music playing.
NOTEKeep in mind i have 2 SWF files that are loaded in to the main swf file ...Home SWF is the main file
MP3 SWF << Loads on Home SWF Video SWF << Loads on Home SWF
All i want is when the video is playing automatically stop the music and when the video is finish the music automatically continuing from where it was left.
I am doing a small presentation where a song (*.mp3) is gonna be played. I never worked with music in flash before. The music that is playing in the background is sounding horrible, lost its quality when I placed it in one of the frames. I am importing it by FILE> IMPORT> IMPORT TO LIBRARY. Is the process that I am using the one that is causing the lost of quality? And another thing, how can I know, by sure, how many frames I need in order to put the entire music?
I have a pretty easy question for you Flash gurus regarding a script I am using toplay MP3s via an XML file. The example I found does the job just fine, but it plays the 1st song right away when it loads. I would like to stop the song from playing on load and let the user activate it by pushing the play button instead.[code]...
I am currently trying to write a website for myself from a flash template and need seperate buttons to Play and Stop seperate tracks of mp3s. I have managed to get it to play one track however when I try to add a new track, the new button just plays the same track as the first one.
Here is the method I have used, I am still learning flash so this might not be the best way to go about this. Any help would be greatly received.
I know how to do just that based on the sound playing on the flash window.But what if I want the equalizer to follow music playing outside flash.How can I take this information in my application for the equalizer to follow ?
Edit: I want that my flash application had a way to catch the music playing (no matter if it comes from web browser or desktop application) .I think it must be a way of getting this data through windows .
I want to Display images at every 10 seconds while music is playing in Action Script 3.0. I have started to learn As3.But I need to do this in very quick time.I dont know what is the starting point for acheiving this.
I followed the tutorial about making your own mp3player but I don't want the music to start directly I want it to start after I clicked on play ... Code: // Setup sound object var s:Sound = new Sound(); s.onSoundComplete = playSong; s.setVolume(75); [Code] .....
here is a slightly modified version of a mp3 player that i want to stop playing when you go to another scene. i tried making the back button call the same function that pauses the music when you hit the pause button butp.s. the code for the back button is on the button
var s:Sound = new Sound(); s.onSoundComplete = playSong; s.setVolume(75);
i am building a flash web site using the goto and stop method, with each "page" of the website being a different frame. on one page i have a music player, and it all works fine, and if you press stop before leaving that "page" or frame it all works well.the problem i've run into is if you go to another frame while the music player is still playing the music continues playing and when you go back to the frame the music player is on and press stop it doesnt do anything and if you press play it will start playing the song again with both songs playing over eachother.how to stop the music from playing when you exit that frame. here's the code for the music player:
Code: Select all//Music Player var musicReq:URLRequest; var music:Sound = new Sound();[code]..............
I have 2 movies, one which holds a navigation menu and some music playing options, and the other which is my main movie. The main movie has an empty clip which loads the navigation and sound into it. However the music does not play in the main movie.
I'm by no means up on my AS at all and this MP3 player I've had for a while and just readjusted to suit my needs.
One thing i really want to change is the fact the music starts automatically. I changed line 38 from True to False which does indeed stop the music playing on load but instead i get "Loading" and it doesn't do anything after that. Hitting play won't work.[code]...