Page 1 of 1

LayerAsAudio not working?

Posted: Wed Mar 10, 2010 1:44 pm
by bibbinator
Hi,
This is my first post. Hopefully I will have followed all the rules :-)

I'm trying to use LayerAsAudio in version 6.0 and it always returns nil even though the IsAudioType() is returning true.

I searched the forums and found only one post with this mentioned here.

Is this expected? I'm trying to retrieve the audio file used using AudioFile() on the layer, but without a valid layer I can't do it.

Thanks,
Brett

Posted: Thu Mar 11, 2010 12:11 am
by Rudiger
Yeah, this turned out to be a bug in version 6.0, but Mike fixed it for version 6.1. Just download the latest version (6.2 has just been released!) and it should work the way it should.

Posted: Thu Mar 11, 2010 5:17 am
by bibbinator
Doh! Updates. Mmmm.... Thanks!