… is measured in milliseconds.
Why do I mention this? Because it seems to have been entirely omitted from the ActionScript live docs and it took me a while to figure it out. Maybe this post will save someone some time in the future. ๐
[UPDATE] I just noticed that this is actually specified in the latest Flex 3.5 language reference, but not in the ActionScript reference. I guess it would be boring if it were too easy, huh?
4 replies on “ActionScript SoundChannel.position”
I always like to cross reference my references when looking up documentation, it’s quick that way ๐
In AS3 FP10 Language Ref it’s clearly explained.
//help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/media/SoundChannel.html#position
[…] – this is useful. As I posted earlier, it returns the position in milliseconds of the sound. For dynamically generated sounds (as in this example), I believe this is the time […]
Really useful! Thanks