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




Controlling Sound



Hello,

I've gone through Kenny Bellew's explanations but it doesn't work so here is my problem.

I have a main movie (main.swf)in which a streaming sound is embeded: named mix in the library and mix01 in the linkage id.

There is another movie that gets loaded on top, in layer 2, (mute.swf) in which there is a button. With that button I want to activate the sound mix in movie layer0 of main.swf.

I've tried all combinations for the script of the button:

_root.mute.main.mix01.start()
_root.main.mute.mix01.start()

nothing works

What do I have to do? Am i using the action scripting? is It doable?

Thank you



FlashKit > Flash Help > Flash MX
Posted on: 05-29-2003, 02:46 AM


View Complete Forum Thread with Replies

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

Controlling SOUND
How may I control sound in flash5?
pan
volume

I don´t know whatelse could I do...
Maybe it´s similar to the color control...

Help please
Thanks!

***

mysound.new Sound();
mysound.attachSound ("name");

I´ve tried something like that,
but I don´t know where to put the sound
and more stuffs...

***

Sound Controlling
hai,

I created one swf file with a sound file (S.Swf), created another swf file with sound controls (SV.Swf) and i am loading these two files into another two movie clips (s_MC, sv_MC) in a main movie (MM.Swf).
My problem is, i want to control the sound file from the main movie how do it do this.


i created like this

MC_Sou = new Sound(_root.sound);
trace(MC_Sou.getVolume());

Using this i want control the sound in it. How it is possible.

thanks
bvs

Please Help With Controlling Sound
Hi, is this possible...
I have a parent clip with an event sound playing (its a song loop)
I wish to load a movie in a new level and in that movie, set the song loop
volume in the parent clip to 0, with a fade if possible, and then play a new
sound loop and then when the user clicks the button, the original loop
volume increases back to normal - so basically i dont have to unload it from
memory.
Does this make sense,
Thanks,
Cliff

Controlling Sound
Is there any known method used to control the speed that a sound file plays?

For instance could I take a pre recorded track, torture it with some actionscript so it sounds like Alvin and the Chipmunks?

Thanks

David

Controlling Sound
Hi all

There is any way to control each sound channel in Flash MX?
Thanks in advance.

Controlling Sound
is anyone aware of a good, simple toutorial that explains how to control sound with a button...?

Controlling Sound
Hello,

I've gone through Kenny Bellew's explanations but it doesn't work so here is my problem.

I have a main movie (main.swf)in which a streaming sound is embeded: named mix in the library and mix01 in the linkage id.

There is another movie that gets loaded on top, on level 2, (mute.swf) in which there is a button. With that button I want to activate the sound mix in movie layer0 of main.swf.

I've tried all combinations for the script of the button:

_root.mute.main.mix01.start()
_root.main.mute.mix01.start()

nothing works

What do I have to do? Am i using the action scripting? is It doable?

Thank you

Controlling Sound
I have three different flash files one background sound (mp3) & eleven other mp3 sounds, I want to load background.mp3 in all files but other mp3 according to scenes in files of 6 & 5 scenes and please note I want to start both sound & stop both sound & again start both sound from a single button in all the three files. Can anybody help me in this.

Controlling Sound ?
I am going to have very short voice overs associated with each top tier page of my flash site. I would like it such that one can turn off ALL voice overs with the click of a button. Furthermore I would like for each voiceover to play only once.

For example, if you go to index.html it will say, "Welcome to . . . " .

Then you go to About and it says "Acme Co is. . . ".

Then when you go back to index.html for the second time I do not want it to play the "Welcome to. . ."

Can that be done? If so, can you please tell me how?

Controlling Sound Between Two SWF's
Hey all,
I have two SWF files that are each in its own HTML. I would like to be able to control the sound of one SWF from the other. The first swf file has a button that opens up the second swf in a new browser. When the second SWF opens, I want the sound from the first SWF to shut off. Any help would be appreciated. Thank you

