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.Image may be NSFW.
Clik here to view.
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