15 Replies Latest reply on Jun 8, 2011 8:49 PM by kglad

    Rollover buttons to play sound using "loadSound"


      Hi, there


      I am seeking help with the following AS2 code. The target effect: Rolling over each of the two buttons on the main stage plays different sound. The code below works. However, I need to embed it in another application (Articulate) which doesnot allow the use of "_root" and "attachSound". I was recommended to use "loadSound" instead. However, not a coding person, I am at a loss.


      Can anyone help me to change the script below to remove "_root" and "attachSound" and use "loadSound" instead? Thanks so much!


      var mySound:Sound = new Sound();
      mcButton5.onRollOver = function() {


      var mySound:Sound = new Sound();
      mcButton6.onRollOver = function() {