[SWFObject] passing variables

Aran Rhee aran.rhee at qdc.net.au
Mon May 22 16:35:14 PDT 2006


Sibrand

When you  addVariable("kleur01", "FF0000"), it is equivalent to adding
kleur01 through flashVars. Do one addVariable call for each var you want to
add and all should be well..


Cheers,
Aran

> -----Original Message-----
> From: swfobject-bounces at lists.deconcept.com 
> [mailto:swfobject-bounces at lists.deconcept.com] On Behalf Of 
> Sibrand Hoekstra | Buyways B.V.
> Sent: Monday, 22 May 2006 7:17 PM
> To: swfobject at lists.deconcept.com
> Subject: [SWFObject] passing variables
> 
> Hello List,
> 
> I am working on an application where the flashcontent is 
> delivered by an external party.
> 
> the swf needs to get some colors and other data, and this is 
> passed [a little ugly imho] as follows:
> 
> <embed 
> src="/stones/nav/nav.swf?urlXML=data/xml/nav.xml&active=1&kleu
r01=FF0000&kleur02=960000&kleur03=FF6000&kleur04=808080" [...] > />
> 
> My question, how do i pass these variables using the almighty 
> swfObject.
> 
> i'm afraid  addVariable("kleur01", "FF0000");  won't work as 
> they aren't FlashVars, right?
> 
> Thanks in advance,
> 
> Sibrand
> 
> -- 
> Sibrand Hoekstra       BuyWays BV            T +31 50 3118123
> sibrand at buyways.nl     Friesestraatweg 217c  F +31 50 3118124
> http://www.buyways.nl  9743 AD  Groningen    M +31 6 41910167
> 
> _______________________________________________
> SWFObject mailing list
> SWFObject at lists.deconcept.com
> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com



More information about the Swfobject mailing list