Passing variables to javascript?

I want to change the variable on release event from flash.

This is my javascript code

this.SWF_VARS = {
// XML Location and Assets
theXML_location:“autos_others.xml”,
cssLocation:“comedy_stylesheet.css”,
dl_xml_location:“dl_comedy.xml”
}

I tried

on (release) {
fscommand (“autos_manufacturer.xml”, SWF_VARS[theXML_location]);
}

Why this is not working?