1 Reply Latest reply on Aug 25, 2015 1:45 PM by kglad

    The Method cannot be used as a constructor?

    Otakudbz Level 1

      I'm making a quiz game, and I'm using this code to import a sound to repeat in one frame:

      var mysound:Sound = new Effect(); //Name of the sound

      var your_sc:SoundChannel = new SoundChannel;

      var alreadyStarted:Boolean;








      It's working perfectly, but after using the same code almost 6 times (only adding a number to the vars) it says "The Method cannot be used as a constructor".

      What is happening?