how to pass flashvars to standalone flash activex module

I am embedding a standalone flash(activex) module in my program to
show some flash resources.The flash show successfully,but when I try
to pass it some arguments,I got stuck,I am trying following to pass
flashvars to flash but no success:

self.flash.FlashVars="verify=36132562_1062_36132562_1260777876_abbdc24892063719b71b3bd37270a58c"
or
self.flash._set_FlashVars
("verify=36132562_1062_36132562_1260777876_abbdc24892063719b71b3bd37270a58c")

after I set the FlashVars,I try print self.flash.FlashVars,the output
is ok,but the swf just didn't get the correct argument,following is
the swf source to accept the argument:

            this.verify = loaderInfo.parameters["verify"];

I am using flash 10 on win xp,and that flash runs ok on the browser
with following embed statement

<embed width="808" height="544"
flashvars="verify=36132562_1062_36132562_1260898771_02d1d850f380e5f21853c4514923243b"
src="http://some.web.site/garden-113.swf"/>

is there anything I missed or changed?thanks a lot

I am embedding a standalone flash(activex) module in my program to
show some flash resources.The flash show successfully,but when I try
to pass it some arguments,I got stuck,I am trying following to pass
flashvars to flash but no success:

self.flash.FlashVars="verify=36132562_1062_36132562_1260777876_abbdc24892063719b71b3bd37270a58c"
or
self.flash._set_FlashVars
("verify=36132562_1062_36132562_1260777876_abbdc24892063719b71b3bd37270a58c")

after I set the FlashVars,I try print self.flash.FlashVars,the output
is ok,but the swf just didn't get the correct argument,

Look at the definition of that property:

     flashvars = property(_get_FlashVars, _set_FlashVars)

Python is case-sensitive so you would need to use the lower-case name to be able to set the value using the property. However that should be the same as calling _set_FlashVars so if that is also not working then I
am stuck too. I don't know enough about how Flash works internally to be of any more help.

following is

the swf source to accept the argument:

             this.verify = loaderInfo.parameters["verify"];

When is this code executed? When the flash object is loaded or sometime later? I'm wondering if it is a chicken/egg problem. If it's trying to use the value before the time that the python code that sets it is called, then using the right property name wont help much.

···

On 12/15/09 7:55 PM, jerry wrote:

--
Robin Dunn
Software Craftsman