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




Buttons Double Up My Sound Loop



every time i click a button to another scene in my movie the sound loop plays twice. i have each button scripted to a stopallsounds command on release, and then each page with a play action on which the sound movie clip intializes. any ideas would be helpful!



FlashKit > Flash Help > Flash MX
Posted on: 11-28-2004, 11:19 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Sound Loop Player With Buttons
can someone guide me to a site or give me some info how to make a player with previous, play, stop and next buttons. i ned a player that will loop sounds seamlessly. about 100 of them.

here's a link to a player i have in mind...
http://www.casinoversusjapan.com/main.html
i don't want to loops songs jsut like 8 second loops.

thanks in advance.

3 Issues: Preloader, Sound Loop & Buttons
Hello,

I've almost finished my project, but there are three things that bother me, and I would like to repair. Have been reading all yesterday afternoon, and solved some, but these three I cannot figure out how to. Please, let me have some help.

1) Preloader

Using a tutorial, I've created my preloader in a scene 1, and the movie in the scene 2. It seems to work, but for some reason, it takes a lot to show, and when it does it is already in the middle of the way. The code for the first frame of the scene 1 is:

total_bytes = _root.getBytesTotal();
loaded_bytes = _root.getBytesLoaded();
remaining_bytes = total_bytes-loaded_bytes;
percent_done = int((loaded_bytes/total_bytes)*100);
bar.gotoAndStop(percent_done);
ifFrameLoaded ("Scene 2", 30) {
gotoAndPlay ("Scene 2", 1);
}

If you'd like to see it working (sort of) it's in the following path:
http://www.mateina.com/prueba/a_traves_de_tus_ojos.html

2) sound loop:

there's a music playing, and I would like it to loop. The code for the music is on the first frame on the root and it calls an mp3 file. this works fine, except for the looping:

var Perfidia:Sound = new Sound();
Perfidia.loadSound("Perfidia.mp3",true);
Perfidia.start();
Perfidia.onSoundComplete.loop;

3) buttons:
There are some buttons on the movie which underline themselves on rollover. On rollout they're supposed to go back to frame 1. They used to before I added a scene for the preloader and the code for the music, but now they stay on the second frame instead of the first, leaving a tiny line to be seen. There's a previous sample of the movie in:
http://www.mateina.com/atravesdetusojos
where buttons work as they should.

Thanks to everyone in advance.

Stop & Start Buttons For Sound Loop
Hi, I'm new to flash and I'm experimenting having a looped sound that is controlled by a stop and start button.

http://www.tarotrealm.co.uk/flashtest.htm

Why is it on this page the stop button manages to stop the looped wave sound but after a few seconds the sound starts playing again?! And when the sound is stopped after pressing the button, the play button doesnt seem to work? Ive used the actionscript play and stop movie controls for the buttons.

Any help appreciated!


Double Loop Break
ok if I have

code:
myArray = [0, 0, 0, 0, 1, 0, 0]
//
for (myLoop = 0; myLoop < myArray.length; myLoop++) {
if (myArray[myLoop]==1){
myFunction(myLoop)
break
}
}


how can I do this for a more complex array
i.e.
code:
myArray = [[0, 0, 0, 0, 0],
[0, 0, 0, 0, 0],
[0, 0, 1, 0, 0],
[0, 0, 0, 0, 0]]
//
for (myVLoop = 0; myVLoop < myArray.length; myVLoop++) {
for (myHLoop = 0; myHLoop < myArray[0].length; myHLoop++) {
if (myArray[myVLoop][myHLoop]== 1){
myFunction(myVLoop, myHLoop)
// need some sort of double break here?
}
}
}


Now I guess the easiest way of sorting this is to have some kind of flag, that breaks both loops when true, I just wondered of there is a more elegant way of doing this?

Help With Calling OnChange In A Double For Loop
My first post here.

I have a double for loop that creates a 9x9 grid of TextFields: (named 1, 2, 3 etc)


PHP Code:



for (i = 0; i < 9; i++) {
    for (j = 0; j < 9; j++) {
        var boxName:String = j+i*9+1;
        this.createTextField(boxName, depth, xco, yco, 50, 50);    
        var qualifiedName = _level0[boxName];
        qualifiedName.onChanged = test(qualifiedName);

                          // other code to position boxes
            
    }
}

