Jump to content
GreenSock

rgmartino

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by rgmartino

  1. I want to control a fade out of a sound object. I try this but doesn't work. Can someone help? import gs.*; import gs.easing.*; TweenLite.to(soundOne, 2, {volume:0}); var req:URLRequest = new URLRequest("firstloop.mp3"); var soundOne:Sound = new Sound(); function soundloaded(event:Event):void { soundOne.play(); } soundOne.addEventListener(Event.COMPLETE, soundloaded); soundOne.load(req);
×