Question: I have created this:

```
var where = function(){
  sym.getSymbol("Man").getPosition()
}
console.log(where);

if (where()<=0){
  var playMan = sym.getSymbol("Man").play();
} else {
  var playMan = sym.getSymbol("Man").playReverse();
}

```

This is for Edge Animate hence all the syms. I am trying to access the timeline of symbol Man, then if it is at 0 play it. But it isnt working and the reason, I think, is that I have an incomplete understanding of how a var works. In my mind I am giving the variable 'where' the value of the timeline position of symbol 'Man'. In reality the console is just telling me I have a function there, not the value of the answer. I have run into this before and feel if I can crack it I will be a much better human being.

So if anyone can explain in baby-language what I am misunderstanding I would be grateful.

Thanks

S

Answer: 
Try to temporarily unsubscribe from the `CheckedChanged` event:

```
m_chkEdit.CheckedChanged -= m_chkEdit_CheckedChanged;
m_chkEdit.Checked = ...; // <-- Restore checked status from registry here
m_chkEdit.CheckedChanged += m_chkEdit_CheckedChanged;

```
I would use some flag. This flag would be set to false in parent constructor and to true in OnShown event. In your m\_chkEdit\_CheckedChanged you would check this flag and open the child window only when flat is true. Thus you can set m\_chkEdit in Load event.

Or second solution
Just register m\_chkEdit\_CheckedChanged after checkbox is set to proper value