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




Basic Sound Problem - Start & Stop Buttons



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!



FlashKit > Flash Help > Flash Newbies
Posted on: 12-16-2005, 01:45 PM


View Complete Forum Thread with Replies

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

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!


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

How To Stop And Start Sound
I have a flash file which has a movie clip that contains sound. The instance name of which is 'soundMovie'. I have placed the movie clip on the stage. NOw when I run the file I can hear the sound. THe problem is with the following script that I have placed on the first frame of the main movie timeline (NOT THE MOVIE CLIP CONTAINING THE MUSIC). i.e when the following script is attached to the first frame, the music stops. my question is why doesnt the music start if I have written soundobj.start(). If I remove the live soundobj.start it runs fine. any help would be highly appreciated !!!!

soundobj = new Sound(_root.soundMovie);
soundobj.stop();
soundobj.start();

Start & Stop Sound
I am playing a wave file and would like to let the user start or stop the sound if they want. What is the best way to do this?

Thanks

Sound: Start-Stop
I have a movie that you can start and stop at different points on the timeline (whenever you press play or stop). I would like to add a narrative sound track that will start and stop at the same time as I start and stop the movie, without the sound going back to the beginning.

Does anyone know how to achieve this or know of a link to a tutorial which explains how to do this?

Thanking you!

Luke

Start One Sound, Stop Another
I am using this code on the first frame of my movie:

stop();
_root.soundb.onRelease = function(){
mySound = new Sound();
mySound.loadSound("sounda.mp3", true);
}
_root.soundb.onRelease = function(){
mySound = new Sound();
mySound.loadSound("soundb.mp3", true);
}
_root.soundc.onRelease = function(){
mySound = new Sound();
mySound.loadSound("soundc.mp3", true);
}

Each button works perfect EXCEPT, when one button is clicked, I want the previous sound if any, to stop before the new clip starts. How do I modify my code to make that happen?

Thanks

Stop Start Sound
Can any of you geniuses help me i have a website with a background sound thats embeded in a player see www.imageworksltd.com on the site i have a few .flv movie files when someone plays the movies i want the background sound to fade out so you can hear the movies and if poss fade back in when movie finished im not a programmer so its all far fetched for me thanks in advance Alistair

Basic Stop Sound
hi

Imported a sound.

Dragged it to the stage, made it loop a lot of times.

Need to stick in some actionscript on frame x that just says 'stop'
when the timeline passes over it.

I found a built in class method thingy that says instancename.stop ()

but it's not really an instance, just dragged straight from the library.

thanks

PS. if there's a simple script that fades the sound out rather than stop
it, that would be most cool!

How Do I Have One Button That Can Stop/start A Certain Sound?
How do I have one button that can stop/start a certain sound? I mean that when I click it, it will stop the sound, then start it again when you click it again. Please help.

Thanx in advance.
l8er dude

How Do I Start And Stop The Sound On The Same Keyframe ?
How do i start and stop the sound on the same keyframe ?

Start And Stop Sound Button
http://www.flashkit.com/movies/Basic...dex.php?chk=no
I want to learn how to make a button to start sound or stop sound, however, i were unable to download .fla from the link above, can you show me how to make it? Please and thanks!

Start/stop Sound With Button
I want there to be sound when my site opens. I can get the sound to play automatically and have added a button into the site if the user doesn't want to have sound. However, I am missing a detail or two and can't get it to start again after you've stopped it when you hit the same button. Does anyone have any suggestions?

Stop/Start Sound Not Working?
I created a button play_mc and another button pause_mc and a final button titled trigger_btn. I used the following actionscript in the first frame of "trigger_btn." When I test my movie, I get no errors... however the music file does not play. Can someone look at the AS and tell me why?

function getSound(url:String) {
sound.stop();
delete sound;
sound = new Sound();
sound.onLoad = function(success:Boolean) {
if (success) {
trace("[MP3 Player]: file loaded");
} else {
trace("[MP3 Player]: Could Not load Sound Data from file, please try again");
}
};
sound.loadSound(url, true);
}
function audioStop() {
sound.stop();
$marker = sound.position/1000;
$state = false;
}
function audioPlay() {
sound.start($marker);
$state = true;
}
function checkState() {
if ($state == true) {
pause_mc._visible = false;
audioStop();
} else {
pause_mc._visible = true;
audioPlay();

}
getSound("http://joshuasortino.com/remember.mp3");
sound.stop();
var $state = false;
var $marker = 0;
trigger_btn.onRelease = checkState;
}

