Log in

View Full Version : loadMovie depth problem



mblangsak
12-18-2007, 03:07 AM
hi guys .. i new in flash, i hope you can help me :)

i make sound looping over site using loadMovie, i think the problem is about depth, but i can figured where :confused:

i try to trace on _root and all i can get is this "_level0.mainStage.hold_sound". So i try using this._parent.hold_sound.code ... still doesn't works



this.soundstatus = "new";
this.mySound = new Sound(this.soundbutton);
this.mySound.attachSound("MySoundTrack");
this.mySound.setVolume(0);
this.mySound.start(0,1000);
this.soundbutton.minvolume = 0;
this.soundbutton.maxvolume = 100;


thx guys ..
cheers

BLiZZaRD
12-18-2007, 03:42 PM
So what is not working? The sound isn't playing? The volume? The controls?

Also, are you trying this in AS2 or AS3?

You must have linkage and export for first frame selected on your sound clip, if you have a preloader there are other problems to deal with, etc.

If you like you can attach a .zip of your .fla and we can take a look and get it working for you, or describe the exact problem in a little more detail :)

mblangsak
12-19-2007, 05:03 AM
So what is not working? The sound isn't playing? The volume? The controls?

Also, are you trying this in AS2 or AS3?

You must have linkage and export for first frame selected on your sound clip, if you have a preloader there are other problems to deal with, etc.

If you like you can attach a .zip of your .fla and we can take a look and get it working for you, or describe the exact problem in a little more detail :)

agh, thanks for the reply..
yes, the sound isn't playing, but the control on/off works fine.
The swf sound works fine when playing it self, but the problem is when i'm load it to another swf.

Here i attach files, many thank if you want to see it. i'm using AS2 as well.

http://www.2shared.com/file/2620277/c24f4979/soundFade.htm

cheers