I am trying to see if I could get some help on a strange situation:
I am developing a desktop application with few window components (like music window, rss feeds, photos window, etc). I am trying to have a checkbox in the "preferences" component which will disable or enable the appropriate window component.
When I am trying to test this checkbox in my application (in either debug mode or 'run' mode) an error is being thrown which I am not able to figure out why this error occurs (though I know its complaining about Null object reference). But when I am building the application with "Export Release Build" option and installing the application on my desktop to test the same checkbox - it works!! I am not sure why this is happening. Any help?
Can you tell me why it's not complaining about Null object when I build the project or how to overcome this problem?
This is the error:
Any idea why this is happening?
Can you post the code at ComponentContainer.as line 48?
Also, make sure the debug SWF is up to date; delete it in bin-debug, make a change to ensure the new one has come up.