>create an Audio object that uses flash or<br>>plugin media players in the background for backwards compatibility<br>Yes, that's right.<br><br>Since it exists "new Image()" new Audio() seems familiar. <br>
<br>Thanks for your advise.<br><br><div class="gmail_quote">2009/6/4 Lucian Branescu <span dir="ltr"><<a href="mailto:lucian.branescu@gmail.com">lucian.branescu@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
For sound, you'll either have to find a wrapper that can use both<br>
<audio> and flash or use <audio> (or more precisely use it with<br>
scripting, new Audio()) and create an Audio object that uses flash or<br>
plugin media players in the background for backwards compatibility<br>
(which can use soundmanager or whatever else you like).<br>
<br>
2009/6/4 Felipe López Toledo <<a href="mailto:zer.subzero@gmail.com">zer.subzero@gmail.com</a>>:<br>
<div><div></div><div class="h5">> nice example<br>
><br>
> it has a tween.js with easing equations - excellent<br>
><br>
> about the sounds (here is the tricky part)<br>
> it uses soundmanager2 <a href="http://www.schillmania.com/projects/soundmanager2/" target="_blank">http://www.schillmania.com/projects/soundmanager2/</a><br>
> really really useful....but it depends on a swf file (soundmanager2.swf) in<br>
> the background.. so, if you don't have the flash plugin the sounds don't<br>
> work :(<br>
><br>
> here is more information about the flash based solution<br>
> <a href="http://www.boutell.com/newfaq/creating/scriptsound.html" target="_blank">http://www.boutell.com/newfaq/creating/scriptsound.html</a><br>
><br>
> there is also other flash audio wrappers<br>
> like JS Sound Kit <a href="http://jssoundkit.sourceforge.net/" target="_blank">http://jssoundkit.sourceforge.net/</a><br>
><br>
> also, I found a (ugly) java applet solution :S<br>
><br>
> and jQuery has its own sound plugin <a href="http://plugins.jquery.com/project/sound" target="_blank">http://plugins.jquery.com/project/sound</a><br>
> that was useless<br>
><br>
> so....<br>
><br>
> why not to use <audio>?<br>
><br>
> here it is :) <a href="http://karma.sugarlabs.org/can_cant/" target="_blank">http://karma.sugarlabs.org/can_cant/</a><br>
> btw It's simpler than the others<br>
><br>
><br>
> 2009/6/3 Lucian Branescu <<a href="mailto:lucian.branescu@gmail.com">lucian.branescu@gmail.com</a>><br>
>><br>
>> Very interesting, especially because of its browser support.<br>
>><br>
>> 2009/6/3 Bryan Berry <<a href="mailto:bryan@olenepal.org">bryan@olenepal.org</a>>:<br>
>> > <a href="http://static.boundvariable.com/space-invaders/" target="_blank">http://static.boundvariable.com/space-invaders/</a><br>
>> ><br>
>> > does most of the animation that we need using raphaeljs, which uses svg<br>
>> > and not canvas <a href="http://www.raphaeljs.com" target="_blank">http://www.raphaeljs.com</a><br>
>> ><br>
>> > --<br>
>> > Bryan W. Berry<br>
>> > Technology Director<br>
>> > OLE Nepal, <a href="http://www.olenepal.org" target="_blank">http://www.olenepal.org</a><br>
>> ><br>
>> > _______________________________________________<br>
>> > Sugar-devel mailing list<br>
>> > <a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a><br>
>> > <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
>> ><br>
><br>
><br>
</div></div></blockquote></div><br>