[CS3] AS3 - Make Sound Stop/Start
Hey everybody! The following code works exactly like I want it to by turning on the sound for my flash movie, but once the sound is on I can't figure out how to make the same button turn it off again. Can someone help me?


Code:
import flash.media.Sound;
import flash.media.SoundChannel;

status.text = "Chimes Off";

playButton.addEventListener(MouseEvent.MOUSE_DOWN, playChimes);
function playChimes(e:MouseEvent):void
{
var chimes:Chimes = new Chimes();
var chimesSound:SoundChannel = chimes.play();
status.text = "Chimes On";
var chimesStatus:Boolean = true;
trace ("Playing!");
}

Start/Stop Sound Button
How would you make a button when you click, a sound file starts to play and when you click it again, it stops the sound?

Stop / Start Sound Problem
I have pulled in an FLV file into my SWF.

I wanted to create a "Mute" button that would stop all sounds and then start them back up when clicking.

1. Click once, mute.
2. Click again, unmute.

However, when I used the Behavior "Stop all Sounds", it actually stops the video as well.

Is it because it is an FLV that it won't work like that?

Any help is appreciated.

Thanks,
Bryan

How Do I Create Start Stop Buttons?
I need to create start stop buttons for a flash movie that contains only music. It's for samplers for songs by my mates band (I'm bulding their site.)

Please help I know very little actionscript!!!

Start And Stop Music Buttons
well i have a sound file which i want to play in the background.
and basicalling i want the user to be able to mute the music if they want, and also if they deside they want the music on again then they press the play button and the music starts playing again.

How can i do that?

I have two buttons, a play button and a stop button.

Buttons To Stop/start Movie
Hello

Im trying to create a button that will stop the timeline and swap the button icon for an alternative button which when clicked will play the move from where ever it was stopped and swap the button back to the original??

This is basically so that once stopped the button icon will change. I am not sure if there is a better way of doing this and, any suggestions?

Start/stop Sound With Actionscript Problem
...been trying to use .sound commands in AS to start and stop specific and separate sound files but encountered this problem; please help...

actionscript in main scene;
---------
s = new Sound();
s.attachSound("prodigymorello2");
k = new Sound();
k.attachSound("gittarriff");
---------

with individual buttons, to START these sound files went ok but STOPPING them separately didn't work.

for example; "prodigymorello2" is started, then "gittarriff" is also started after the first sound. but when i created individual stopsound buttons for each sound, it stops BOTH the sounds playing - not just the specific sound that was supposed to stop; something wrong with my scripting?

---------
on (release) {
k.stop();
}
---------
(on the "gittarriff" stopsound button)


---------
on (release) {
s.stop();
}
---------
(on the "prodigymorello2" stopsound button)

by the way, both these stopsound buttons work, but as if they were;

---------
on (release) {
stopAllSounds ();
}
---------

why??!!

Sound Object: Pause, Start, Stop.
I had to creat a player that would stop, start, pause a music track.
I first Imported a sound and Choose to export the symbol I gave it a name of "tosca"


I got this code from a tutorial.

In my first keyframe I inserted this script

s = new Sound();
s.attachSound("Tosca");
i = 1;
function timeme() {
now = new Date();
var hours = now.getHours();
var minutes = now.getMinutes();
var seconds = now.getSeconds();
_root["nowtime"+i] = (Number(hours)*3600)+(Number(minutes)*60)+seconds;
_root.newstarttime = _root["nowtime"+i]-_root.nowtime1;
i++;
}
s.start();
timeme();

But thier is a little problem that a neophyte like me can't seem to solve for the life of me. I created a fla and published it with a name called "sound.swf". It works pefectly when I view the .swf file. But when my main movie "main.swf" plays it loads my sound.swf fine but does not play any music? Does anyone know what I did wrong.

