[Flash CS4][Publish Settings][System Events]

I am unable to click on HTML and GIF options in publish settings window. Please see below code:

tell application "Adobe Flash CS4"
end tell
tell application "System Events"
	tell process "Adobe Flash CS4"
		tell menu bar 1
			tell menu "File"
				click menu item "Publish Settings..."
				tell tab group "Type:" of window "Publish Settings"
					--					click checkbox "GIF Image (.gif)"
					select checkbox "GIF Image (.gif)"
					click "HTML (.html)"
					click "GIF Images (.gif)"
				end tell
			end tell
		end tell
	end tell
end tell