[SIZE=3][FONT=Times New Roman]Dear all,[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman]I want to know if it is possible to attach a sound using a variable as the name of the class. For example[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman]Normal way[/FONT][/SIZE]
var mySound:embeddedSound = new embeddedSound ()
[SIZE=3][FONT=Times New Roman]What I need[/FONT][/SIZE]
var newSound:string = “embedded Sound”
var mySound:newSound = new mySound()
[SIZE=3][FONT=Times New Roman]Is this possible?[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman]Thanks in advance[/FONT][/SIZE]