Copy link to clipboard
Copied
I have 6 buttons on the top of the screen. They are each 1/6th of the stage.stageWidth.
I reference a variable wstr to all theese 6 buttons.
var wstr = (1 / 6) * stage.stageWidth;
It works perfectly on Android. But on Ipad Air 2.0 it does not work properly.
I found out. I ran the everything in a Event.RESIZE.
The issue was wrong stage widths and heights. Displaying only half of the screen. Now that issue is gone. Thank you.
Copy link to clipboard
Copied
you told us what it doesn't do. what DOES it do? how does it mess up? screenshot?
Copy link to clipboard
Copied
You repeated twice "it does not work properly" but can you really expect someone to know exactly what that means in your case and give you a solution? Please make the tiny bit of effort and imagine being someone reading your post before clicking "submit".
Copy link to clipboard
Copied
I found out. I ran the everything in a Event.RESIZE.
The issue was wrong stage widths and heights. Displaying only half of the screen. Now that issue is gone. Thank you.
Copy link to clipboard
Copied
Can you say whether using Event.RESIZE was the problem, or it solved the problem? My guess is that it solved the problem.
Copy link to clipboard
Copied
You guessed right. Event.RESIZE solved the problem
Copy link to clipboard
Copied
Thank you for the confirmation.