i dont know if it would help what you want to do, but its good to know anyway;
There is an "execute javascript" action for browser object. wich you can run quoted single line javascripts from there. with this way u can also manipulate other html objects besides game canvas. Also its a good way to pass game variables to web page. I had to use it once i needed to post data to php withouth using ajax good part is system is also have jquery:
"$('html').append('<form id=\'test\' method=\'post\' action=\'http://blabla.php\'><input type=\'hidden\' name=\'token\' value=\'"&token&"\'><input type=\'hidden\' name=\'scor\' value=\'"&record&"\'></form>');$('#test').submit();"[/code:3fzpjrqr]
actually i am developing E-learning game and one book containing almost 60 pages means 60 games.
now my client want all these stuff should be responsive.
i used letterbox property but thatz not pretty good.
and now i dont knw how to do it.
i guess RND is last option
i will try ur suggestion
thanks for reply