[SWFObject] Standard Embed to SWFObject Converter

Aran Rhee aran.rhee at qdc.net.au
Mon Dec 4 21:45:16 PST 2006


Steve.

A Simple flashvars test works well. 

You will need to replace < and > chars with a string replace like [--tera.amp.hack--], as it crashes your parser (being xml based as you said)

Other than that, it's looking good :)  

Cheers,
Aran

> -----Original Message-----
> From: swfobject-bounces at lists.deconcept.com 
> [mailto:swfobject-bounces at lists.deconcept.com] On Behalf Of 
> Steve Kamerman
> Sent: Tuesday, 5 December 2006 2:35 PM
> To: swfobject at lists.deconcept.com
> Subject: Re: [SWFObject] Standard Embed to SWFObject Converter
> 
> Aran - I've got the code working with FlashVars and I think 
> I'll add some custom fields as you suggested later tonight.  
> I ran into a problem with PHP's simpleXML function - it will 
> crash if there is an ampersand in a parameter value, but I 
> hacked my way around it, so it works fine :D.  Let me know if 
> you have any trouble with it!
> 
> Thanks,
> Steve
> 
> http://devel.teratechnologies.net/swfhelp/
> 
> ________________________________________
> From: swfobject-bounces at lists.deconcept.com 
> [mailto:swfobject-bounces at lists.deconcept.com] On Behalf Of Aran Rhee
> Sent: Monday, December 04, 2006 7:29 PM
> To: swfobject at lists.deconcept.com
> Subject: Re: [SWFObject] Standard Embed to SWFObject Converter
> 
> Steve.
>  
> This is cool, especially for people that have to convert lots 
> of legacy code to swfObject.
>  
> Personally, I'd like to see some sort of "advanced" config 
> area, where you could set things like the name of the div you 
> wanted to write into, or a whole bunch of inputs, check boxes 
> / radio's for setting params like wmode, color, flash version  etc.
>  
> Having a flashvars converter would be on the top of my list 
> as well. Shouldn't be too hard since it is just ampersand delimited.
>  
>  
> Cheers,
> Aran
> 
> ________________________________________
> From: swfobject-bounces at lists.deconcept.com 
> [mailto:swfobject-bounces at lists.deconcept.com] On Behalf Of 
> Steve Kamerman
> Sent: Tuesday, 5 December 2006 7:50 AM
> To: swfobject at lists.deconcept.com
> Subject: [SWFObject] Standard Embed to SWFObject Converter I 
> wrote a script to convert the plain-jane OBJECT/EMBED code 
> made by Flash to SWFObject compliant code – I think it’s 
> pretty slick so I thought I would post it for you all: 
> http://devel.teratechnologies.net/swfhelp/
> 
> Right now it is very simple, and it doesn’t support Flashvars 
> parameters, but if there is enough interest in this code, 
> I’ll keep working on it ☺
> 
> Steve Kamerman
> Director of IT
> Tera Technologies
> www.teratechnologies.net
> 
> 
> _______________________________________________
> SWFObject mailing list
> SWFObject at lists.deconcept.com
> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
> 



More information about the Swfobject mailing list