flash docs recognize a keystroke?

There is a flash game on the web where it test to see how fast you can type a - z.
just for programming kicks i tried to right an extremely simple script to do it for me whhich looks like this:

tell application "System Events"
	keystroke "a"
	keystroke "b"
	keystroke "c"
	keystroke "d"
	keystroke "e"
	keystroke "f"
	keystroke "g"
	keystroke "h"
	keystroke "i"
	keystroke "j"
	keystroke "k"
	keystroke "l"
	keystroke "m"
	keystroke "n"
	keystroke "o"
	keystroke "p"
	keystroke "q"
	keystroke "r"
	keystroke "s"
	keystroke "t"
	keystroke "u"
	keystroke "v"
	keystroke "w"
	keystroke "x"
	keystroke "y"
	keystroke "z"
end tell

Unfortunately it just does nothing, is it because it’s a flash game that it wudn’t handle the keystroke cmmand?
because the game automatically starts once you press “a”

Try something like this. lol

tell application "Safari" to activate
tell application "System Events"
	tell application process "Safari"
		keystroke (ASCII character 9)
		keystroke "a"
		keystroke "b"
		keystroke "c"
		keystroke "d"
		keystroke "e"
		keystroke "f"
		keystroke "g"
		keystroke "h"
		keystroke "i"
		keystroke "j"
		keystroke "k"
		keystroke "l"
		keystroke "m"
		keystroke "n"
		keystroke "o"
		keystroke "p"
		keystroke "q"
		keystroke "r"
		keystroke "s"
		keystroke "t"
		keystroke "u"
		keystroke "v"
		keystroke "w"
		keystroke "x"
		keystroke "y"
		keystroke "z"
	end tell
end tell

works great:D