flash8 关于声音

      教程习题 2008-11-29 23:44

s = new Sound();
s.attachSound("aaaa");
s.start(0,1);

s :Sound= new Sound();
s.attachSound("aaaa");   // 不能用=
s.start(0,1);

var song_sound:Sound = new Sound();
song_sound.attachSound("aaaa");
S.onRelease = function() {
    song_sound.start();
};
SS.onRelease = function() {
    song_sound.stop();
};

标签集:TAGS:
回复Comments() 点击Count()

回复Comments

{commentauthor}
{commentauthor}
{commenttime}
{commentnum}
{commentcontent}
作者:
{commentrecontent}