Panel.StartAnimate works, but in need of Keyboard Input. Use this or another method?

Hello. First off thank you to people that been helping me like Jimbodude.

I was told to try making a flash game in gmod work by using the example of Panel.StartAnimate off Garry’s wiki. Well first I updated the object code to get it to embed the flash…

function RunTest(ply, cmd, arg)
Winmain = vgui.Create(“Frame”)
Winmain:SetTitle( “StartAnimate() Test” )
Winhtml = vgui.Create( “HTML” , Winmain)
// local link = “” isn’t used but kept incase of change
local url = [[
<object classid=“clsid:D27CDB6E-AE6D-11cf-96B8-444553540000” codebase=“,0,29,0” width=“700” height=“500”>
<param name=“movie” value=“”>
<param name=“quality” value=“high”>
<embed src=“” quality=“high” pluginspage=“” type=“application/x-shockwave-flash” width=“700” height=“500”>
Winhtml:SetHTML( url )
concommand.Add(“animtest”, RunTest)

So I get this guy to run CL. It has a white background when it is suppose to be black, no big deal. The trouble is no keyboard input! I understand this might of been made for only video playback of like .flv.

So the question is does anyone know how to make keyboard input work? Should I just use another method to get the job done? I really wanna put this in my server and would appreciate any help!

P.S. - Alternatives like even using java or any way to get client side “mini games” to work is appreciated. Thank you!

Thank you for reading, and have a good rest of your weekend

Bump… If there isn’t a way plz tell me. I think it would be a great addition to any server (again, if it is possible)…