Brak Newbie
Joined: 24 May 2007 Posts: 1
|
Posted: Fri May 25, 2007 9:37 am
Problems with Variable expansion in Multistate buttons |
Hi folk!
I'm having some problems with the configuration of my zmud7.21 imported to cmud. here is the situation:
Classexample
subclass1
subclass2
MultistateButton
state1
#class {@clase} 0
#var clase {subclass1}
#class {@clase} 1
state2
#class {@clase} 0
#var clase {subclass2}
#class {@clase} 1
clase <-- variable
If i write #var clase from the prompt I get this:
Variable: + clase (String) subclass1
and writing #echo @clase I get
subclass1
But if I write those two lines in each state of the multistatebutton : #var clase and #echo @clase when i click them get this information:
Variable: + clase (String) 1
1
Any one can help me? dont undertand why from the command/prompt line i get the correct value and placing the code inside a macro/alias/multistatescript not.
maybe is a dummy error but i've been dealing with it for time without realizing the way of correct it.
thx in advance |
|