"Jeff Schiller" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >Shouldn't you be putting this in a try,catch block? :P
He meant it when he said he was a cook! > <?xml version="1.0"?> > <svg xmlns="http://www.w3.org/2000/svg" width="4em" height="4em" > viewBox="0 0 100 100"> > <rect x="25" y="25" width="50" height="50" onclick="singIt()"/> > <script type="text/ecmascript"> <![CDATA[ try { > var sound = new Audio("some.mp3"); } catch(e) { sound=null } > function singIt() { try { > sound.play(); } catch (e) {} > } > ]]></script> > </svg> Jim. ------------------------ Yahoo! Groups Sponsor --------------------~--> Protect your PC from spy ware with award winning anti spy technology. It's free. http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/1U_rlB/TM --------------------------------------------------------------------~-> ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/