first, simple solution: make noteToCase public static bindable (if it can be static), and bind visibility, etc in mxml.
second, cleaner: create a viewmodel for your mxml, either in as, either in script, in the viewmodel you can use addElement, etc on your mxml, and call the viewModel when noteToCase changes, etc via a setter.