PDA

View Full Version : editing checkBox class


devonian rabbit
05-03-2004, 04:53 PM
I have some checkboxes in a datagrid using the checkcellrenderer, and I'm having problems getting them to do what I want when they are checked or unchecked. I've come up with a partial solution using the datagrid's "modelchanged" method, but that only works right when I'm not using databinding.

So, I've been told that the best way to do what I want, is to create a function in my movie, and then edit the checkBox class to call the function in the movie whenever any of the checkboxes are clicked. However, I have no experience working with classes, and I can't seem to figure out how to do this just by messing around with it.

So, can anyone tell me how and where in the checkBox class file I should call the function that is in my movie? [ie. gridCheckFunction();]

also, how exactly do I load this class into my movie? and will this version of the checkBox class only be active in the swf in which it is loaded, or will it also be used automatically in other swfs in my interface?


thanks,

richard