use LuaThreadVariable

This commit is contained in:
Glenn Maynard
2006-11-02 05:42:47 +00:00
parent 592c27996d
commit 524b2418c7
13 changed files with 36 additions and 43 deletions
@@ -1,7 +1,7 @@
<ActorFrame><children>
<Layer
File="File1"
InitCommand="%function(self) self.Color = Color1; end"
File="Var 'File1'"
InitCommand="%function(self) self.Color = Var 'Color1'; end"
OnCommand="scale_or_crop_background;diffuse,color(self.Color)"
GainFocusCommand="Play"
LoseFocusCommand="Pause"