Copy link to clipboard
Copied
try:
navigateToURL(new URLRequest("tel:1234567890");
Copy link to clipboard
Copied
try:
navigateToURL(new URLRequest("tel:1234567890");
Copy link to clipboard
Copied
thanks kglad.com
Copy link to clipboard
Copied
you're welcome.
Copy link to clipboard
Copied
Dear sir! i have a new issue in my app (designed in adobe animate cc)when i check it on old andriod phones app size disturb and showing white background in left and right corners.can i make it responsive to all andriod devices.plz help
Copy link to clipboard
Copied
make it fullscreen.
and you can control how it scales to fill the screen using the stagescalemode class:
EXACT_FIT : String = "exactFit" [static] Specifies that the entire application be visible in the specified area without trying to preserve the original aspect ratio.
NO_BORDER : String = "noBorder" [static] Specifies that the entire application fill the specified area, without distortion but possibly with some cropping, while maintaining the original aspect ratio of the application.
NO_SCALE : String = "noScale" [static] Specifies that the size of the application be fixed, so that it remains unchanged even as the size of the player window changes.
SHOW_ALL : String = "showAll" [static] Specifies that the entire application be visible in the specified area without distortion while maintaining the original aspect ratio of the application.
Copy link to clipboard
Copied
thanks you are great!
Copy link to clipboard
Copied
you're welcome.
Copy link to clipboard
Copied
Something that the definitions don't make clear is what you will see in each case. The two most useful ones are noBorder and showAll.
With noBorder, either the width of the stage will fill the width of the visible area, or the height of the stage will fill the height of the visible area. In achieving that the other direction will get some cropping. It's a good strategy for giving a wide range of devices the largest common visible area. If you have a stage that is 14:9 ration, all users on a 16:9 through to a 4:3 ratio screen (this example is for landscape) will all see the content that is in the center area of the stage. You would want to make sure that nothing important is near the edges of the stage.
With showAll, all of the stage area is seen all of the time, but because the screen may be wider or taller than the stage, the user will see the content that was originally off the edges of the stage. This is again good for covering a wide range of device screens, and has the advantage that you could place buttons near the top and bottom, or left and right, of the stage, and the buttons will remain visible on different screens.
For example, if you had a stage that was 1024x768, it would exactly fit the iPad screen (or any 4:3 ratio Android too). If you also had extra background that went off the left and right of the stage (this example is for landscape again), then users on wider screens would see that extra background. So long as there's nothing important there that an iPad user would miss, it works well.
I used to suggest having enough content to reach out to 16:9, which would be 1365 wide in the 1024 stage example. But now there is the S8 phone, which is close to 2:1 wide. So, having a background that is as wide as 2048 for a 1024 stage example would give S8 users something to look at too.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now