Hi Tim,

no script needed. You can simply define a value-list for the begin
attribute: begin="0s;playButton.click"

sample at:
http://www.zuccaralloo.de/devgroup/samples/sound.svg

download at:
http://www.zuccaralloo.de/devgroup/?m=messages

Regards-
-Heiko



--- In svg-developers@yahoogroups.com, "tim_anglade"
<[EMAIL PROTECTED]> wrote:
> 
> Hi,
> 
> I'm trying to use sounds with ASV6. I know how to launch a sound at
> startup or when a "button" is clicked, but my problem is, I'd like to
> do  both.
> 
> Example : a startup music that begins as soon as the svg is loaded.
> The user can then click a "stop" button to make it stop (I know how to
> go that far), but I would like to implement a "play" button to make
> the music start again. Logicaly, I can't put two "begin" properties in
> one  "sound" element. Maybe I could use javascript, but I don't know
> much about it..
> 
> 
> Any help would be greatly appreciated.
> 
> Thanks in advance,
> Tim.





-----
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