I've been banging my head against this for a couple days: I am trying to display a web page inside a game.
My best attempt was using the Scaleform DefaultTextArea, getting the HTML content using an AS3 URLLoader, and setting the htmlText to the contents of the URLLoader.data. When I used Flash Professional's own movie player to test it, I could see both the text and images from inside the HTML, but no support for JavaScript or css via link ref. When I used the Scaleform Lanuncher inside Flash Professional, the text renders but not the images. When I import the swf file into UDK and load using a "Open GFX Movie" node in kismet, the widgets in the swf file displays in the game but the textArea is blank - no text or images from the html. To make matters worse, I see no way to import an html or jpg file into the content browser and get it into the same package as the swf file.
So, bottom line: does anyone know a way to have full HTML rendering support inside a game, be it via Scaleform or any other way?
this is already out there for Unity3d - http://mythoslabs.com/uwebkit
has anyone seen anything similar for UDK?
thanks!
My best attempt was using the Scaleform DefaultTextArea, getting the HTML content using an AS3 URLLoader, and setting the htmlText to the contents of the URLLoader.data. When I used Flash Professional's own movie player to test it, I could see both the text and images from inside the HTML, but no support for JavaScript or css via link ref. When I used the Scaleform Lanuncher inside Flash Professional, the text renders but not the images. When I import the swf file into UDK and load using a "Open GFX Movie" node in kismet, the widgets in the swf file displays in the game but the textArea is blank - no text or images from the html. To make matters worse, I see no way to import an html or jpg file into the content browser and get it into the same package as the swf file.
So, bottom line: does anyone know a way to have full HTML rendering support inside a game, be it via Scaleform or any other way?
this is already out there for Unity3d - http://mythoslabs.com/uwebkit
has anyone seen anything similar for UDK?
thanks!
Comment