Archive for May, 2008

How to control sound separately in flash?

some times, we stop a music, another sound will be off.  how to control the sounds separately?

this is way:

createEmptyMovieClip(“sound_1″, 1);
my_sound_1 = new Sound(sound_1,1);
my_sound_1.attachSound(“music_xxx”);
my_sound_1.start();

createEmptyMovieClip(“sound_2″, 2);
my_sound_2 = new Sound(sound_2,1);
my_sound_2.attachSound(“music_xxx”);
my_sound_2.start();

Note: the 2 MovieClips need be placed in different layer. for example:one is in 1 layer, another is in 2 layer.

now when we control my_sound_1, can not affect my_sound_2.

Thanks WenJie for his advice!

XueYong

 

 

1 comment May 5, 2008

Vector files

http://dezignus.com/
Loads of free vector files. Useful when you need quick inspiration for banners :P

suchin

2 comments May 2, 2008

A wide range collections of Webpg designs.

http://screenfluent.com/

Poh;p

Add comment May 2, 2008

Free Icons

http://www.icojoy.com/blogs/3/
Download icons for free.

suchin

Add comment May 2, 2008

Next Posts


Calendar

May 2008
M T W T F S S
« Apr   Jun »
 1234
567891011
12131415161718
19202122232425
262728293031  

Posts by Month

Posts by Category