Any thoughts on this?

Hello again everyone!

I have an easy question for you all. I can't find the answer to this question anywhere...

I guess the subject of this email says it all. How do I "[Disable] autoplay for audio (MP3) resources"?

I've tried:
autoplay="false"
play="false"
this.stop() in several different onXXX handlers

Nothing I can do seems to have any effect! There must be a way to do this. Please help! :) Thanks!

(FWIW, I'm dynamically setting the view's resource to an MP3 file via this.setResource().

TIA,
-Rich

P.S. Here's a little test case for you to experiment with:


<canvas width="100%" height="100%" debug="true">
   <simplelayout axis="y"/>
<view name="blah" play="false" resource="http://featurific.com/files/tmp/shiver.mp3"; width="100%" height="100%" bgcolor="black">
       <handler name='oninit'>
           this.stop()
       </handler>

       <handler name='onload'>
           Debug.write("LOAD!")
       </handler>
<handler name='onclick'>
           this.stop()
       </handler>
</view>

</canvas>

Reply via email to