2 Replies Latest reply on Dec 11, 2006 8:24 AM by Devendran

    How to make something happens after 2 seconds of my mp3 audio plays

      I want o play a movieclip after 2 seconds of my audio in mp3. How can I detect this? I try to use "duration" but doesn´t run. Any suggestion?

      var my_sound:Sound = new Sound();
      my_sound.loadSound("audio/tela_de_abertura.mp3", true);

      if (my_sound.duration == 2000) {

      What is wrong?