Thanks

[CS3] Sound - Stop/start/pause Button
Ok.
So i have a pause/start/stop button. I have a movie and .mp3

When i click start/pause/stop buttons, i have coded the movie correctly so it responds fine. But the .mp3 just keeps running and doesnt when i click the buttons.

The // is my .mp3 part, can some1 help me to get it workin with the buttons.


Code:
//(var my_sound:Sound = new Sound();
//my_sound.attachSound("Bullsong");

//playBtn.onRelease = function(){
//my_sound.start();
//};

//stopBtn.onRelease = function(){
//my_sound.gotoAndStop(1);
//};

//pauseBtn.onRelease = function(){
//my_sound.stop();
//} ;

playBtn.onRelease = function() {
play();
//my_sound.setVolume(100)
};

stopBtn.onRelease = function() {
gotoAndStop(1);
//my_sound.setVolume(0)
}

pauseBtn.onRelease = function() {
stop();
//my_sound.setVolume(0)
};
P.s. when i save and compact my .fla, it comes out as 60mb... so i guess i cant show it to you guys...

Getting One Sound To Stop And Another To Start On Button Press?
I've searched on this topic with several keywords to no avail.

I have a sound playing (1.wav). I would like that sound to stop playing and another (2.wav) to start when a button is pressed. How do I do this?

So far I can either I can have both sounds playing, or neither (stopallsounds) when it's clicked; but I would like to stop 1.wav and start 2.wav and can't figure it out. Help!

Toogle Button To Stop/start Sound
I'm looking for code to create toggle button that will start and stop sound.

thank you

Start/Stop Externally Loaded Sound
Can anyone help me with this on/off music button. I want to load the music externally and have it start automatically but use the stop and start button to control the sound. Here is the .fla and if you need it the music also, the file was too big to upload here.
http://www.nucklewebdesign.com/dloads/music.zip

Thanks,
Josh

Stop/start Button Sound Plays Over Itself
Hello Evenyone,

I am new to the forum. I am using a 30 sec sound file. I want it to play when the site starts and turn off when the button is hit.

The sound starts when the site starts up however, the first time the sound off button is hit the sound plays over itself-- like two songs are playing. The second time the button is hit the problem seems to go away.

Here is are the steps and code I used. I would appreciate someone giving me better code to use to create on/off buttons and loading sound or helping me with my existing code.

Did following to sound file:
Selected: Linkage
Selected: Export for Actionscript