Controlling Sound
I thought I knew my stuff concerning sound, until I ran into this problem. I want a button in Movie 1, once loaded into Movie 2, to stop all sound. but the stopAllSounds(); command is not working.

I have a movie, Movie 1, with

Quote:




trace( this );






so when loaded into the Movie 2, the trace gives the path:

Quote:




viewer_mc.content_mc.DET_mc






In Movie 1, I used this code for the mute button instance,
(multiple code tries hoping one would work)

Quote:




DET_mc.onRelease = function () {
_parent.stopAllSounds();
stopAllSounds();
_parent._parent.stopAllSounds();
_root.stopAllSounds();
}
viewer_mc.content_mc.DET_mc.onRelease = function () {
_root.stopAllSounds();
_parent._parent.stopAllSounds();
allSound=new Sound();
allSound.setVolume(0);
trace ("hello");
}






Am I missing something?

Controlling Sound
Is there a way in flash to control sounds to play at an exact time. I want to play 10 different sounds in a pattern but I want total control over when they are played relative to each other, down to the millisecond. Is this possible?

Controlling Sound Over Lan
I and some schoolmates are making this game
where and person is plased in an room wich is totaly dark.
We have made 15 buttons on the floor wich communicate with an keybord
wich again is connected to an computer.

now the problem is that we have 8 speakers,
but flash can only handle 2 speakers(left/right),
so the idea was to have one swf on the main computer
to controll all variables and send info to three other
computers(wich control 2 speakers each) what sound to play.
and this again is supposed to be over lan.

are there any good ways to do this?
or is there a better way to control the sound?

hoping for feedback soon

Controlling Sound In Fla
Hi
I've made a simpel animation, which can be controlled with a stop button and a play button. I have added sound to the first frame with the property inspector and wants the sound to be stopped, when the animation is stopped.


Is there any easy way to stop/start the sound with the same addEventListener which stops/starts the animation?:


Code:
start_btn.addEventListener(MouseEvent.CLICK, playSequence1);


function playSequence1(event)
{
play();

}

stop_btn.addEventListener(MouseEvent.CLICK, stopSequence1);

function stopSequence1(event)
{
stop();

}

I'll be so happy to get a solution

Controlling My Sound...
Here is the hierarchy of my project:
instance names are in the parentheses.

main frame
|_ player console
|_ movie-holder(movieHolder)
_______|
|
movie.swf
|_ silent animation
|_ attached sound

and here are some of my codes:

ActionScript Code:
// in the 1st frame of my mainFrame.fla
// after the movie's loaded into the timeline by MovieClipLoader
movLoader.loadClip("movie.swf", movieHolder);
trace(movieHolder.testSound); // return [object object]
when testing mainFrame.fla, no sound is played.

ActionScript Code:
// in the 1st frame of my movie.fla
var testSound:Sound = new Sound();
testSound.attachSound('sound1');
testSound.start();
when i test movie.fla, everything works perfectly.
Why?
does the Sound Class has some limitations beyond my knowledge?
How can i modify my codes, so that the mainFrame.swf can play the movie as well as the sound attached in the .fla file.


Thanks in advance
Deackie

Controlling Sound
I have a Flash website that plays music in the background using

globalsound = new Sound();

One of the website sections contains links to video clips. I use a JavaScript command to launch Quicktime.mov in a new HTML popup page. When the MOVs launch the sounds overlap. Currently visitors can turn the background music on/off manually from Flash, however I would like the background music to mute automatically when the HTML page containing the MOV is launched.

I was thinking that perhaps I could do this using an onBlur / onFocus command, but I am unsure of how to implement this. Perhaps I can place an onFocus javascript command in the body tag of the popup that would tell the Flash movie globalsound.setVolume(0);

Or is there a way to use onBlur/onFocus directly from Flash? I have read a few tutorials online but none have been helpful. I have to believe this is a fairly common problem, but I don't have an answer. I understand the principles but need to know the code that is required.

Controlling Sound
I'm using Flash MX 2004 Pro.

I've got a movie where I load a second SWF file. I need to control the sound in the second external SWF from the primary movie once the external SWF file is loaded. I've tried using the following:

var movie_sound:Sound = new Sound (sound);
movie_sound.stop();

to create the sound object in the external SWF. However, when I call it in the primary movie, like so:

on(press) {
placeholder.movie_sound.setVolume(0);
}

nothing happens. The sound continues regardless of how I setup the variables in the external file or how I try to access the sound object from the primary movie.

Can someone point me to docs or another resource where I can find info on doing this right? I find the help docs that come with Flash rather cryptic.

HELP : Controlling Sound
Hello Kirupa.com,

First of all, I would like to thank "scotty" for helping me out with my problem. More power to you buddy.

Ok, here I go. I have a simple movie that will be loaded on an empty clip. This movie is called "bgsound.fla". The movie is pretty simple and it worked just fine. No complexities whatsoever. Not until my friend told me that it gets annoying after sometime specially when you spend more time in the website reading something. So he thought that it would be great if the sound would FADE OUT after a specific time, let's say, 1 minute. Then maybe if the user wants to listen to the background music again, will click on the button that says "PLAY". Oh boy!! I couldn't handle the AS for that so I thought I could ask for a little help around here.

I tried to search for a tut that's something I had in mind but came up empty.

Please download my FLA at this link http://www.geocities.com/imbecillesqued/pub/bgsound.fla


Thank You in advance

Controlling Sound
Hey guys, I got this project that i need to finish and the sound part is the last..help me get paid!

Ok, I got a main movie with a background sound (as a movie clip) and an empty movie clip ('contents') to load external Fla's. The main movie has links to three other movies A, B and C.

As i navigate between the various external fla's the bg sound should keep looping. When Movie A loads, it has it's own sound and it plays, when I navigate away from Movie A and load Movie B, the sound for Movie A still plays, how do I get to stop the sound of only the loaded movies and not the background sound?

Does that sound confusing? Below is some code I used on the buttons to load the external fla's

on (release) {

contents.stop(); // Doesn't stop the sound in 'contents'

_root.contents.loadMovie("audio.swf");
}

Controlling Sound
I am loading an external FLV file and I want to control the sound using AS. How will I be able to do this. I have the following code but it controls all the volume for the entire SWF file and thats not what I want. Here is the code.

Code:
var global_sound:Sound = new Sound();
global_sound.setVolume(0);
I want to be able to control a particular FLV out of 3 that are being loaded.
Hope I was Clear enough

HELP : Controlling Sound
Hello Kirupa.com,

First of all, I would like to thank "scotty" for helping me out with my problem. More power to you buddy.

Ok, here I go. I have a simple movie that will be loaded on an empty clip. This movie is called "bgsound.fla". The movie is pretty simple and it worked just fine. No complexities whatsoever. Not until my friend told me that it gets annoying after sometime specially when you spend more time in the website reading something. So he thought that it would be great if the sound would FADE OUT after a specific time, let's say, 1 minute. Then maybe if the user wants to listen to the background music again, will click on the button that says "PLAY". Oh boy!! I couldn't handle the AS for that so I thought I could ask for a little help around here.

I tried to search for a tut that's something I had in mind but came up empty.

Please download my FLA at this link http://www.geocities.com/imbecillesqued/pub/bgsound.fla


Thank You in advance

Controlling Sound
Hey guys, I got this project that i need to finish and the sound part is the last..help me get paid!

Ok, I got a main movie with a background sound (as a movie clip) and an empty movie clip ('contents') to load external Fla's. The main movie has links to three other movies A, B and C.

As i navigate between the various external fla's the bg sound should keep looping. When Movie A loads, it has it's own sound and it plays, when I navigate away from Movie A and load Movie B, the sound for Movie A still plays, how do I get to stop the sound of only the loaded movies and not the background sound?

Does that sound confusing? Below is some code I used on the buttons to load the external fla's

on (release) {

contents.stop(); // Doesn't stop the sound in 'contents'

_root.contents.loadMovie("audio.swf");
}

Controlling Sound In A .swf
Hello,

I do not see any options in Flash 8 but I want to lower the sound on my .swf file.  As soon as I click on my website I get blasted out of my chair even though my volume level is at a low level.  Why are flash files so much louder than a regular audio files in WMP?


Thanks even if it is a simple no.....

Controlling Sound
hi
I am trying to create a sound player that will play
different songs when you click on them...but only one at time
like this
http://www.everfinerecords.com/newsi...ge_layout.html

how do I control my sounds with my buttons?
Any help is greatly appreciated

Controlling Sound On Mpg
hi all,
ive imported an mpg movie into my movie and i need to controll teh sound of it. can i use actionscript for this? any examples of how this could be done?
many thanks
- D

Controlling Sound
Hi, please can some1 help me with my sound control

i have ten buttons that i am controlling with actionscript, they are all on the main timeline and defined on the same layer.

Each sound is defined like this :

firstSound = new Sound();
firstSound.attachSound("firstSound01");

i am starting the sound with :

on (press) {
if (playing!=true) {
_root.firstSound.start(0,999);
playing=true;
}
_root.firstSound.onSoundComplete = function() {
playing=false
}
}

When 1 of the buttons is pressed i want to check to see if any other sounds are playing and if so stop it - then start playing the sound for that button.

Can any1 help me plzzzzzzzzzzzzzzzzz

Controlling Sound
Hi folks,

is it possible to control the sound of one movie clip from another?

I'm fairly new to Flash and need a looping background track on one clip but then various voice over clips to drop in at cerain points - at that point I'd like to lower the background volume while the voice over happens and then raise it again when done

Is this possible at all without writing pages of that scary script stuff?

Thx

Controlling Sound Object - HELP
I’m having trouble controlling the sound in my flash movie. I created a sound object with the variable name bg_music for _level1.

bg_music = new Sound(_level1);

I then loaded background music .swf files into my main movie with the loadmovie action onto _level1.

loadMovieNum ("start_music.swf", 1);

I can control the volume in the movie with something like:

bg_music.setVolume(50);

But the problem is the "bg_music.setVolume(50);" command sets the volume in the entire movie, not just the loaded .swf file or _level1. I would like to be able to control the volume of the loaded .swf files independent of the rest of the main movie. Anyone know how I can do this?

Thanks in advance.

Controlling Pan & Volume Of More Than 1 Sound
Is it possible?......

What i want to do is with 'sound1' turn the volume down to 50 and pan to the right - while 'sound2' isn't affected

I can see how to do it for one sound but it seems to affect any sound i throw in to the movie.

Anyone seen anything about this?

thanks for your help

**CONTROLLING SOUND Between Scenes**
hi guys,
hey i have this problem controlling sound in my flash movie.

