d119f68c29
FileX, the existing code (which uses lua globals) works again.
10 lines
252 B
XML
10 lines
252 B
XML
<ActorFrame><children>
|
|
<Layer
|
|
File="File1"
|
|
InitCommand="%function(self) self.Color = Color1; end"
|
|
OnCommand="scale_or_crop_background;diffuse,color(self.Color)"
|
|
GainFocusCommand="Play"
|
|
LoseFocusCommand="Pause"
|
|
/>
|
|
</children></ActorFrame>
|