[SWFObject] flashvars html

Geoff Stearns geoff at deconcept.com
Tue Oct 10 12:30:27 PDT 2006


sure you can pass in html:

so.addVariable("somehtml", "<p>hello this is a paragraph!</p>");

you just have to be sure and escape all the strange characters that  
might pop up in there, so you can use escape() or encodeURIComponent 
() with it if you want:

so.addVariable("somehtml", escape("<p>hello this is a paragraph!</p>"));


On Oct 10, 2006, at 3:15 PM, Peter Zanetti wrote:

>
> is there a way to pass html content into the flashVars variable
>
> for example break a long string into paragraphs or add an anchor?
>
> Pz
>
>
> _______________________________________________
> SWFObject mailing list
> SWFObject at lists.deconcept.com
> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com




More information about the Swfobject mailing list