|
|
You don't need the repeat loop. That's what is trying up your movie. Are you
attempting to do this in a movie script window or as a behavior?
The simplest solution is to write one behavior and attach it to each button
instance on the stage. You could do something as simple as this:
property thisSprite
property callout
on beginSprite me
thisSprite = me.spriteNum
end
on getPropertyDescriptionList me
myPropList = [:]
myPropList.addProp(#callout,[#comment:"select the number for this
button:",#format:#integer,#range:[#min:1,#max:10],#default:1)])
return myPropList
end
on mouseUp me
put callout
end
Or, you could just put the current sprite number: "put thisSprite".
In any case, the behavior will do the waiting for you.
|
|