developa Posted December 26, 2017 Share Posted December 26, 2017 (edited) hello, can you use the object attribute in html in cef in mta? code html: <html> <head> <title>test object</title> </head> <body> <object data="object.swf" type="application/x-shockwave-flash" width="1000" height="500"></object> </body> </html> code lua: local x,y=guiGetScreenSize() local ui=guiCreateBrowser(0,0,x,y,true,true,false) addEventHandler("onClientBrowserCreated",ui,function() loadBrowserURL(source,"http://mta/local/index.html") end) this code not worked, does mta include the swf format? Edited December 26, 2017 by developa Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now