Created layer named music
Added the following actionscript in keyframe 1
my_sound = new Sound();
my_sound.attachSound('jazz");
my_sound.start(0,1000);
gotoAndStop("stop");

In keyframe 2;
Added a stop();
Added a name for the frame called 'play'

In keyframe 3:
Added a stop();
Added a name for the frame called 'stop'

Dragged 'on' button to frame 2 with following actionscript:
on (release) {
_root.my_sound.start(0,1000);
_root.gotoAndStop("stop");
}

Dragged 'off' button to frame 3 with following actionscript:
on (release) {
_root.my_sound.stop();
_root.gotoAndStop("play");
}

I would appreciate any help..........I'm not too familiar with sound files and how to control them.

Thanks.

Lindaabby

[F8] Control Panel (start/stop Buttons, Etc.)
http://www.wdc.com/map/tester/mbworld/

See link above. There is a control panel below the flash movie with draggable status bar, stop/start buttons, sound on/off, etc.

Was this done as part of the flash movie? Where do I get one of those handy bars? Or do I have to actually make one somehow?

AS 3.0 Output Error For Start / Stop Buttons
In trying to understand ActionScript 3.0 mouse events, I have followed the online video under Flash / ActionScript / Getting Started wit ActionScript 3.0 presented by Justin Everett-Church. At least I don't see any syntax errors.

I am not getting a Compiler error, but I get this warning in the Output tab: WARNING: Actions on button or MovieClip instances are not supported in ActionScript 3.0. All scripts on object instances will be ignored.

I understand what it is telling me. Actions on button instances are not support in AS 3.0. But then why does the video tell me to name a button instance and then go on to refer to it in the ActionScript?

The movie still works fine. I just get this Output warning. Should I be concerned? I am using Flash CS3 Professional Version 9.0

Another peculiar thing is this. The code shown below DOES NOT generate an Output error on one on my FLA files, but it DOES on three others that have exactly the same button names and AS 3.0 code (shown below). I don't see any differences. I even copied and pasted the code from the one that didn't produce the warning to the others that did. Again, the movies seem to work fine, but I get the Output warning.

Here is my ActionScript 3.0 code (I named the three button instances: stopBtn, playBtn, restartBtn)

import flash.events.MouseEvent;
stopBtn.addEventListener(MouseEvent.CLICK, stopDemo);
function stopDemo(event:MouseEvent):void {
this.stop();
}

playBtn.addEventListener(MouseEvent.CLICK, playDemo);
function playDemo(event:MouseEvent):void {
this.play();
}

restartBtn.addEventListener(MouseEvent.CLICK,restartDemo);
function restartDemo(event:MouseEvent):void {
this.stop();
this.gotoAndPlay(1);
}

Stop All Sounds And Start Another Sound By Clicking A Button
I am working with Flash 5 and I have a problem like this:

I have several buttons in one page, when clicking each button you get a sound (long), I set the sound on the down phase of the button and set it to "start".
The problem is that when I click one button, and then immediately another button, I hear the sounds of both buttons together.

How can I make it, so that when clicking on the button, the sound that is playing will stop, and the new sounds will start.

Thanks you very much, Efrat.

Sound Object Start Stop Exactly At Button Press
Require code urgently to stop 'sound object' using pause button.
Upon pressing pause/play button...movie stops + sound stops, pressing again it plays from exactly where it had been paused.
Also set up sound object with animated sequence but when calling identifier at different chapter bookmarks in movie sound will not sync with existing file.

Stop And Start Sound Loops With 1 Keyboard Button?
I am new to flash and have been learning using a range of tutorials on this site , which have been most helpful to me.
However i cant seem to start and stop a looped music sample using the same keyboard button! Ive tried a number of methods but just cant get it.
Any help would be much appreciated or links to anywhere that might be of use

Thanks

Stop/Start Streaming Mp3 Sound- Button Script
I'm looking for a button script to stop a streaming mp3 sound playback on the first click, then start it again on the second click and so on.





























Edited: 03/28/2007 at 02:47:48 PM by SM6601

Sound.stop Is OK, Sound.start ?
I create a button that stop sound, but i do not know how to create a button that will start to play that sound again.
I try with sound.start but does not work, pleas help?

Sound Stop And Sound Start
Hi There.

I have the follwoing problem. I have this play/pause button that toggles. This works. When clicking it the movie freezes and when clicking it again it runs. I have now added sound to the timeline, and what I want is that when clicking the pause button the movie freezes but also the sound freezes. Clicking the pause button again should start the movie and the sound again.

I have written the follwoing actionscript to the button:


Code:
isPaused = true;
allSounds=new Sound();

this.movieClip.play_btn.onRelease = function() {
isPaused = !isPaused;
movieClip.gotoAndStop(isPaused ? 1 : 5);
stop();
_root.allSounds.stop();
if (isPaused==true) {
play();
trace("We are rolling");
trace("and this is frame "+_root._currentFrame);
_root.allSounds.start(0,99);
}
}
It does half of it good. When I now click the button, the movies freezes and the music stops. When I click again the movie starts again, except that I do not hear any sound anymore. I am sure it is just some simple error, but any tips would be welcome!

Thnx!

Stop Sound To Start Another Sound
I have a movie -a read aloud ebook for kids-with a main soundfile, and buttons with soundfiles (definition of the word in the text). I need to be able to click on the word definition button, stop the main soundfile, listen to the word definition button soundfile, then return to the main soundfile. Everything in the movie works perfectly except that with the code below (on each button), on rollOver ALL sounds are stopped, and I can't work out how else to do it. Can anyone show me how to do this without the onRollover please?

on (rollOver) {
stopAllSounds();
}
on (press) {
_root.play();
}
on (release) {
_root.stop();
_root.btnStopPlay.attachMovie("mcButtonPlay", "btnPlay", 1);
}

Start And Stop Streaming Sounds (start Stopping Currently Playing)
Hi there

I am novice user of flash and have no real AS experience.

What I want to do is..

I have 18 songs from an album and have taken 30 sec from each and down sampled them ready for flash.

I want to be able preview them all from one flash file.
I will be streaming the songs in, so the initial download time is minimal.

With 18 start stop buttons for each one, but because customers are lazy, they are likely just going to click the next play button for the next preview, so I need the play buttons to stop 'this' preview before playing the next with stop control also being a stop control for those who have had enough or are well behaved browsers : )

