howto: change soundfiles via script?

I've been messing about with this for a while, and just can't get it 
going, in brief:

<svg xmlns:a="http://www.adobe.com/svg10-extensions";
a:timeline="independent" >

<a:audio id="soundfile" xlink:href="ding.wav" 
begin="symbolsound.mouseover" />

mySound=document.getElementById("soundfile")
mySound.setAttributeNS(xlinkNS,"xlink:href","splat.wav")

--

I set up a test file here: http://www.peepo.co.uk/temp/test-sound.svg

it should play splat.wav, as the cursor first moves over a background 
which should change the sound file.
however this code still plays ding.wav

Jonathan Chetwynd
http://www.peepo.co.uk     "It's easy to use"
irc://freenode/accessibility



------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/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/
 

Reply via email to