ActionScript 2.0 :: ASAP With Sound MX - Play Continuously
Jun 22, 2003
I have 2 sounds that i would like to play. Sound 1 and sound 2. I want to make sound 1 to play only once and after it stops i want to make sound2 to play continuously. You know what I mean? I have 2 different sounds, lets just say sound 1 says blah blah blah and blah and after it stops I want to play sound 2. My sound 1 is longer then sound 2 so I need to make sure that sound 1 finishes playing and after it stops then to make sound 2 to play.
View 1 Replies
Similar Posts:
Dec 3, 2009
how to continuously loop a sound, but all I have seen is aSound.play(0,1000);Not really a continueous loop. I was looking at watching for one of the COMPLETE dispatches (from the Sound object, or from the SoundChannel object), then start the sound again. The only thing is would this not start another channel?
View 3 Replies
Apr 23, 2009
i need to play two FLVs continuously one after the other - you might think it's an easy task, but every time i try to do that there is this annoying gap between the videos that flickers, and it's have to be seamless.the ON_COMPLETE event worked poorly, so im sampling the playheadTime of the first FLV and test it for it's end, minus a certain offset value.. but the lag is still there.i ever rewrote the FLVPlayback component to my own NetStream object extending, hoping it will take less run-time memory consuming but noting...and the thing is,the lag sometimes happens, and sometimes don't..when trying to sample the gap it brings me different values every time, but there is no way to correct it,because changing the playheadTime causing a random, few milliseconds lag itself, and we are back to square one..
View 3 Replies
May 16, 2010
I would like to have it added with controls and play while the user is browsing the site. I don't want it to start playing automatically I want the user to be aware there is a song for them to listen to. I don't have any images for buttons.
View 2 Replies
Jan 2, 2011
[code]...
It can only allow me to play the songs once? How cn i modify it such that it can play it continuously?
View 1 Replies
Mar 12, 2010
I have a few flvs made from After Effects that are now movieclip symbols that I have to use as buttons. My problem is that I want those movieclips to continuously play even without doing a mouse rollover. Then, when it's rollover, rollout, or click time, another animation will play within the movieclips that I'm going to use as a button.
View 3 Replies
Jun 22, 2010
I have a countdown timer and a click counter and I don't want for either of those to reset if the page were closed / refreshed. What I want is that once the timer and click counter start, nothing will interupt them. But the problem is that if i simply go to another page and back it resets everything. Here is my code...
[Code]....
View 11 Replies
May 22, 2010
I am playing a background on my webpage by using miniswfloopplayer, now I want the music to play continuously throughout the website, currently the music starts all over again when a page loads which is quite obvious. I am looking for a approach where I can avoid the above situation.
View 1 Replies
Sep 23, 2011
How can I play flv files continuously..?? I have developed code for playing flv files in my browser. Those flv files are streaming from flash media server. I can play files individually, but I want to add one button to play multiple flv file continuously when one button clicked. How can I play those multiple flv files continuously...??
View 1 Replies
May 4, 2009
code that will load and play a folder of flv's continuously?I have a folder of short clips i converted to flv. When one clip finishes, i want the next clip to play and to endlessly loop through the flvs, never stopping. If there's a way to include a transition, that'd be cool too, but not important. I've got the first clip loading, but can't get the next to play.
Code:
var video:Video = new Video();
addChild(video);
[code].....
View 1 Replies
Jul 31, 2009
I am a newbie at flash so this might be a trivial problem for the experts. I have a flash banner I wish to remove the replay link and display the flash continuously.
Preview link: [URL]
Src Link: [URL]
View 3 Replies
Jun 1, 2008
I'm a beginner level student. My project is to create a Splash Intro and a 4 page Website (Home page and 4 internal pages). I have to use Flash (no HTML, Java, CSS, etc). We are using Flash CS3 with Action Script 3. The Splash Intro should play continuously. This part I have working like a charm. However, the project requires a Skip Intro button. I have made the Skip intro button and gave the "instance" a name. The next part is where I'm stuck. I want to be able to click on the Skip Intro button and go to the first page of my "Website." I have all of my pages on one timeline. No movie clips. This is very basic.
My Home page has some animation on it. My name comes in from the left and three buttons come in from the right. When the user clicks on the Skip Intro button, I want it to go to the Home page, play the brief animation and STOP. I don't want the Skip Intro button to just go to frame 40 (for example) and just stop. And, if it goes to frame (50) for example and stops the user will miss the animation (right?). Here is what I have but it doesn't work:
[Code]...
View 6 Replies
Oct 14, 2009
It's possible to play a sound file through AS, either by loading it from a folder or import it to flash. It's also possible to play a dynamic tone with flash.media.Sound + writeFloat.
But... is it possible to play a sound file with flash.media.Sound + writeFloat in some way? I want to play a sound file without having to deal with any files except the .swf!
View 9 Replies
Feb 13, 2007
i want to make a single button to play a sound, and if pressed again, stop the sound. and if pressed again, play the sound, and so on...
i know it has to be made with a boolean variable, true/false, but i just can't figure out how.
View 13 Replies
Jan 31, 2012
I want to make a menu with 6 buttons and each of them to load a specific swf file. The problem is that I can only manage to make it so that it loads the final swf file no matter what button I press. This is the script I have so far:
[Code]....
View 1 Replies
Jan 31, 2012
The problem is that I can only manage to make it so that it loads the final swf file no matter what button I press.This is the script I have so far:
Code:
import fl.containers.UILoader
import flash.net.URLRequest;
[code]....
View 2 Replies
Jan 16, 2003
I have 4 images (image_1, image_2, image_3,and image_4,) I want for the them to scroll like a slide show from left to right one after another but extremely slow, and to place another layer to show text and stuff
View 7 Replies
Jan 30, 2012
1: When I get back to my main game screen, how do I keep my MovieClip in the same place it was before.
2: When I run this code:
Code:
if(numberOfGras**** == 1){
mcGrass1.visible = false;
mcMonster.removeEventListener(Event.ENTER_FRAME, TouchingGrass1);
}
It makes mcGrass1 disappear, but not the event listener. When I touch the area where it was, it still goes to the screen "math". [URL] That is the location of my .fla
View 1 Replies
Mar 6, 2009
I'm trying to add sound to some buttons. It's just a little metallic 'klink' sound that plays on rollover. I only want the sound to play on the 'Over' state. So I've set up a layer (just for sound) for the button and I add my sound in the 2nd frame (the Over state). Everything is cool. All is good. And the sound plays on rollover. But the sound also plays when I click the button (i.e. it also plays on the "Down" state). Why? The Down state keyframe is completely empty. What's going on here? I've only put the sound in the "Over" keyframe, why does it also play in the "Down" frame (or when I click)?
View 1 Replies
May 17, 2003
I want to use a sound loop in my flash movie. The movie has many scenes. And the problem is that when I go to next scene or different scene I hear the sound repeating twice. I mean sound does not stop from first scene and begins from the different scenes.Is there any way to play sound like "stop all sound" option in Flash.
View 6 Replies
Mar 16, 2009
I have to play a sound file and show the progress of the sound file being played. I am using import flash.media.Sound; import flash.media.SoundChannel; But the PROGRESS event gives theprogress of loading of file. I want to know of much of the song has been played and how much more is left.
View 3 Replies
Aug 9, 2004
I am new to actionscript. I have created a script that will play server side sound object and client side mp3 files alternately. Now, I would like to play the client side mp3 first then only play server side sound object alternately. However, I have no idea how can I do so. The following is the code that need to be swapped:
[Code].....
View 2 Replies
Jun 15, 2008
I creat a lot of Flash calucalto at my work and keep running in to the same issue each time I start a new... I seem to have problem properly declaring what needs to be treated a "Number" and "Text" Because of this I keep getting the dreadful "NaN" when I calculate my number. I attached the FLA and I CAN'T FIGURE OUT WHAT I'M DOING WRONG... I attacherd ther FLA to this thread. Someone please review my script in this FLA and hopefully tell me I'm just making a minor error, I have to present functionality proof tomorrow to my client so I really need to figure this out ASAP.
View 14 Replies
Jan 25, 2011
I am trying to build a simple xml based mp3 player for a project. I have got as far as combo/list boxes populating.
The first time you click the a track to play it all is well.
However, when you click another track, the first stops, but then I get error message.[code]...
View 2 Replies
May 14, 2011
I tried modifying the sound in Action Script but now I do not get any sound on the webpage, only hear the sound in preview on flash editor.It was looping sound on the web page and I did not want to have surfers having to hit the stop button. But I did want it to play just once.[code]
View 1 Replies
Feb 14, 2012
I have a "onRelease function"
CODE:
btn_4.onRelease = function () {
var yTween = new mx.transitions.Tween(slider, "_x", mx.transitions.easing.Strong.easeOut, slider._x, 695 , 0.600000, true);
}
This works good but I like to add in a "onRelease" play sound, too. How it have to look like and where do I have to place the sound? Because: When I add in a new function "onRelease" both block each other.
View 2 Replies
Dec 14, 2009
I have two files as: A.swf and B.swf.[code]While I am playing B.swf then music is plays perfectly. While I load it to in A.swf then music in not playing.I don't want to change anything in B.swf like new Sound(this). I want actionscript code only for A.swf.
View 5 Replies
Jan 21, 2010
I've got 3 swf files and they are all nested. Here's the structure: [code]The sound clip "m1p1" is loaded in the library of "cc_mod1_shell.swf".This setup works when I just test "cc_mod1_shell.swf". I can hear the sound clip. But, when I test the root level "cc_ shell. swf", the sound does not play. Can anyone tell me what I'm doing wrong? Why would this._ parent work when I'm just using the 2 files in question, and not when they are nested in another file?.
View 7 Replies
Mar 27, 2012
How do you get sound to play?
I am importing the sound and exporting in with an identifier "sjump".
I am trying to play the sound from a seperate .as file with the following code:
var sound_sjump:Sound = new Sound();sound_sjump.attachSound("sjump");sound_sju mp.start(1,0);
Why won't it play?!
Some of my sounds like if I attach "coin" instead of "sjump" work? Why is this?
View 3 Replies
Sep 7, 2008
I have a Flash movie that uses the following code to load a Sound from the library[code]...
View 4 Replies