no, just trace anything in the constructor to make sure you've assigned the document class correctly:
trace("HI");
although if your trace didn't generate an error, you can already conclude you are not using CameraTest as your document class correctly.
click an empty part of your stage or the back stage and, in the properties panel, where it says Class, type CameraTest