ADL Emulation OS and Resize Question


i starting familiarize myself adobe air development mobile game development. attempting setup necessary "scaffolding" multi-device development. have run few issues i'm curious about, feedback appreciated.

 

given following minimal example:

adltest.png

 

executed in adl (directory structures removed) like:

 

adl.exe -profile extendedmobiledevice -screensize iphone -xscreendpi 163 -xversionplatform ios adltest-app.xml adltest

 

question 1. there way determine device emulator emulating?

 

i developing on windows 8, result of capabilities properties native, e.g. capabilities.os == "windows 8" though emulating ios/iphone. affects properties screenresolutionx. therefore emulator, isn't emulating these properties, making difficult develop , test target platforms.

 

question 2. why resize event gets triggered twice?

 

[trace] resize [event type="resize" bubbles=false cancelable=false eventphase=2]

[trace] resize [event type="resize" bubbles=false cancelable=false eventphase=2]

 

the simple starling scaffolding testing appears trigger 2 resize events when using emulator. have not tested on actual hardware yet. issue emulator? why makes sense trigger resize twice ever? (the example above triggers 2 immediately, reason doesn't trigger resize events when changing orientation, in starling app-- have no idea why.)

 

--

 

ideally setup run/debug targets different types of targets (swf, desktop-air, iphone4, iphone5s, samsung s4, nexus 10, etc.) , environment should behave same if running on hardware (logically, not necessarilly performance standpoint).



More discussions in AIR Development


adobe

Comments

Popular posts from this blog

Some mp4 files not displaying correctly (CS6)

Thread: Samba is not authenticating with LDAP