Quantcast
Viewing all articles
Browse latest Browse all 5661

AIR-APK Emulator Distortion

Hi,

 

I have been creating pure AS3 projects to compile as AIR APK using the latest Flex 3.8 SDK.

 

When I debug test in the AIR Emulator, when I call a function that resets the animation (by removeChild and addChild for the objects), some of the newly created reset objects are positioned in the wrong location.

 

I also tested the same AS3 script in Flash CS6 (using the same Flex/AIR SDK), and the objects, when reset, are still in the correct location.

 

Screenshots, before and after reset (play again button clicked):

 

Image may be NSFW.
Clik here to view.
screenshot1.jpg
Image may be NSFW.
Clik here to view.
screenshot2.jpg

 

The main container with game circles is correctly positioned, but the 2 buttons and bottom scorebox are not in the correct position. As mentioned, not a scripting problem, because the same script tested in Flash CS6 does not change the button/bottom scorebox positions when reset.

 

Any help or suggestions to fix this would be appreciated.

 

Thank you for your help.

 

saratogacoach


Viewing all articles
Browse latest Browse all 5661


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>