Test stack for Gif animation and Background Patterns

BNig niggemann at uni-wh.de
Tue May 10 15:43:56 EDT 2011


Hi Alejandro,

tested your stack in Livecode 4.6, MacOSX 10.6.7, MacBook Pro Intel i5 2.53
GHz

Processor usage in full stack size 1920x1200 37% 
no crash but unresponsive stack.

changed:
 repeat until the mouse is down
--  code
  wait tFrameDelay millisecond with messages
-- code
  wait 0 milliseconds with messages
  end repeat

I think the way you coded it you choked Livecode since it had no chance to
do a cleanup in the repeat loop. 

With the changes I made the stack is responsive and the animation stops as
soon as the mouse is down. Previously the mouseClick did not stop the
animation for me.

I still would do this rather in a send in time manner instead of a repeat
loop.

Kind regards

Bernd

--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Test-stack-for-Gif-animation-and-Background-Patterns-tp3512698p3512829.html
Sent from the Revolution - User mailing list archive at Nabble.com.




More information about the use-livecode mailing list