Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

what is the process to make my android air application auto resize to all devices???

New Here ,
May 07, 2015 May 07, 2015

Can anyone help me to get auto resize of android air application for every android device without manual resizing.? 

where I have to make changes either in AS3 code or in FLA????

TOPICS
ActionScript
429
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , May 07, 2015 May 07, 2015

use:

stage.scaleMode = "exactFit";

Translate
Community Expert ,
May 07, 2015 May 07, 2015

use:

stage.scaleMode = "exactFit";

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 07, 2015 May 07, 2015

thank you very much . your suggestion helped me alot

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 08, 2015 May 08, 2015

you're welcome.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 10, 2015 May 10, 2015

Hi kglad,

             

                I applied your code line in one of my file.

      I used 7 swf's to create application , In 1st fla I added stage.scaleMode="exactFit";

I provided navigation among 7 swf's . upto end of the 7th file it is playing well . but when I navigate from 7th to 1st swf it is giving error

TypeError: Error #1009: Cannot access a property or method of a null object reference.

  at GujaratiALP_fla::MainTimeline/frame1()[GujaratiALP_fla.MainTimeline::frame1:1]

GujaratiALP_fla is my first file.

                                   please help me to get out of this problem

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 11, 2015 May 11, 2015
LATEST

first, pinpoint the error by finding the line of code triggering it.

Debugging ActionScript 3.0 Errors, http://forums.adobe.com/docs/DOC-2542;

Debugging AcriptScript That Triggers No Errors,     http://forums.adobe.com/docs/DOC-2572;

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines