# Final stage of website (sounds) I NEED HELP

**URL:** <https://forum.kirupa.com/t/final-stage-of-website-sounds-i-need-help/22394>\
**Category:** Uncategorized\
**Created:** [June 3, 2003, 5:41pm UTC](https://forum.kirupa.com/t/final-stage-of-website-sounds-i-need-help/22394 "2003-06-03T17:41:29Z")\
**Posts on this page:** 12\
**Page:** 2

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 3, 2003, 7:07pm UTC](https://forum.kirupa.com/t/final-stage-of-website-sounds-i-need-help/22394/21 "2003-06-03T19:07:52Z")

</div>

this.sound1.loadSound(“mp3”,true);

you need to use “this” because the buttons are in a movie clip. also i hope that your mp3’s are in the same folder as you .swf ok i have to leave now, ill be home aroudn 4…

[AS]  
on(release){  
this…y.stop();  
this.x.loadSound(“1.mp3”,true);  
this.x.start(0,999);  
}  
[/AS]

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 3, 2003, 7:23pm UTC](https://forum.kirupa.com/t/final-stage-of-website-sounds-i-need-help/22394/22 "2003-06-03T19:23:53Z")

</div>

everything is working except for your

this command!!!

its not this.!!

its \_ROOT 🙂 🙂 🙂 🙂

but yeah everythign is working now so 🙂

atleast it seams like it haha

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 3, 2003, 9:44pm UTC](https://forum.kirupa.com/t/final-stage-of-website-sounds-i-need-help/22394/23 "2003-06-03T21:44:24Z")

</div>

lol ok but im wondering why “\_root” and not “this”… could someone clearify this for me?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 3, 2003, 10:51pm UTC](https://forum.kirupa.com/t/final-stage-of-website-sounds-i-need-help/22394/24 "2003-06-03T22:51:45Z")

</div>

checkout the final project 🙂

[www.lifemiami.com](http://www.lifemiami.com)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 3, 2003, 11:13pm UTC](https://forum.kirupa.com/t/final-stage-of-website-sounds-i-need-help/22394/25 "2003-06-03T23:13:24Z")

</div>

holla… 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 4, 2003, 11:55am UTC](https://forum.kirupa.com/t/final-stage-of-website-sounds-i-need-help/22394/26 "2003-06-04T11:55:07Z")

</div>

This sometimes refers to everything on the stage, but I don’t know exactly when. I tried [COLOR=BLUE]this.\_visible = false;[/COLOR] once, it maked the whole stage invisible. Can someone tell me when this refers to everything on the stage ? I experienced that it is best to refer to something with \_root.path, except when something is loaded external, then you should use \_parent to refer to something in the external loaded swf.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 4, 2003, 12:22pm UTC](https://forum.kirupa.com/t/final-stage-of-website-sounds-i-need-help/22394/27 "2003-06-04T12:22:57Z")

</div>

ok the only time i know that this could refer to the whole stage is if you stuck it on the main time line, where this would obviuolsy then mean the main timeline/movie.  
Im no flash guru or anything 🙂 but as far as i know this. shouldnt refer to the main timeline unless as i said its ON the main timeline.  
Also the code you posted with this. command may not have worked because (i for one) refer to the clips name when referencing a movie which has been loaded into a target, and movies name when loading into levels, maybe it was something to do with that.  
Anyway just a few thoughts 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 4, 2003, 12:33pm UTC](https://forum.kirupa.com/t/final-stage-of-website-sounds-i-need-help/22394/28 "2003-06-04T12:33:43Z")

</div>

I didn’t quite get the second part of your explanation. If you ment that it had something to do with loading into levels or target, the button I used this.\_visible = false; on, wasn’t loaded externally at all.

> ok the only time i know that this could refer to the whole stage is if you stuck it on the main time line, where this would obviuolsy then mean the main timeline/movie.

Do you mean on the timeline (on a frame) or on an object directly on the timeline ?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 4, 2003, 1:43pm UTC](https://forum.kirupa.com/t/final-stage-of-website-sounds-i-need-help/22394/29 "2003-06-04T13:43:20Z")

</div>

sorry bought the useless explanation and let me cover myself by saying i might be completely wrong ok  
That said i meant this, your command

this.\_visible=false;

was it attached to a clip (as an ‘onClipEvent’) or was it on the main timeline ??

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 4, 2003, 2:42pm UTC](https://forum.kirupa.com/t/final-stage-of-website-sounds-i-need-help/22394/30 "2003-06-04T14:42:12Z")

</div>

Well, it was attached to a button, but I really can’t remember if it was on the main timeline or inside another movieclip (or two, or three, …). I wanted that button to disapear after it’s been clicked, so I thought ( in one of my expiremntal moods ), yeah \_root.path could do it, but hey, why not try [COLOR=BLUE]this.[/COLOR] instead ? So I put that code on the button. And when I pressed it, the whole movie turned white ( which was the bg color ). So that actually made EVERYTHING invisible instead of itself.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 4, 2003, 2:59pm UTC](https://forum.kirupa.com/t/final-stage-of-website-sounds-i-need-help/22394/31 "2003-06-04T14:59:48Z")

</div>

AAh i see well in that case i have no idea , i have never encountered that problem.  
However i only ever use this for bits of code which need to applied to many things (as its easier than changing path for each thing !!)  
I tend to always use abolute paths…  
sorry i couldnt help more maybe some one else knows??  
🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 4, 2003, 3:04pm UTC](https://forum.kirupa.com/t/final-stage-of-website-sounds-i-need-help/22394/32 "2003-06-04T15:04:31Z")

</div>

Yeah, I use \_root.path every time since that this. tryout 😛

[Previous page](https://forum.kirupa.com/t/final-stage-of-website-sounds-i-need-help/22394.md?page=1)
