





Reddie's entries about webdesign, joomla, wordpress and other experiences.
In my previous post about publishing flash, I gave an example on how to do static publishing. This example uses the same flash, but shows we can also do dynamic publishing with Sourcerer in Joomla content.
Using the same example as last time, the first thing we need to do is generate the embed code for dynamic publishing.
So, going to the SWFObject 2 HTML and JavaScript generator, we again fill in the vars, parms and attributes, and select dynamic publishing.
This is what I filled in.
Now when you hit the "generate" button, this is the html that you get:
{article Dynamic publish of flash - generated html}{title} {text} {/article}
So, waht we're going to do now, is load the js that you see in the header (swfobject plus some flashvars) in the header of our joomla content page and place the myContent div in the article itself, using Peter's example on his forum.
Fot that, we change the html code as generated above a bit to the following:
{article Dynamic publish of flash - sourcecode}{title} {text}{/article}
See a working example here.
Reddie
Verenlandweg 12
7461 AP Rijssen
Tel: +31 (0)6 24 22 46 89
Reddie besteedt veel zorg aan de creatie van deze website, maar kan de correctheid van de informatie niet garanderen. De gebruiker moet er van bewust zijn dat de informatie kan veranderen zonder dat hij daarvan vooraf op de hoogte wordt gebracht. Reddie kan niet aansprakelijk worden gesteld voor de inhoud van de site of voor het gebruik dat hiervan wordt gemaakt.
Laat uw reactie achter