flash HELP!!!
- Started
- Last post
- 18 Responses
- steadyvibe
Hey im having a crazy problem...
I have this code set so that the one audio file with background music plays at 30% volume. But now everythign is playing at 30% volume?WHY IS THAT??
here is my code that i have on hte frame i have that audio starting at:
music = new Sound();
music.attachSound("audio1");
music.start(0,9999);
music.setVolume(50);
- tomkat0
yep.
i know that problem.. havent figured it out yet..
- steadyvibe0
oh good. its really annoying..
- steadyvibe0
anyone know??
- unfittoprint0
you can specify the target in the sound object, (this) for example.
music = new Sound(this);
music.attachSound("audio1");
music.start(0,9999);
music.setVolume(50);
- steadyvibe0
didnt work
- tomkat0
i think flash wasn't made to be used as a "sequencer"..
you'd have to use director for that..
- steadyvibe0
hmm.. im screwed?
- tomkat0
i hope not..
=-?
- unfittoprint0
read this.
http://www.sonify.org/home/featu…
'What happens if we do not pass a target path to the Sound constructor function? This creates a "global" Sound Object that controls volume and pan of all sounds in the movie.'
- steadyvibe0
i read it but im not really getting it???
- steadyvibe0
mine is not within a move clip. it is being called my actionscript when it passes a certain frame.
- steadyvibe0
bump
- propa0
When you say new sound, just load the sound to a level. When you got to affect that sound since it's on a separate level it will be affected on its own. I had the same problem.
That’s a good link unfittoprint
- steadyvibe0
sweet, thanks so much, ill try that
- ozhanlion0
unfittoprint this is a really nice link, keep 'em coming bro.
oz.
- steadyvibe0
i cant figure out how to load it on a level???
- steadyvibe0
anyone else know a solution?
- steadyvibe0
Can someone please help me if they are not busy?