what i wanna do is really simple (yeah but i've no clue how to!) - i want my soundtrack to keep playing throughout all the scenes.

i tried putting the sound file into SCENE ONE (which is the scene that calls in all other scenes). it works and the track starts playing. it still works when i click to enter other scenes *BUT* once i click on the home button (which brings me back to SCENE ONE), on top of the music that was already playing, it triggered off another round of the track. in the end i have the same track playing simultaneously at different timing and it sucks.

how do i make it such that the track, ones it starts playing from the beginning, it doesn't get interrupted no matter which scenes i go to?

*BigJuicy*

Controlling A Sound Clip
Hi!

I am trying to control a sound clip and a button, so when I move my mouse over the button it(without pushing the button!)starts playing the soundclip, and ends it when moving outside the button. I also want the clip to only play ONCE(I have to move the mouse outside and over the button again to make it start over.)
Is this a difficult task?

K.Man

Controlling Loaded Swf With Sound?
Hi all...
Im really stuck this time.
I want to load a swf file ( containing music) in my main movie. I then want to control its volume through the sound object. Nothing's happening. My codes are:

On buttton for loading sound:
on (press) {
loadMovie ("music.swf", "_root.sound");
}
on (release) {
global = new Sound();
}

On another for volume setting:
on (release) {
global.setVolume(10);
}

Any help will be appreciated.
MIIZ

Controlling Sound In Movieclips
Hi Friends,

I've created several movieclips with soundtracks in them. I'm having problems telling them to stop and start playing using the 'stopallsounds' command. Is there a basic actionscript technique to control sounds in movieclips? The tutorials I've read aren't clear on this aspect.

Thanks, woktoc

Controlling Sound Object
Hi all
I have a sales presentation that runs off a pc. there is a home page and a sales page ( a movie clip). I've used a sound object for the background music and it starts on the root timeline.
I want to lower the volume on the sales page (of the music) to play a video and up the volume when the video is finished.
my code:
root timeline
music = new Sound();
music.attachSound("soundtrack");
music.start();

sales movieclip
_root.music.setVolume(0);

This all works fine except when I play the video the sound for the video doesn't play. Just can't figure it out.
I'm using Flash 5.

Please help
Thanks

[Edited by larno on 09-03-2002 at 05:57 PM]

Controlling Sound From .EXE, Loaded SWF
I am working on a cdrom and I want to have bkg music in it. I set up a movie clip that controls the volume of my audio and saved it as music.swf. I then loaded it into my main exe file using loadmovie and have it placed on level 9. When the swf file is loaded there is no music playing but my interface works fine. If I listen to it separately it works. Any ideas?

Here is the code for my swf

mySound = new Sound();
mySound.attachSound("bkgmusic");
mySound.start("", 999);

bkgmusic.mp3 is attach via linkage

In my exe all I did was

loadMovieNum ("music.swf", 9);

Thanks for the help

Cracker

Controlling Sound From A Different Level
Im having a problem controling a sound on level 0 with a button on level 3....I have the actionscript:

soundOn = function () { s = new Sound();s.attachSound("sound");s.start(0,99);};
soundOff = function () { s.stop();};
soundOn();

on the first frame of my main movie on level 0, and I'm using this script on a button on level 3:

on (press) {
if (isstopped) {
_level0.soundOn();
} else {
_level0.soundOff();
}
isstopped = !isstopped;
}

problem is it does nothing???

anyone have any idea why ?

Thanks
Dave

Controlling A Sound From A Different Level
Im having a problem controling a sound on level 0 with a button on level 3....I have the actionscript:

soundOn = function () { s = new Sound();s.attachSound("sound");s.start(0,99);};
soundOff = function () { s.stop();};
soundOn();

on the first frame of my main movie on level 0, and I'm using this script on a button on level 3:

on (press) {
if (isstopped) {
_level0.soundOn();
} else {
_level0.soundOff();
}
isstopped = !isstopped;
}

problem is it does nothing???

anyone have any idea why ?

Thanks
Dave

Controlling Sound Length
i am randomly generating two points on a graph then connecting the points with an arrow that extends between the two . i want to add a sound to the arrow that corresponds to the lenght of the animation. id like to know if i can do this with action script, and if so how? i am working with flash 5. i am thankfull for any help.

Controlling SWF-sound Through HTML.
I have left frame (used for navigation) in HTML,using javascripts,which loads swfs in the right frame. and these swfs have audio attached them, with the mute buttons, so if i mute one of the swfs in any of the files, then all the other swfs which will be loaded on click on left buttons should be muted.

I hope i am clear in that.

two things:
1. I need to store somewhere (either in HTML or an external text file) about the clicking of the mute button in the right swf.
2. whenever a new swf is loaded on click of a link in the left frame, the new loaded file should check if the previous swf was muted or not, if yest then this should also be muted (both the state of the button and the sound).

Please let me out of this serious trouble.

anyone help me out!!!

Controlling Sound With Actionscript
I have background music playing on the main page of my flash site, I also have buttons on a seperate movie that loads up work from my portfolio which has its own music.
Does anyone know the actionscript to stop/start the music on my main page when the buttons on my seperate movie are pressed so that the music doesnt overlap?

If this doesnt make any sense please check my website at www.jamesrooke.com and click portfolio, then the first button, it should load up an animation. Youll see what I mean

Any help would be much appreciated

Loading Sound And Controlling It
I have an extenal .SWF that have a sound object
-------------------------
var s = new Sound(this);
s.attachSound("soundName");
s.start(0,999);
-------------------------
Im trying to load it and controll it through another Flash file.
Control it means that ill have access to variable "s" and have the ability to stop and play over again.
so in my main movie clip i wrote:

-----------------------------------
loadMovie("SWF Name",10) ;
level10.s.start(0,999)
---------------------------------
does it make sense ?

Controlling Sound Through LoadMovie?
I have a MX file that I am using LoadMovieNum for an external .swf file. That external file has music in it and I want to tell it to not play the music from this file. How can I tell it to stopAllSounds? Thanks!!!!

Controlling Sound With A MediaController
Controlling Audio with MediaController!?!?!
Hi, im totally new with Macromedia Flash MX2004 PRO.
I just managed to make an Flash Document with a loop in it, (its a simple picture with a loop) I added the MediaController to it but it doesnt work i dont know what kind of code i need because im new with this program. (( Excuse me for my bad english ))Can anyone please help me ?

THANKS!

*The Attachment is how my Flash Document looks like

Sound And Controlling It With Mouse.
Alright here is the issue, i have a movie that is 536 pixels wide, 3885 frames long. I have a mask that goes over the waveform of the song as it plays, I want to be able to click anywhere on the waveform and have it play. I can trace where the mouse is using _xmouse, and then somehow corrolate that to the _width of the mask, since they are both within 536. The only problem is I can't figure out how I should do the frames and get it to play where I click. Any ideas?

Help With Controlling Animation/sound Please?
I have a client that has requested a numerous amount of files that include text, animation, and sound. The final product will be on CD so file size is not an issue. The text must "reveal" itself as the narrator speaks, and also some animations must happen at the same time. The client has also requested a pause and play function which is no problem. My issue is this:
In order to keep the animated text and visuals in time with the sound, I've just used the properties pallet to assign the sound to the timeline in it's own layer using keyframes for timing certain motions. If the sound is imported as .mov and there is an image in the file, then flash will allow me to pause and play the sound, meaning it picks up where left off. But using .wav or .aiff or .mp3, flash will not pick up the sound where it was left until a new keyframe has been reached, however it is the next sound file which plays, and not the "pickup point" of the previous sound... Is there a way to make the .wav or .aiff pick up where the animation is paused, when I put it in a keyframe? Most of the help files deal with sound objects, which don't really help me when I'm timing all of this with the sound. It's easier to lay out the sound and then animate to match it. Any help would be most appreciated, as I'm creating approximately 300 screens. I could use a global approach to control the movies if only the sound would work like I want. Thanks guys.

Controlling Sound Volume
Hi all,

I don't know that this is a newbie question, but I don't have a lot of Flash experience.

I followed Tim's tutorial here, and I embellished it a bit.

http://www.flashkit.com/tutorials/Au...1008/index.php

I want to add a volume control to it, but because of all the encapsulated movies that call each other and load, I am confused. It would be nice if I could control the master volume, but it looks like you can only control the volume of a sound object. That presents a problem, because the music here is streamed in the main timeline of one of the SWFs.

Is there a way to control volume if there is no sound object?

Thanks!

-Chris

Help With Controlling Sound With Actionscripting
Hi, I've created a Mute button to stop and play the background sound ,
the problem is
when the sound starts again , it starts from the beginning of the song,

how can I actionscript it so that the song starts from where it was stopped ?

here is the actionscripting I used on the first frame;

stop();
var s1:Sound = new Sound();
s1.attachSound("bg-music");
s1.start();

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

and I used this code on the On and Off buttons;

on_mc.onPress = function() {
with (_root) {
s1.stop();
}
};
on_mc.onRelease = function() {
gotoAndStop("off");
};

off_btn.onPress = function() {
with (_root) {
s1.();
}
};
off_btn.onRelease = function() {
gotoAndStop("on");
};

any help would be appreciated ...

Controlling Streamed Sound.
I have developed a site that streams in a music track at run time. I chose to stream in the sound following problems with the sound object loading in sound on the first frame & thus causing delays with any preloader code that may have been in existence.

Anyway although i know there is a work round with using “loadSound” together with a preloader i chose the stream option. My questions are.

1.) Is it possible to use the methods of the Sound object on a streaming sound – such as vol control?

