Small Engines (Lawn Mowers, etc.): wont start, fly wheel, back fire


Question
I have a DYT 4000 craftsman with a 18.5 briggs 31P7770348E1
I was having charging issues and found the stater to be fried.
I ordered a new one it came in fit perfect.made sure I put the flywheel back right and keyway.....

the tractor always ran good even when not charging....the only thing it will do is pop a backfire evey so often like its out of time.....but I don't know how this could be the flywheel only goes one way.

the only thing I did different was was down the block with a water hose when I had the fly wheel off plus flush out the magnets under the flywheel......I sealed off the carb...could my coil be wet.....I pulled the plug and with it laying against the block I see good fire as it turns over.....thought maybe by chance I had water in the bowl so I removed it draining it....the
back fire solenoid seems to be clicking with the key switch.

still seems like its out of time?.......wont even run at all.

please help...
thanks charles

Answer
Did you torque the flywheel nut?  If you have spark, and the fuel is good, carb is clean, then I would suspect the flywheel key.  

Was there a washer under the flywheel nut?  

Re-check the flywheel key and spark.  If both are alright then try to start the engine by priming with fuel or starting fluid.

Let me know what you find.

Eric