Jump to content
Search Community

rgmartino

Members
  • Posts

    2
  • Joined

  • Last visited

rgmartino's Achievements

0

Reputation

  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);
×
×
  • Create New...