Groups | Blog | Home
all groups > flash actionscript > april 2006 >

flash actionscript : set() function not woking with evaled params


Verstile
4/11/2006 11:36:08 PM
I have a similar problem now with the set () function.

set("_level.Oslo.isLocal", false); WORKS FINE

i have a function that receives a param I eval it and then

set("_root.isLocal", false); does not work.. I have tried _level0.isLocal ....
but still not...

kglad
4/12/2006 12:54:51 AM
try:


set(_root[cityV].isLocal, false);

or better:

Verstile
4/12/2006 12:58:06 AM
ok ill try the lasr one... i had to do this

set("_root."+cityV+".isLocal", false); works great

kglad
4/12/2006 1:22:00 AM
AddThis Social Bookmark Button