this are the best links that ive learned hrrl on them:
html : http://www.w3schools.com/html/html_intro.asp
for flash gaming you have to learn how to design and how to action.
you have to learn action script 2
start with how to design simple sings(loading, buttons, movieclips, and simple Actions such as: goto stop, load movie, "Generla Section") http://www.w3schools.com/flash/flash_intro.asp
you can also go to lynda.com and buy the some DVD video tutorial.