I have a script, as an exsample, lets say its.
for i = 0 to 10 by 1 do print i
what is the difference between running it as it is, and running it from inside a rollout button like
rollout Count "count" width: 100 height:100
(
button countbutton "count it" pos....
on countbutton pressed do
(
for i = 0 to 10 by 1 do print i
)
)
My script is a lot longer than this but if I run it raw as in the first example, it works perfectly. But if I just cut and paste it into a button only parts of the script works. I did not realize that it would behave any different.
Any ideas?
Anubis · 2013-02-16
miauu · 2013-02-14