View Single Post
  #33  
Old 01-24-2008, 02:40 AM
bscharff bscharff is offline
Bloo
bscharff's Avatar
Join Date: Sep 2006
Location: San Antonio, Texas
Posts: 185
bscharff has a little shameless behaviour in the past
Send a message via AIM to bscharff Send a message via MSN to bscharff Send a message via Yahoo to bscharff
With the new callstack function, we could easily do some sort of protection.

Stefan could add some sort of onStrChanged(str, str, obj, str)
params[0] could be the string being modified
params[1] could be the new string value
params[2] could be the object that is changing it
params[3] could be the old string value

Then add a check like if onStrChanged() is in the object's functions (the one with the string being modified - to relieve any possible confusion) then run through the function, otherwise, just modify the string without any nonsense.
__________________
Trying to be nice now...
Reply With Quote