Director: repeat loop problem
Monday, September 19th, 2005 by Carsten SchneiderI am updating a ten year old project so it runs on OS X.
To get optimal performance I kept everything inside one big repeat loop, with smaller repeat loops nested inside (e.g. while the mouseDown, etc.), instead of using go to the frame.
It seems though that now this is seen by the operating system as an unresponsive process, and therefore produces the ‘wait’ cursor.
You can test this with a very basic script:
on exitFrame me
repeat while 1=1
cursor 200
updateStage
end repeat
end
I’m not really up for stripping the code from all the repeat loops (i.e. rewriting everything), if you have a workaround let me know.



