Copy link to clipboard
Copied
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????
use:
stage.scaleMode = "exactFit";
Copy link to clipboard
Copied
use:
stage.scaleMode = "exactFit";
Copy link to clipboard
Copied
thank you very much . your suggestion helped me alot
Copy link to clipboard
Copied
you're welcome.
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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;
Find more inspiration, events, and resources on the new Adobe Community
Explore Now