I'm making a simple web browser with HTMLLoader, URLRequest.
The basic process is quite simple:
1. Create a new URLRequest.
2. Load with HTMLLoader.
3. Set the width and the height of the loader then add it as a child.
After successfully loading the web page, when I click at a blank area of the page, then press Left, Right, Up or Down to scroll the page, it works wonderfully and I was amazed.
But I'd really like to know where (or should I say 'what') is the focus of the keys I pressed? Is the focus of the HTMLLoader or the stage itself?
Yes, that's what I did in the first place.
Instead of MOUSE_UP I used KEY_DOWN and the results came both: the stage and the HTMLLoader. That's why I'm confused. I'm pretty sure the results are same if I use MOUSE_UP too, isn't it?
And my question is, where is the focus when scrolling a web page loaded with HTMLLoader WITH ARROW KEYS. Not using a mouse, and I don't know how to scroll with a mouse.
Europe, Middle East and Africa