How can everyone achieve horizontal and vertical screen?
Is it achieved by rotating the container? Because that’s how I did it
Novices hope everyone can exchange and discuss their development experience
Can you describe what you’re trying to achieve in more detail? I don’t think that I understand what you mean.
main html5 all target
What does “horizontal and vertical screen” mean? I don’t get it.
This is achieved through horizontal and vertical screen adaptation by rotating the main container
The web browser will automatically handle rotating everything. The stage will dispatch Event.RESIZE
when it changes size, and you can adjust your layout in a listener for that event.
1 Like