[Tweener] as3 sound tween get volume
Zeh Fernando
zeh at zehfernando.com
Wed Aug 26 15:11:02 PDT 2009
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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.caurinauebi.com/pipermail/tweener-caurinauebi.com/attachments/20090826/6f485c95/attachment.htm>
More information about the Tweener
mailing list