Learn to program in Flash.
Oh, wow, you're helpful.(SARCASM)
and be able to produce the art, and secure usage rights under the copyright.
Then find a distributor -- like popcap, armor games, etc -- and have them package your coded game into their distribution system so people could actually use and or buy it.