PDA

View Full Version : Why this lua code is not ok ?



sonata31
November 8th, 2007, 03:17 AM
I have a button with this lua code :

NetRemote.SetVariable('NR.F.wifi', 1);
NetRemote.Sleep(500);
NetRemote.SetVariable('NR.F.wifi', 2);
NetRemote.Sleep(500);
NetRemote.SetVariable('NR.F.wifi', 3);
NetRemote.Sleep(500);
NetRemote.SetVariable('NR.F.wifi', 0);
NetRemote.Sleep(500);

The NR.F.wifi variable is linked with four frames :
Frame0 is visble when NR.F.wifi = 0
Frame1 is visble when NR.F.wifi = 1
Frame2 is visble when NR.F.wifi = 2
Frame3 is visble when NR.F.wifi = 3

When I press the button only the last frame is showed, never the others

Why ?

Ron
November 8th, 2007, 10:05 AM
Answer in this thread...
http://www.promixis.com/forums/showthread.php?t=17615