How to structure a full flash actionscript 3 web site tutorial CS3 + CS4 – Part 2



4 thoughts on “How to structure a full flash actionscript 3 web site tutorial CS3 + CS4 – Part 2

  1. blindsay21

    if ur using AS3 then use addEventListener
    var sndID:URLRequest = new URLRequest(“-insert url for sound here-“);
    var Snd:Sound = new Sound(sndID);

    mpla.addEventListener(MouseEvent.CLICK, plySnd);

    function plySnd(e:MouseEvent) {
    Snd.play();
    }

    //try using something to that effect. i think that should work.

  2. SwordSkill2

    Do you know hot to make a movieclip when is being in hitTest to play a sound???
    I tryed this: if(_root.mpla.hitTest(this)){load(Sound)}
    but didn’t worked.. Do you know the code for playing sounds?

Leave a Reply