ActionScript 2.0 :: Play An Audio Loop Across Different Swf
Nov 29, 2009
I am working on a project which I have to link a few swf. I have used loadMovieNum for the linking, meaning the actionscript I apply for my buttons look like this:
on (release){
loadMovieNum("filename.swf",0);
}
Above script enables me to link the files. However, I wish to play an audio across all files CONTINUOUSLY. Is there ANY way to do it? I tried putting the audio in another file and load the movie on level 1. But everytime when I jump from one file to another, the audio stops.
View 2 Replies
Similar Posts:
Apr 13, 2012
I need to create a flash video for a website of a product rotating through 360 degrees - looping seamlessly. This will be 100 frames long. I then need to add a 500 frame voice over.
I need to optimize file sizes so what is the best way to tackle this?
Is there a way to loop the video with actionscript but not the audio? i.e. rather than extend and repeat the video phyiscally in the timeline inlind with the audio length - as I assume this will increase the file size?
View 2 Replies
Aug 25, 2009
I have an audio player that has a custom timeline and playhead. I am using a start and stop drag to move in the time line but the only way i can make it work is to have it play when ever I release the play head. I would like it to stay stopped if the player is paused and play if the player was playing.
[Code]...
View 5 Replies
Apr 13, 2011
My server is streaming binary audio data (mostly mp3 files) to a client (a browser). This client stores the audio data in memory.
What I'm looking for is a flash audio player that I can input the binary audio data so that it can play the audio file.
Preferably, the flash client is merely a bridge to Javascript so that I can handle everything in Javascript and simply use Flash's audio features, but this is not a requirement.
View 1 Replies
Feb 27, 2012
I have created two buttons for separate audio files. Essentially if you click on the button it will play and stop. This works great! I have also injected a SoundMixer.stopAll(); to ensure if you click between both buttons that it will stop the current audio file to play the next one. My problem is when I select the 2nd button for the first time everything seems to be working...it's when I attempt to click on the first button again, that it will require 2 clicks and then it stops and plays accordingly...anyone know how I could eliminate this annoying two click process?
[Code]...
View 1 Replies
Dec 30, 2010
I have an MP3 of helicopter blades that's about 4 seconds. I put this as a layer in my movie of the helicopter, yet the sound "hesitates" when the movie loops. The audio goes from edge to edge of every frame of the movie, yet I still get the hesitation.
View 6 Replies
May 14, 2009
I would like to have an external file (actually, one of several randomly selected files, but I can handle that) play and loop but I have yet to understand how to do the latter. My code works great for playing the file through one time, but when playback completes, it's done. How do I loop the audio? Is there perhaps a listener that can wait for the file to finish playing, then call a function to play the sound again?
View 3 Replies
Mar 21, 2009
I have a problem with an animation because I want to stop the loop sound without stop the entire animation what can I do to make correctly this action please? I tried to make a movieclip to control individually of the center time line but i dont get good results.
View 4 Replies
Oct 22, 2010
Is there a way to suppress/mute the video portion of an FLV while it's playing so only the audio comes across? Is there a Flash player out there that does this?
View 3 Replies
Dec 11, 2007
Into my main SWF, I'm loading an external SWF with anUlLoader component. This external SWF plays an FLV using thatrespective component. Everything works fine, except that when Iclose the external SWF from within my main SWF, the FLV audiocontinues to play.
View 3 Replies
May 4, 2009
When viewing the .swf file inside a web browser, the audio file does not work. The sound does not get played. However, when double clicking on the .swf file, it works fine with the sound.
View 40 Replies
Jun 26, 2009
I want to play 2 audio in same time is it possible.....
View 3 Replies
Feb 6, 2012
I creat ios app using adobe flash pro cs5.5
is There any way to make it play audio in background like this:
View 2 Replies
Jun 6, 2009
Is there a way to import audio into Flash and use it in a way similar to a movie clip (give it an instance name and use a button to play it etc.)
View 3 Replies
Nov 14, 2010
I am trying to create a simple desktop app to play a live radio stream from a shoutcast server. I cannot get it to play. I am now wondering if it is even possible using the Flex/Air platform. Here is my code:
package
{
import flash.display.Sprite;
import flash.display.StageAlign;
[Code]....
View 5 Replies
Dec 11, 2010
Is there a way to change the speed of audio/video playing in VideoPlayer or any other such control?Let's say to play voice recordings of slow speaking persons faster to save time.Some mp3 players (e.g. COWON S9) can keep the pitch to avoid funny voice.
View 1 Replies
Oct 18, 2010
I'm using flex 3. I've successfully played video and audio files by using following libraries:
flash.media.Video flash.media.Sound Live docs link. But the limitations are as follow: Video class can be used to play only flv file format. To play mp3 files I must use audio file.
So can I play most of the famous audio/video files by using single method?
Well by checking the file type we can some how achieve it. Then I should create a component for that.
So can any one suggest me such ready-made components? or is there any other alternatives to play audio/video files?
View 1 Replies
Jan 23, 2009
1. How can we import these mp3 audio files(These audio files are dynamic in nature as user can add or delete these files through login area) in flash?
View 1 Replies
Sep 8, 2009
I've been working on a Flash/XML audio player and have been struggling with getting the audio to stream. Right now I have Flash create a list of songs based on the loaded XML file, which works, and I want to be able to click on one of the listed items for the song to start playing. When an item is clicked on, Flash will trace out a message from an onLoad command, but the audio never starts playing.
I opened a new Flash file to test the non-working segment of code and I still can't get it to co-operate.
Code:
var currentsong:Sound = new Sound();
currentsong.loadSound("http://www.vtspencer.com/recordjackets/beta/media/file_11.m4a",true);
[Code]...
All that happens is that the trace saying "Should be playing" comes through. The music still won't start.
View 1 Replies
Feb 19, 2011
I've been working with displaying data from the tumblr API and all is pretty good except for some videos [wil have to get in to later] and audio.
Does anyone know a way you can take this data they give you and get it to play the audio file in flash?[code]...
View 1 Replies
Aug 11, 2003
what should i do to make the animation plays after the audio is finished. I'm using the attach sound to play audio.
View 3 Replies
Aug 2, 2004
I have an audio player that I'm going to use. I've created 3 .swfs (one for each one). And I have it all set up in my main .swf It plays and stops and all that happy stuff. BUT, it is such crappy quality. The weird thing is that in each of the .swfs by themselves, the songs sound great. But when they play in the main .swf they suck. Like they sound horrible. Is there any way to correct this?
View 3 Replies
Aug 6, 2010
If I import an FLV video is there any way to remove the audio, put the audio into a byte array, and then re-add the audio to the flv video?
View 1 Replies
Jan 23, 2011
I'm going to develop an online examination system. There are many audio files in the exam and it's time dependent. I'm looking for a way to predownload(cache) audio files so students won't waiting for file loading after examination starts. I want to use a single page to download files and this step is not include in the exam time.
View 3 Replies
Dec 30, 2011
I call it a hiccup because the code works; but it's backwards. When I hit the audio button it plays the music and when I hit it again it stops the music. I wish for the music to play automatically when you enter the SWF and then you hit the button to mute the music if you wish; and then hit the button again to play the music again.
Here is the code I have:
toggleButton.addEventListener(MouseEvent.MOUSE_OVER, rolloverToggle);
toggleButton.addEventListener(MouseEvent.MOUSE_OUT, rolloutToggle);
toggleButton.addEventListener(MouseEvent.CLICK, toggleClick);
toggleButton.buttonState = "On";
var song:Sound = new TitleMusic();
[Code] .....
View 7 Replies
Nov 5, 2010
I have a flash "hear from the experts" video in which multiple speakers discuss an issue. I have it set up so you can listen to each speaker one at a time, however, I don't know how to pause and play each speaker so if you wanted to pause it and return or pause it and start a different speaker, you could do that and then resume where you left off. It would be even cooler if I could add some sort of status bar that shows how far into the audio you are, and you could skip ahead. I uploaded the file in CS3 - I had to actually delete the MP3s that are triggered to play on each play button in order to make it small enough to upload, but if you look at the code you can see it there.
View 0 Replies
Feb 5, 2006
I have a presentation which is split into several different movies which are linked together by buttons, all I am trying to do is add a sound which will play when the user moves over the button, and then another that will play when they click on the button; I got this to work once but it cut off the sound because it loaded a new movie, so I found the onSoundComplete command, which I've tried in a load of different ways but nothing works...
here's the code i've got at the moment:
on (rollOver) {
mySound = new Sound(this);
mySound.attachSound("twisted1");
mySound.start(0, 0);
} on (release) {
mySound = new Sound(this);
mySound.attachSound("twisted2");
mySound.start(0, 0);
twisted2.onSoundComplete = function(loadMovie("history.swf", "this"));
}
And this is the error that I am getting:
**Error** Scene=home, layer=links, frame=1:Line 12: ')' or ',' expected twisted2.onSoundComplete = function(loadMovie("history.swf", "this"));
I've tried a few things but i just seem to get more errors...
View 6 Replies
Mar 10, 2008
I am fairly new to Actionscripting and brand new to this forum. I hate to start out desperate but I am. Let me set the stage: I created a 7 scene swf in CS3 Actionscript 2.0 and have integrated (under excruciating trials) a voiceover tract (mp3) that is perfectly timed. Now, I have been asked to put in controls so that viewers/listeners can STOP / REWIND / PLAY the swf. After numerous trys I finally got the following script to play the audio with the video:
[Code]....
View 1 Replies
Sep 1, 2009
How do you play the audio seamlessly in flash, while reloading each page? Example is the nike blog, [URL] Will be glad if anyone could point me to a tutorial or there is a existing workaround script for this.
View 3 Replies
Dec 15, 2009
i have a audio track in a movieclip that i am loading into a target and i am doing an unloadMovie to remove it from the stage, but the audio clip continues to play until it hits the end/loop point... so my question is, how to i make it stop as soon as it unloads?
View 3 Replies