-
Glad you feel that way and im happy to help . There are some great tuts about sound if you click the tutlink on top of this page ,eaven open movies for download .
-
I think i understand the syntax now for the loadmovie,....you load and unload into the same level right?
1 other question,....is there a way to get the total time in minutes and seconds and have it count like a CD player?
-
Yes , you load it into level 20 or the level you choose , once you load a movie into that level it will stop to play. If you have a button on / off , this would be the action .
On : Load movie , sound.swf into _level20 .
Off : Unload movie , _level20
2 question : Havent tryed it but i think you use the actionscript get timer or soemthing like that , actionscripts isnt my best side (still researching every day).
Like i said , there are tons of open movies like sound controls, mixers , you name it , its there .
I have to go now , see yah.
-
BINGO!!
Okay, Imported Soundclip via openMovie! VolumeControl
This is the action script for the external .swf
[b]s = new Sound(this);
s.attachSound("mySound");
s.start();
To adjust the volume, I needed to call the property s of the _root.myloadedsound object!!!
onClipEvent (load) {
top = _y;
left = _x;
right = _x;
bottom = _y+73;
}
onClipEvent (enterFrame) {
if (dragging == true) {
_root.musicload.s.setVolume(100-(_y-top));
}
}
tis good to have volume control!!!!!!!!!!!
Many Thanks!!!!!!!!!
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~
BINGO!!
Okay, Imported Soundclip via openMovie! VolumeControl
This is the action script for the external .swf
[b]s = new Sound(this);
s.attachSound("mySound");
s.start();
To adjust the volume, I needed to call the property s of the _root.musicload object!!!
onClipEvent (load) {
top = _y;
left = _x;
right = _x;
bottom = _y+73;
}
onClipEvent (enterFrame) {
if (dragging == true) {
_root.musicload.s.setVolume(100-(_y-top));
}
}
tis good to have volume control!!!!!!!!!!!
Many Thanks!!!!!!!!!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-
i have a differnent problem same area
Originally posted by Marx
Hi..
Whenever you load a sound swf file you need to change the way you set up the sound file. For instance, you would normally set up your sound object as follows:
s = new Sound();
s.attachSound("mySound");
s.start();
When you test this it works fine, fine that is until you load it into another movie at which point it will cease to work. The reason for this is that the loaded movie loses it's connection to the linked sound.
To remedy the problem you need to force the sound file to refer to itself. You do this by adding the 'this' keyword:
s = new Sound(this);
s.attachSound("mySound");
s.start();
Hope this helps.
I have this sound object code set up and use it as a frame action to start my music. This along with a frame action that fades the attached sound. This works, however on the _root level of my movie i have streaming sound that coordinates with my movie...the sound object elements all sounds after fade. Should i create a separate swf and unload it..i wanted a overlap between fading event loop and streaming loop.
I can use any help out there.
Thanks
m
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|