I have this Jscript code I’m trying to convert in C# :
…
var audioEvent : AudioEvent = AudioEvent(evnt);
…
It work fine.
In C#, I’m trying this (and it don't work):
…
AudioEvent audioEvent = AudioEvent(evnt);
…
I don’t understand What I’m doing wrong.
Thx for your help.