Dear list,
the following code is functioning. Is there a more elegant solution?

on aMenuClicked menuName, clickLine, menuSprite

global mp3files,wavfiles

case menuName of 


"mp3songdisplay" 


importFileInto member (26),(mp3files[clickLine])

"wavsongsdisplay"

importFileInto member (26),(wavfiles[clickLine])

end case


sound(1).play(member(26))

end

wobbly


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.343 / Virus Database: 190 - Release Date: 22/03/2002


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to