<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
this is weird, because in the original version, they also include an
xml like this: <br>
<pre> thing.swf?urlXML=/data/xml/nav.xml&kleur01=ff00000 </pre>
when i wanted to load the xml through addVariable("urlXML",
"/data/xml/nav.xml");<br>
my menu[built by xml]  wouldn't show up.<br>
i am now using the huge strings like this:<br>
<pre id="line72"><<span class="start-tag">script</span><span
 class="attribute-name"> type</span>=<span class="attribute-value">"text/javascript"</span>>
   var so = new SWFObject("/stones/nav/nav.swf?urlXML=data/xml/nav.xml&active=1&allowDomainURL=<a class="moz-txt-link-freetext" href="http://www.buyways.nl&kleur01=FF0000&kleur02=960000&kleur03=FF6000&kleur04=808080">http://www.buyways.nl&kleur01=FF0000&kleur02=960000&kleur03=FF6000&kleur04=808080</a>" , "nav", "450", "100", "6", "#ffffff");
   so.write("navigation_main");
</<span class="end-tag">script</span>></pre>
and it works as well.<br>
<br>
(this is ok for me; now i won't have to go through every object tag to
cut n paste each variable passed throughout the whole app :')  )<br>
<br>
Thanks anyway for you responses!<br>
<br>
Sibrand<br>
<br>
<br>
Aran Rhee wrote:
<blockquote cite="mid004201c67df8$61c80e20$2000a8c0@HYPERION"
 type="cite">
  <pre wrap="">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

  </pre>
  <blockquote type="cite">
    <pre wrap="">-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:swfobject-bounces@lists.deconcept.com">swfobject-bounces@lists.deconcept.com</a> 
[<a class="moz-txt-link-freetext" href="mailto:swfobject-bounces@lists.deconcept.com">mailto:swfobject-bounces@lists.deconcept.com</a>] On Behalf Of 
Sibrand Hoekstra | Buyways B.V.
Sent: Monday, 22 May 2006 7:17 PM
To: <a class="moz-txt-link-abbreviated" href="mailto:swfobject@lists.deconcept.com">swfobject@lists.deconcept.com</a>
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
    </pre>
  </blockquote>
  <pre wrap=""><!---->r01=FF0000&kleur02=960000&kleur03=FF6000&kleur04=808080" [...] > />
  </pre>
  <blockquote type="cite">
    <pre wrap="">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
<a class="moz-txt-link-abbreviated" href="mailto:sibrand@buyways.nl">sibrand@buyways.nl</a>     Friesestraatweg 217c  F +31 50 3118124
<a class="moz-txt-link-freetext" href="http://www.buyways.nl">http://www.buyways.nl</a>  9743 AD  Groningen    M +31 6 41910167

_______________________________________________
SWFObject mailing list
<a class="moz-txt-link-abbreviated" href="mailto:SWFObject@lists.deconcept.com">SWFObject@lists.deconcept.com</a>
<a class="moz-txt-link-freetext" href="http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com">http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com</a>
    </pre>
  </blockquote>
  <pre wrap=""><!---->_______________________________________________
SWFObject mailing list
<a class="moz-txt-link-abbreviated" href="mailto:SWFObject@lists.deconcept.com">SWFObject@lists.deconcept.com</a>
<a class="moz-txt-link-freetext" href="http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com">http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com</a>
  </pre>
</blockquote>
<br>
</body>
</html>