private var audio:Sound;
audio = new Sound();
.
.
.
.
audio.load(new URLRequest(FILENAME));
audio.play();
while executing this code, i’m getting the following error.
- type was not found or was not a compile time constant.Sound
- call to a possibly undefined method Sound.
- call to a possibly undefined method URLRequest.