Hi list, I wanted to announce a new Flash asset insertionplugin. I know there is already sfSwfObjectHelperPlugin and sfSIFRPlugin, but after releasing sfUJSPlugin, I thought that it was a pity to use an additional library redoing a DOM selector, when jQuery's selector is already very good. The plugin packages the jQuery.flash JavaScript plugin (which is still very young) and provides new helpers to insert Flash Objects unobtrusively. Here are a few examples: Replacing a link to a Flash Object by the embedded object itself <a class="swf" href="/swf/example.swf">click me to see a flash movie</a> <?php UFO_flashify('.swf') ?> Will result in the following DOM: <span class="flash-replaced"> <embed width="320" height="240" type="application/x-shockwave-flash" src="/swf/example.swf" pluginspage=" <http://www.adobe.com/go/getflashplayer> http://www.adobe.com/go/getflashplayer" flashvars=""/> <a class="swf alt" href="/swf/example.swf">click me to see a flash movie</a> </span> Replacing text content by nice fonts in Flash (sIFR) <p class="sIFR">Hi <a href="toto.html">mates</a>!</p> <?php UFO_style('.sIFR', 'swf/itc_century.swf', "linkcolor: '#0000FF'") ?> There are more examples in the plugin page: http://trac.symfony-project.com/trac/wiki/sfUFOPlugin All comments are welcome. Cheers, François
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---