Be a Supporter!

making 2 songs in a music player

  • 529 Views
  • 2 Replies
New Topic Respond to this Topic
AlmightyHans
AlmightyHans
  • Member since: Aug. 6, 2004
  • Offline.
Forum Stats
Moderator
Level 11
Filmmaker
making 2 songs in a music player Dec. 13th, 2006 @ 01:38 PM Reply

im making this slide show on some halo characters im drawing for a big project i'm working on "It's a Halo Thing" Trilogy. and in the slide show i would like to have 3 buttons, on button that plays one looping song when you click, another buttn that plays another song that loops. and then a mute button. it's real simple. not much work needed no doubt, would like to know the coding and tuff, it would be much easier for me, and maybe for the one that chooses to participate in assisting me, if i just send the .fla file with the prepared buttons and then you just place in the coding... simply because i really have such limited knowlege on AS. and i would most likely complicates thing more than makeing them easier.
so if you're reading and decide to cooperate, it would also be an advantage commuication -wise to talk over this on MSN messenger (my email is on my NG profile). but if email works close enough hen i guess i'll be ok with that too.

i'd much appreciate your help, and you will be credited with what you do.

-thanks


BBS Signature
Gorilla-Studios
Gorilla-Studios
  • Member since: Nov. 18, 2005
  • Offline.
Forum Stats
Member
Level 28
Blank Slate
Response to making 2 songs in a music player Dec. 13th, 2006 @ 02:56 PM Reply

Ok, you need to know a little about linkages to carry out some of the following codes:

Your mute button code:

on (press, release) {
stopAllSounds();
}

On your first music button:

on(press) {
track1 = new Sound(this);
track1.attachSound("sound1");
track1.start(0, 3);
}

On your second music button:

on(press) {
track2 = new Sound(this);
track2.attachSound("sound2");
track2.start(0, 3);
}


Gorilla Studios || A game is like sex, its better when its free

BBS Signature
AlmightyHans
AlmightyHans
  • Member since: Aug. 6, 2004
  • Offline.
Forum Stats
Moderator
Level 11
Filmmaker
Response to making 2 songs in a music player Dec. 13th, 2006 @ 04:54 PM Reply

thanks

thats ll i need :)


BBS Signature