I understand, I actually got the result wanted for my game using your instructions (thanks again), and worked very well in a browser (therefore only in pc). Unfortunately when I run the test on my smartphone is not as if these commands had not been recognized.
I mean the resize command, eg (set width to ViewportRight (HUD) - ViewportLeft (HUD)).
Or another example (set position / / x: ViewportLeft (HUD) y: ViewportTop (HUD) - 33.
They simply did not work.
Can explain me why?
Ps: I have used Cocoonjs and Intel XDK to export.