function test(field) {
    var changedField:TextField = field;
    trace(changedField._name + " changed");





This calls the test function and lists 1 changed, 2 changed etc.

What I want to be able to do is distinguish which field has been changed.

Say if I change the value in the text field 3 rows down and 2 in then 21 should be returned.

I am then going to do further with this value to decide where to place the value entered in the textField in a 2d array. (do not need help with this part yet).

Thanks

Kevin

Anyone Know How To Double Up A For Loop In Combo With An Array?
I need to use both arrays, can this be done in the same for loop.

code below:-

/*Store all my chartered areas in an array*/
countries = new Array("cr11", "cr13", "cr16", "cr20")
captions = new Array("morocco", "this", "that", "here")

//for (var i = 0; i < countries.length; i++){


PHP Code:



for (var i = 0; i < countries.length; i++) {
    
        elements.worldmap[countries[i]].onRollOver = function() {
        elements.caption._visible = true;
        elements.caption.captiontext = captions[2]
        Mouse.hide()
        _root.x = 1;
        }

        elements.worldmap[countries[i]].onRollOut = function() {
        elements.caption._visible = false;
        elements.caption.captiontext = ""
        Mouse.show()
        }


Double Loop To Display Grid Of Boxes?
Just wondering what is missing in my code. I am trying to duplicate a single movie clip "boxes_mc" into 4 rows and columns. It duplicates fine horizontally but for some reason vertically it moves the boxes down the correct amount from the set initial x and y points but it doesn't show the boxes in all the rows. It has to be something simple that I am missing.

Thanks


Code:
function dupBoxes(){
var xSpacing:Number = 60;
var ySpacing:Number = 60;
var xStart:Number = 0;
var yStart:Number = 0;
var i:Number = -1;
var v:Number = 0;
while(++i < 5){
var j:Number = -1;
while(++j < 5){
++v;
var name:String = "box" + v;
_root.box_mc.duplicateMovieClip(name, v);
_root[name]._x = xStart + i * xSpacing;
_root[name]._y = yStart + j * ySpacing;
}
}
}
dupBoxes();
EDIT: I think i figured it out by adding a variable v, incrementing this under the first while loop and creating the string and duplicate name under this variable instead of i.

Quick question in regards to this double loop. Drawing these boxes on the screen is nice and dandy, now say I wanted to animate them fading in from left to right one column at a time. Would this require using an onEnterFrame built into the loop to fade in? What would be the best way to accomplish this?

THanks

How To Avoid Double Sound
I have a Flash that starts with a guy's voice explaining things. ...... ......
then if user click on one link, it will run a Quicktime video.

My problem is that both the guy talking voice and the quicktime movie goes together, becomes two sounds going on at the same time.

I can do like this : stop the guy's voice/sound when a click on the movie is effected. But, how best can I continue with that background guy's sound after the movie ends or is closed ?

Stopping Double Sound Play
I have assigned actions to a button i have used, to play an mp3 file.

However, I don't want the mp3 to play over and over if you keep pressing the button more than once.

How do you stop the recurring sound action?

i have assigned the stop button's action window with:

on(release) {
stopAllSounds();
}

and play button with:

on (release) {
kirupaSound = new Sound(this);
kirupaSound.attachSound("music");
kirupaSound.start(0, 99);
}

Stopping Double Sound Play
I have assigned actions to a button i have used, to play an mp3 file.

However, I don't want the mp3 to play over and over if you keep pressing the button more than once.

How do you stop the recurring sound action?

i have assigned the stop button's action window with:

on(release) {
stopAllSounds();
}

and play button with:

on (release) {
kirupaSound = new Sound(this);
kirupaSound.attachSound("music");
kirupaSound.start(0, 99);
}

Why The Double Click On My Buttons?
I'm curious to know why, and how to remedy, the fact that my buttons require a double click the first time they're clicked to cause the "onRelease" actions to occur.

It may help to know that I have two actions being called when the button is clicked. Is there a way to remedy this????

Thanks!
Myanna

Double Function Buttons
How do you create a button that when pressed, it does one action, such as go to a frame, and when pressed again, go to another frame?

It has to be the same button, as it controls the playback of another MC.

Thanks

--iMat

Why Is Double-click Necessary For Buttons?
I'm working in MX and know just enough to get my rudimentary website up, but one problem I'm having is that all of the buttons I've created which link to URLs require two clicks for them to work (once published or when I'm testing the movie in the authoring environment).

Can anyone tell me if there's a way for me to get the to work with a single click? I've set the action to get the URL as "on press"--wd it help to have it some other way? Thanks for any help.

Buttons Needs To Be Double Clicked
i have a html site that uses flash as the navigation because the client wanted to use a particular font. the trouble comes when using some arrow navigation buttons, because when you click on them the flash reloads and the mouse is still over the arrow button you need to click it twice for it to work as if you need to "focus" on the button. it also works if roll out and over the mouse again.

the button is actual a movieClip if that makes a difference and i am using flash CS3 but exporting as flash 7

anyone seen anything like this before?

click on the little arrows below the menu to see my problem (its an intermittent fault in most browsers but dose it on IE7 and firefox on the mac)

http://www.chrislongstudio.com/index.php?id=22

[F8] Double Click Buttons
I'm trying to set up a double click button / event, which will open a new movie clip in a project I'm building. The project uses a button nest inside a movie clip, and a startDrag / stopDrag script to allow several movie clips to be dragged about the stage. I want to set up each movie clip to open a new movie clip over the over top when double clicked.

Here's the script with controls the drag.

on (press, dragOver) {
startDrag(_root.one);
}
on (release, rollOut, dragOut) {
stopDrag();
}
on (press, release, dragOver, dragOut) {
_root.x +=2;
_root.about.swapDepths(_root.x);
}

Thanks for any help you can give.

Double Clicking Buttons
I apologize if this question has been asked before but I haven't seen any questions about it yet. I have a nav bar with buttons that are within a movie and within another movie clip below the root.

These buttons are targeting movie clips right below the root.

I used a tell target action on the button and a go to and play to the right frame for the target. When I publish the movie - it goes to the right place, the tell target action is working, but if you click on the same button again, it does not go to the right target, instead it goes to the next movie clip. Most people wouldn't click the same button twice, but obviously this is a problem.

Does anyone have this problem and a solution? Thanks!

Double Clicking Buttons
Have not long become involved with Flash MX and just recently began creating buttons. All was going well until I uploaded them and discovered that I had to double click them. I keep getting a message coming up asking for the user to press the space bar in order to activate them. It's driving me nuts.. can some kind person put me out of my misery and tell me what I am doing wrong.
Thanks!

Double-Clicking Buttons?
So "GrimDeath" helped me out with this player and it works like a dream. The only issue i have is I want to allow a user to turn the music off by clicking the switch again. Ultimately, this would rid having to create an "off" button for the music player. The .fla is available at the link below. Thanks for any and all the help.

http://www.mm214.com/kthomas/playa.zip

Need To Stop Buttons From Double-clicking
Hi all;

I am writing a kiosk application with a Flash interface. I use a number of on-screen keyboards for user input. On most hardware, this works fine but on some touchscreens, the sensitivity is high and users encounter a double (and sometimes triple) entry error when they press a button on the on-screen keyboard. What I need to figure out, is how to ensure that the button output only registers once, thus programmatically working around this hardware issue.


This is the VERY simple sample code I have behind the button "1" on my on-screen keyboard:

on (release) {
myName.text += "1";
}

...it simply adds the number "1" to the display area. Is there a way that anyone can think of that would ensure that the text is not added twice in rapid succession ? Maybe a timer of some sort, or a way to make the button RELEASE function last a little longer before it returns control to the user?

Any ideas are greatly appreciated -- this is causing us a LOT of headaches.

My Buttons Require Double Clicking When On A PC, Why?
I just recently uploaded my updated website to the server and now I am finding out all the quirks that need to be fixed.

Please check out my website to see what I am talking about: www.brendasepanek.com

The outer frame of my site is done in Dreamweaver and the inner WHITE rectangle are flash movies.

1. when clicking on MOST of the buttons within my flash movie it action does not begin until you click TWICE but only on a PC. why does that happen and is there a way for me to fix it so it begins on the initial click without changing out it is viewed on mac? some good examples of what i am talking about are when you click on the PORTFOLIO page, then the PRINT page and click on the various samples. The initial click requires a double click and after that it seems to be normal allowing just a single click.

2. since you took the time to view the site, i am curious as to how long it took the portfolio page to load, in particular the PRINT and WEB page.

I am very new to flash so if you reply, try to make the answers easily understood thanks for your help!

Question About Double Clicking Buttons In Swf
The buttons in one of my projects call for the current item on the stage to animate off, then call up the appropriate segment to the stage. This works fine except if someone double clicks on the button (not knowing better) it locks up the movie.

Also, on a contact form, can someone tell me the actionscript for checking to see if the fields have been filled out before allowing a 'submit' and how to prevent when someone hits the tab key while hitting the form, it goes across the stage to another button instead of the next typing field.

Thanks very much for any help.

I Would Like My Sound Loop To Continously Loop Without Looping Over Itself When I Repeat My Images.
I have a sound loop moving along with my flash images. When the flash images finish and I send it back to frame 1, my sound doubles. How can I play my sound loop once, but allow my images to continously loop.

Is there away to just run one loop of sound, and let the image aspect continue to loop.

I would like my sound loop to continously loop without looping over itself when I repeat my images.

Dynamically Loaded Sound Playing Double Speed
Hi all,

I am loading an external .mp3 file into my movie using a dynamically created sound object:

var theMusic_sound:Sound = new Sound();
theMusic_sound.loadSound("sound/mylo.mp3", false);

theMusic_sound.onLoad = function(true) {
theMusic_sound.start(0, 5);
theMusic_sound.setVolume(25);
};

However I find that when I run the movie, the sound plays at a higher speed (chipmunk music!). The clip was one that I created myself, its a 48kbs mono .mp3 file

Can anyone suggest what I might be doing wrong?

Also, I am having trouble making an MP3 that loops perfectly. I have trimmed the sound perfectly in Nero wave editor, but the encoding process appears to add a short pause at the start and end of the file, which produces an annoying gap in my loop.

Dynamically Loaded Sound Playing Double Speed
Hi all,

I am loading an external .mp3 file into my movie using a dynamically created sound object:

var theMusic_sound:Sound = new Sound();
theMusic_sound.loadSound("sound/mylo.mp3", false);

theMusic_sound.onLoad = function(true) {
theMusic_sound.start(0, 5);
theMusic_sound.setVolume(25);
};

However I find that when I run the movie, the sound plays at a higher speed (chipmunk music!). The clip was one that I created myself, its a 48kbs mono .mp3 file

Can anyone suggest what I might be doing wrong?

Also, I am having trouble making an MP3 that loops perfectly. I have trimmed the sound perfectly in Nero wave editor, but the encoding process appears to add a short pause at the start and end of the file, which produces an annoying gap in my loop.

Most Bizzare Action - Double Functioning Buttons
I designed an entire website for a friend in Flash MX and everything is perfect; that is with the exception of one flaw I noticed a few minutes ago. The website has 5 buttons. Now, listen to this. When I click the "home" button it takes me to the homepage (like it should); however, if I click the "home" button from the homepage, it takes me to the page that the button to the right of it, the "products" button, is supposed to link to. It is like it is confused. Is this just some glitch? Or is this something I am able to work out? This is very annoying. Any help would be appreciated.

PC Users Need To Double Click My Mac Made Buttons
And I can't figure out why. No one has mentioned it before but suddenly now someone did. I made the button "on release" and "on press" and neither works. A Mac viewer needs to click only once but PCers need to click twice. Any help would be appreciated.

My Sound Loop Is Repeating Itself Ontop Of Previous Loop
Here is a link to a movie that I am working on:


LINK-
http://blue-title.com/v2/


My client says that when you first start the movie, the loop starts fine but when he clicks on one of the three buttons at the bottom (Home, Florida, Alabama) the initial first loop continues to play and a new loop is beginning to repeat while the first one is still playing.

It works fine for me in Firefox and Safari on a Mac.

Any solutions?

Todd Temple

My Sound Isnt Synching And It Plays TWICE How To Synch Or To Stop Double Playing?
I'll try to explain this as simply as possible.
My flash animation has a scene where a engine approaches the camera, and then dissapears. The sound I haveS FADE IN, becomes loud as it approaches the camera, and then it fades out.

Since the engine takes a long time to approach the camera, the loudest part of the sound file is only in the very middle area of the flash (The flash is very short)

But for whatever reason......even though I placed the sound file in the middle where its supposed to be, when I > Test Movie the sound for some reason plays much too early than its supposed to be.

I have all my sounds set on STREAM so I thought stremaing synchonizes all the sound, but it doesnt. does anyone know how to solve this?

Help Navigation Buttons Replay My Sound And Mess Up My Sound Buttons
Ok, let’s try this again first I have my two on/off sound buttons in a movie clip.

You open it up and you see 10 frames the first five for on, and the last five for off.

Each part contains both buttons, the first the on is highlighted and the off is coded, the second the off is highlighted and the on is coded.

In the first part my code for the “off “button is:

on (release) {

//stopAllSounds Behavior
stopAllSounds();


//Movieclip GotoAndPlay Behavior
this.gotoAndPlay("6");
//End Behavior
}

In the second part my code for the “on” button is:

on (release) {

// Play Sound Behavior
_global.Behaviors.Sound.coolsound.start(0,1);
// End Play Sound Behavior


//Movieclip GotoAndPlay Behavior
this.gotoAndPlay("1");
//End Behavior
}

I also have an action layer above each with the stop code for each part.

The music loads and plays fine when I run my movie. It stops and starts with the buttons and they seem to work fine. My problem is whenever I hit a navigation button on my main timeline it re-starts my music again, instead of it staying off.

I tried other sound button tutorials besides this one and they all end up with the same problem. Other buttons in my movie (main my main navigation buttons re-start my sound again when it goes to the next scene or page. In some cases other buttons have replayed the sound over one that’s already playing depending on which tutorial I use. So how come no matter what tutorial I use, other buttons can restart or effect my sound and its buttons?

Actions Are Overriding Other Actions Or Being Caught In A Loop Only On Double Click
I have a movie which I use actionscript to move things on/off stage to create different pages. Everything works great unless you double click a button.
When double clicking it makes objects "stick" in place and they will not move even though another command should make them move off stage (movie gets stuck). On a single click, the objects do what they are commanded to do. I even tried setting a variable to disable the button click if it has already been clicked. What causes this?

In the code below, the objects in the function home() will not leave the stage once the services button is double clicked (they are commaned to ease off the stage once other mc's are pressed) . BUT it works if only the services mc is only single clicked...please help. I'm pulling my hair on this one and about to start pulling my teeth.


if (_global.whichMovieLoaded != "services" && _global.isMovieLoaded != "stop") {
_global.whichMovieLoaded = "services";
services.onPress = function() {
remove();
function Pause() {
// bring home
home();

clearInterval(PauseInterval);
};

PauseInterval = setInterval(Pause,1000);

valet.easeY(400, 1.09);
itinerary.easeY(425, 1.09);
dining.easeY(400, 1.09);
ground.easeY(425, 1.09);
};
};



function remove(){
valettxt.fadeOut(9);
diningtxt.fadeOut(9);
itinerarytxt.fadeOut(9);
groundtxt.fadeOut(9);

mindtxt.fadeOut(9);
nauticaltxt.fadeOut(9);
scenictxt.fadeOut(9);
terrtxt.fadeOut(9);

mind.easeY(650, 1.09);
nautical.easeY(650, 1.09);
terr.easeY(650, 1.09);
scenic.easeY(650, 1.09);

valet.easeY(650, 1.09);
itinerary.easeY(650, 1.09);
dining.easeY(650, 1.09);
ground.easeY(650, 1.09);

logo.easeX(950);

imageLoader.unloadMovie();

};
//takes objects back to the home page
function home(){
maui.easeX(200, 1.09);
con.easeX(200, 1.09);
bar.easeX(625, 1.09);
patio.easeX(400, 1.00);
patio.fadeIn(2);
discover.easeX(625, 1.09);
discover.fadeIn(1);
imageLoader._alpha = 0;
VIP.fadeIn(.9);
};

Loading Swf + Double Clicking = Double Load -> Crash
Hello, help plz:

Have a button assigned to loading an swf, if the button is pressed twice the swf reloads and crashes, probably reloads data together and dosnt recognize, web crashes and needs to be reload reloaded... any suggestions?

thanks

Loop Sound ( Sound Class Preloader By Moock)
how can i loop the sound if i use the sound class preloader by collin moock?? here its the code :


ActionScript Code:
Sound.prototype.checkLoadProgress = function() {
    var kbLoaded = Math.floor(this.getBytesLoaded()/1024);
    var kbTotal = Math.floor(this.getBytesTotal()/1024);
    var percentDone = isNaN(Math.floor(kbLoaded/kbTotal*100)) ? 0 : Math.floor(kbLoaded/kbTotal*100);
    this.onBytesLoaded(this.getBytesLoaded(), this.getBytesTotal(), kbLoaded, kbTotal, percentDone);
};
Sound.prototype.clearLoadCheck = function() {
    if (this.loaderID) {
        clearInterval(this.loaderID);
    }
};
Sound.prototype.preloadSound = function(url, isStreaming) {
    this.clearLoadCheck();
    this.loaderID = setInterval(this, "checkLoadProgress", 200);
    this.loadSound(url, isStreaming);
};
music = new Sound();
music.onLoad = function(success) {
    this.clearLoadCheck();
    if (success) {
        loadMsg_txt.text = "Done loading.";
    } else {
        loadMsg_txt.text = "Load failed.";
    }
};
music.onBytesLoaded = function(bytesLoaded, bytesTotal, kbLoaded, kbTotal, percentLoaded) {
    loadMsg_txt.text = "Loading: "+kbLoaded+" of "+kbTotal+"
"+percentLoaded+" percent complete.";
};
music.preloadSound("song.mp3", true);



thanks in advance

Mp3 Sound Loop Bad. Wav Loop Good.
I have a soundloop which is a WAV file
and it works just fine when i loop it in flash

But when i convert it to an MP3 file...for osme weird reason theres a little less than 1 second pause when it starts again...you can tell its a loop...not smooth

But in WAV format its fine.
Its weird..ive used two different softwares to convert my wav file.
ive used Creative Wave Studio, Ive used a dedicated third party MP3-WAV convertor.

same results...the mp3 has bad looping.

any ideas?

Synchronizing My Sound With My Sound Loop..how?
Hey everyone,

I have created a flash movie with 2 scenes and i have added my sound loop to it in the first scene. the sound loop is long enough to cover both my scenes, but when i play it is never synchronized with the sound.  when i export the movie and listen to it i try to see where it ends and expand or reduce my animation to fit it but it never really works.

what's worst is when i take it to another computer and try it, it is all off even worse!  is there a way to synchronize my animation and sound?  i'm sure it will be easier if i had one scene cuz i could see (better) where the sound loop ends but can i do it with two scenes.

also i have made my movie using flash mx but is there i can make it compatible with a flash 4 plugin?

thanks in advance.
-Shu

Double Sound When GotoAndPlay "home" .... Help
the situation:

frame 1 >flash site starts loading
frame 20 > soundplayer (movie symbol) loads
- fades from alpha 0 to alpha 100
- background music starts

frame 40 > Label Home (here the welcomepage text starts to build)
frame 50 > 'stop()' (welcomepage is complete and must stop here)

frame 70 > Label products
frame 80 >'stop()'

frame 100 >Label portfolio
frame 110 >'stop()'

=====================

the problem:

when I use my buttons (gotoandplay "label") to go to an earlier frame,
(products to home,.... portfolio to products) the movie probably comes over frame 20 again and starts playing the background music double.

I really don't know how to solve this at this moment.

Maybe there's a script like this:
if coming from frame 40-110, skip frame 20 ??

Maybe stupid, but I'm just a noob trying to figure it out.

Hope someone has the answer ....

Adding Sound Buttons, Cutting Off Prev Sound
Hi - I want to add a few audio narration clips via buttons to this page, inside each section:

http://www.chartscans.com/csalerts.swf


When the movie starts, it autoplays a bg music + narration nonlooped single track.

How can I add say a button that loads/plays an external mp3 And also shuts off the first sound that had started?

any ideas?



thx flash dudes..

Need Start And Stop Sound Help ON AND OFF BUTTONS FOR SOUND PLZ
ok I have a Flash site iM making with BG music but I need a START and STOP Button and a Next and Prev button for the music so PLEASE help me out with this is u can I need FULL instructions

Sound Loop
::Looping sound::
I have imported a sound file. And I used actionscript to import it.Like this:
s=new sound()
s.attachsound=mysound()
s.start
However, I want to loop this sound.What should I do to loop this sound?Any ideas would be welcome.
Thanks all you guys.

Loop Sound Help
I have set up a button to control a sound object as follows:
...
_root.s.start();
}

Sound Loop
How do I make a sound loop ? I just now joined this site .

Can't Get Sound To Loop.... Anyone?
Hello all! I have this great little piece of music I'd like to add into a movie. My problem is I can't figure out how to get it to loop continuously in my movie. What is the quick and easy wayt to do this as I've not done this before? Thanx in advance all

Loop Sound In Mx
hey people, how's it goin? I just got my mx and can't figure out how to loop audio for a mainpage background. Ver. 5 was simple but things have obviously changed a bit. Actually a lot.
While I'm here, am having problems opening mx files with version 5. Some files can cross but not all. I am saving my files as version 5, in case you were wondering. thanx in advance.
kris

MX Sound Loop Bug?
I checked out all the Flash 6 (minor) bug report lists and there's no mention of this one......

each time the wav (sound file) repeats using the Sound.onSoundComplete function it gets louder (it may take a few loops for the volume to jump):

http://www.bestflashanimationsite.com/MXsoundTest.html

FLA (600k):
http://www.bestflashanimationsite.com/MXsoundTest.zip

tried attaching the sound to a movieclip, attaching to root without success - if you use mySound.setVolume(100) it seems to flatten out at 400 - weird.

Anyone getting the same results? or could suggest a fix?

Sound Loop
hi all,
how do I loop my sound? I have a back ground music that I want it to loop? can some one help? Thanks a lot!!!!!!!

Sound Loop?
Hey Board! I have a quick question regarding sound control in Flash 5.
I have a soundtrak i need my movie to play on load... which i want to be able to turn off and turn on again from buttons on the main timeline. I have used the Linkage properties and newsound.attach/stop/start to control the sound as i need it to...
all seems well and fair up to this point. heres the problem: my sound will only play once without looping. now if i drag the sound onto the stage and remove my newsound.start and give the instance of my sound 500 loops. it works fine until I stop it and hit audio play (then it only plays once). My main timeline is 2 frames long (with the first being empty for my loader) and a stop action on the second frame.
QUESTION: is there a way to code something similar to a newsound.loop(500) for example???? so it will loop when its called to play and stop when its called to stop.
Thanks a bunch. Muchly appreciated.
~geoff

:confused

Sound Loop?
Hi i just signed up to these fourms!
i have a problem of looping my sound, i have done the lesson so many times but it dont help me! i am using flash 5 (flash mx didnt work!) and i only started flash 2days ago.
ty for your help

Sound Loop
I have a looping menu with rotating Icons that is 20 frames long.

I also have a sound loop that I want to loop, however it is 83 frames long. Is there any way that I can loop this sound without the screen blanking out after the 20th frame?

Can I keep frames 1 - 11 (Icons) looping between 1 and 20
and have frame 12 (sOund loop) loop between 1 and 83? or is there a better way?

Ive tried to set the loop to different settings but It starts replaying the loop after a few seconds. (when the rotating icons start)

Help

Sound Loop
I have a looping sound track which works fine when I publish my movie as an swf. As soon as I upload the swf to my server and view it online, there is a noticable gap in the loop. Where am I going wrong?

Sound Loop Help
how can i get a sound loop to repeat itself 3 times and fade out on the 4th time.

Copyright 2005-08 www.BigResource.com, All rights reserved