I hope this makes sense and look forward to hearing from someone.

Cheers

Ian Hill

Start And Stop Streaming Sounds (start Stopping Currently Playing)
Hi there

I am novice user of flash and have no real AS experience.

What I want to do is..

I have 18 songs from an album and have taken 30 sec from each and down sampled them ready for flash.

I want to be able preview them all from one flash file.
I will be streaming the songs in, so the initial download time is minimal.

With 18 start stop buttons for each one, but because customers are lazy, they are likely just going to click the next play button for the next preview, so I need the play buttons to stop 'this' preview before playing the next with stop control also being a stop control for those who have had enough or are well behaved browsers : )

I hope this makes sense and look forward to hearing from someone.

Cheers

Ian Hill

Disabled Buttons Re-enable When Returning To "start" Frame--how To Stop?
I've got what I thought was a fairly simple issue, but it's fast becoming a headache :

I want to disable a button after it is clicked. I can do this no problem using the button inside a MC when the button action advances the MC to the next frame (minus the button). Makes sense, right?

But my problem is that the button also advances the movie to a different location on the main movie timeline. When the user returns to the original "start" location on the timeline with all the buttons, the previously-disabled buttons have reset to again become active.

Anyone have a quick fix for this?

Or must I set a variable for the button movieclips to check for an active/inactive value when returning to this "start" position on the timeline.

I'm under deadline, so if anyone has any bright ideas, I would sure appreciate it.

Thanks a million.

Sound Stop/play Buttons
Hi - I am trying to make a background loop which will play automatically when a page loads and to display a stop button which will stop the music when clicked.
I managed to do this much, however, when the stop button is clicked, I would like to display a play button which will start the music again when clicked. I could not figure out how to do this. I've read several tutorials, but some of them seem outdated and others did not seem to work.
Can anyone give me some advice or direct me to a tutorial which would explain how to do this correctly?
Here is the FLA so far: http://www.seniorspin.com/MyMusic.fla
Thanks, Elizabeth

How To Start A Sound At X Seconds And Stop At X Seconds?
I'm trying to figure out how I can make the sound file that I load into Flash start at x seconds and end at x+30 seconds.

So basically, I just want a 30 second sample to play starting at a specific time position. Does anyone have any advice on how to do this or have links to somewhere I can read up on it?

As always, thanks for any help

-Ind

Create Play And Stop Buttons For Movie And Sound
Hey,
sorry if this has already been asked, I couldnt find it.
I have a movie I made and I want to give the user some control by creating play and stop buttons.
I made the buttons, however when i stop the movie it cuts the sound as well (which i want), BUT when i then push the play button, the movie plays but the sound stays off.

Is there a way to make the sound and movie play with a play button?

thanx in advance

How To Create Looped Sound Clip With Play/stop Buttons?
Hi everyone, basically, What I want to happen is when the flash file loads up on my page a small soundclip (.wav) starts playing, and it has to be looped so it plays exactly continuously and seamlessly; there can't be a 'gap' when it reaches the end and starts playing again.

I'd like to offer two controls: a stop button so people can stop it, and a play button so they can start it up again if they wish.

If that's too complicated then just the stop button would do.

When I've tried to do this myself the sound loads up again after the stop button has been pressed and the play button didn't work.

Im quite new to flash so a step by step guide would be of great help.

Thank you very much for your time and help.

Stop And Play Audio Buttons With Stream Sound Timeline
¿Is there a way to get a full funcion play and stop button if sound is not exported on first frame from library and is located on timeline?

Pepetex

Rewind, Pause, And Start Start Buttons For Base Movie And External Mov

