PDA

View Full Version : event listner when variable changes


quincewyss
12-13-2005, 07:56 PM
how do I call an event listner to react when a variable is changed?

Thanks!
Quince

acolyte
12-28-2005, 03:02 PM
http://www.actionscript.org/forums/showpost.php3?p=428307&postcount=18

Xeef
12-29-2005, 02:24 PM
i woud sugest to look up "watch"

quincewyss
12-30-2005, 03:26 PM
Thanks I already got this to work. A watch didn't work well, because of where the var was in relation to the duplicated movieclip that was repeatedly used. I used an event listener and a for loop on event to turn my edit function on and off in all duplicated movieclips(like an array).