How to pass flashvars using swfobject


I have a flash component calling an external xml file configurable via the component inspector (I mean the location of the xml file).

What I need is to pass the xml location as a flashvar variable from the html code. When I debug my flash, I can see the xml variable as

Variable _level0.myBook.extXML = “www.xml

So, I am trying to add the flashvar to swfobject as

so.addParam(“flashVars”,“extXML=sample.xml”); //any xml what i need

It does not work and does not pass the variable.

Please, help. Very urgently.