2.) Is it bad practise to try & control a streaming sound – in other words would i have been better to have persevered with the work round?
Thanks for any help.

[CS3]AS2 Controlling Sound Using A Slider Bar
I have created a little application that uses a slider bar to scroll through a series of maps I have created. Each map is contained within a movie. I have used a onEnterFrame function to check the value of the ._x in a slider Movie to determine which movie is displayed. I want to be able to play a recorded narrative when the user slides to a particular map.

the problem is that when I include the loadSound function in the code the onEnterFrame keeps checking and the sound object keeps re-loading. I've tried to put a check into see if the required movie has played but this is not working. What I ideally would like is to be able to stop the playhead for the duration while the sound object plays in its entirety. Welcome any insights into this.

here's some of the code which sits inside the slider control:
handle.onPress = function(){
this.startDrag(false,0,0,543,0);
};

handle.onRelease = handle.onReleaseOutside = function(){
this.stopDrag();
}

handle.onEnterFrame = function(){

trace("this._x = " + this._x);
if (this._x >= 0 && this._x <50.00) {
var i:Number = 0;
if (i == 0 ) {
_root.gotoAndPlay("PLDubOverlay");
Song1 = "audio/PLDubOverlay.mp3";
audioClip_obj = new Sound();
audioClip_obj.loadSound(Song1,true);
i = i + 1;
}
trace("i = " + i);;
}


if (this._x > 50.00 && this._x < 100.00){
stopAllSounds();
_root.gotoAndPlay("GaelicModel");
}
if (this._x > 100.00 && this._x <150) {
stopAllSounds();
_root.gotoAndPlay("AngloNorsePL");
}
if (this._x > 150 && this._x <170.75) {
stopAllSounds();
_root.gotoAndPlay("MedDubNLI");
}
if (this._x > 170.75 && this._x <190.75) {

stopAllSounds();
_root.gotoAndPlay("MedPL");
}
if (this._x > 190.75 && this._x <210.75 ){
stopAllSounds();
_root.gotoAndPlay("MedModel");
}
if (this._x > 210.75 && this._x <231.75){

stopAllSounds();
_root.gotoAndPlay("Speede1610");
}

if (this._x > 231.75 && this._x <251.75){
//stopAllSounds();

var i:Number = 0;
if (i == 0 ) {
_root.gotoAndPlay("DeGomme");
Song1 = "audio/DeGomme.mp3";
audioClip_obj = new Sound();
audioClip_obj.loadSound(Song2,true);
i = i + 1;
}
trace("i = " + i);
}

if (this._x > 251.75 && this._x <271.75){
stopAllSounds();
_root.gotoAndPlay("brooking1728");
}

if (this._x > 271.75 && this._x <311.75){

stopAllSounds();
_root.gotoAndPlay("Rocque1756");
}
if (this._x > 311.75 && this._x <341.75){
stopAllSounds();

for (i=0; i=0; i++){
_root.gotoAndPlay("Dub1787");}
}
if (this._x > 341.75 && this._x <400){
stopAllSounds();
_root.gotoAndPlay("Dub1811");
}

if (this._x > 400 && this._x < 543 ){
stopAllSounds();
_root.gotoAndPlay("1938Norm");

}
if (this._x > 490 && this._x < 510){
stopAllSounds();
_root.gotoAndPlay("1938Grad");
}

}

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