Here you will find some of the errors that come up when trying to compile and run an iHart program and how to deal with them.If you are getting this error, your program doesn't see the iHart libraries. To fix this you need to go to File => Publish Settings..., then you need to go to advanced settings (which can sometimes be marked only by a picture of a wrench). In advanced settings under the tab called Source path you need to add the path to the flash directory within your Applications directory.
#1046: Type was not found or was not a compile-time constant: CVEvent.
#2010: Local-with-filesystem SWF files are not permitted to use sockets.
This error has to do with Flash Player security settings. You can read more about this problem at the Adobe Flash Player Help website. To fix this issue
open your Flash Player and right click into the middle of the window to bring up the Flash Player Settings...
Now click on the image of the question mark in the upper right corner. You will be taken to a website with advanced settings. Choose Global Security Settings Panel on the left.
On the Global Security Settings Panel choose Edit locations... => Add location... => Browse for folder..., then specify the address of your iHart folder similarly to what is pictured above. Now your error should be fixed.
Developer Resources >