Posts filed under 'Action Script'

Flash Lite

Maybe you guys have already heard of it, anyway just to share in case some might not know.  Flash lite is basically Flash for the mobile devices, with some limitations in the actionscript, but you can actually access some data about your device from the flash, e.g. battery level and so on.

Perhaps marketeers can explore this

wee

1 comment May 7, 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


Calendar

November 2009
M T W T F S S
« Sep    
 1
2345678
9101112131415
16171819202122
23242526272829
30  

Posts by Month

Posts by Category