[Tweener] as3 sound tween get volume

lp lporiginalg at hotmail.com
Wed Aug 26 15:37:09 PDT 2009


ah thanks I thought it was something simple like that I'm just really new to as3 and didn't realize I could check the soundTransform without using the identifier name, thanks!

Lyndon


From: Zeh Fernando 
Sent: Wednesday, August 26, 2009 6:11 PM
To: tweener at lists.caurinauebi.com 
Subject: Re: [Tweener] as3 sound tween get volume


Check <SoundChannel>.soundTransform.volume, that'll give you the current volume (0-1) of that specific sound channel at any time.

Zeh


On Wed, Aug 26, 2009 at 5:56 PM, lp <lporiginalg at hotmail.com> wrote:

  Hi I have a question about using tweener on sounds in AS3. How can I check the current volume of the tween? I have made a crossfade function using tweener but if the user pauses the player during a crossfade I need to stop both sound channels and pause the tween then resume it all when they unpause. The issue is that when you stop then start a channel it resets the volume to one so I need to check what the current volume status of the tween was when paused so I can reset the channel to that volume so the crossfade can pick up from where it left off.

  Thanks!
  Lyndon Perry

  _______________________________________________
  Tweener mailing list
  Tweener at lists.caurinauebi.com
  http://lists.caurinauebi.com/listinfo.cgi/tweener-caurinauebi.com






--------------------------------------------------------------------------------


_______________________________________________
Tweener mailing list
Tweener at lists.caurinauebi.com
http://lists.caurinauebi.com/listinfo.cgi/tweener-caurinauebi.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.caurinauebi.com/pipermail/tweener-caurinauebi.com/attachments/20090826/925c3d39/attachment.htm>


More information about the Tweener mailing list