I'm lost...

I have a base movie that contains three buttons (Rewind, Pause, and Start)

The code for the rewind button that sends the base movie to frame 2 which is set to play and then reloads the external movie (images/4_24.swf). works perfectly and is shown below.

on (release) {
gotoAndPlay(2);
}
on (release){
    function test(){
    _root.createEmptyMovieClip("container",25);
    loadMovie("images/4_24.swf", "container");
    container._x=15;
    container._y = 95;
}
test();}


My question is does any one know how to now pause both the base and external movie with the pause button and then start both movies again with the start button????  Some how I need to control both movies with these three buttons.

Code for play button is ---  
on (release) {
play();
}

Code for pause button is ---  
on (release) {
stop();
}


Thank you MJR


A Basic Flash Question. How Do I Start?
I've been making banners in flash and fooling around (trying to make websites and do tutorials) for sometime now. However, my question to all you is, how can I advance and retain my flash programming skills? I guess I would love to hear how some of you started learning, what you did to keep up with it, etc... I know that Flash is something that you need to practice, and like anything else, if you don't practice, you wont advance. However, I feel like it's been a long time since I've been "trying to advance" and I feel I am going no where.

I'd really appreciate any tips and replies, and I thanks all of you in advance!

How To Start Learning Basic Action Script?
My name: John Whello
msn: ikbreakdance at hotmail
website: http://pcxpert.dyndns.org/
question: How to start learning basic Action Script?

I can create login scripts, i know all the operand symbols (==, &&,<=, etc), i read about 300 pages in my Macromedia Flash MX pro 2004 book about action scripting.

The problem is, that this book isn't a step by step teach book, it's more a dictionary :-(.
On gotoAndLearn.com and many tutorial sites have also just put down their Action scripts without first teaching the basics. The basics of AS is what i first like to learn and i hope you happened to know a great way? (of course daily remote connecting with a pro would be good.)

Sound Start Doesn't Start
I've been experiencing this problem. Sound.start() doesn't always start. A lot of times, it does, sometimes, it doesn't start for me. Sometimes it happens even after sound load has just finished. Has anyone experienced the same? any suggestions?





























Edited: 08/24/2007 at 01:26:57 AM by nehcdet

Lets Start Basic... Movieclip To Object To Classes
Hey all,

I have a question. When we used to use flash, we would use a movie clip to do everything for us pretty much, either the main timeline _root would execute the code or we would put the code in a movieclip and then would be aware of how that code would execute.

There is a vital building block im missing right now so lets just start basic.

Pretend i know nothing, apart from flash 5 syntax and i have never worked with any future versions.

I originally learned off many different sources, deconcept used to like clips (me too) and colin moock had a chapter on objects that i never understood because people use object and movieclip as though they mean the same thing. They do but they really dont.

So if its flash 5 im using, what is an object in flash 5, why would i use an object over a movie clip?

(this is part 1 of my questions!)

(essentially, i cant see past this, a movieclip has _x,_y and a name. If i create a new object, it has only a name..... that is the source of my confusion. myObject.attachMovie(blah). Again totally confusing because if an object is anything in programming terms, then all i have done is basically added a clip to something somewhere in memory? Since theres no physical representation of a object on screen in the first place, im simply adding a movieclip to something that is somewhere in my program. Its this very missunderstanding at the basic level thats destroying my patience and has been for years.)

Random Sound Load And Start Is Speeding Up The Sound. Any Help?
Hello,

My first post here at Kirupa. I thought I'd give it a try.
I'm trying to load sound dynamically into a clip and then play it randomly. The AS I came up with works great if the sound is embedded and I use the .attachSound() method instead of loadSound(). Now, when I load it dynamically and use the code below, the sound plays very fast and at a higher pitch.

I'm new to AS. Any help or insight into the issue would be much appreciated!

Thanks everyone!


ActionScript Code:
var crows = new Sound(this);    crows.loadSound("Raven.mp3", false);    crows.setVolume(100);rNum = function(){    var i = 0;    var randNum = Math.round(Math.random()*500);    if (i>=randNum) {        crows.start(0, 1);    }};randSound = setInterval(rNum, 100);

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