Do you know why when publishing the trainer, the game does not show? When testing it is fully working, but when i publish it and try it. The hack is functional but the game its fully black screen.
When you say publish, are you opening the separately produced .swf file in a version of Flash Player?
The likelihood is that the Flash Player instance you're using within Flash Professional is updated, but the standalone Flash version you're using to run the separate .swf is outdated.
Basically, you might need to update your Flash Player. Or you've accidentally set the Game's visibility to false, but that would hide the game whilst testing or publishing.