Need help with "if" in Flash AS3
Hi to every 1 need your help with "if" in Flash AS3, it should be like this:
 

> **if sound play go to frame 1 and if sound doesn't play go to frame 2**

    if (SoundMixer.soundTransform=new SoundTransform(1);)
    {
    gotoAndStop(1);
    }else{
    gotoAndStop(2);
    }


how to make it work, thanks
Need help with "if" in Flash AS3
===

Hi to every 1 need your help with "if" in Flash AS3, it should be like this:
 

> **if sound play go to frame 1 and if sound doesn't play go to frame 2**

    if (SoundMixer.soundTransform=new SoundTransform(1);)
    {
    gotoAndStop(1);
    }else{
    gotoAndStop(2);
    }


how to make it work, thanks