02-13-2013 04:23 AM
Hi, how do we get device screen size? stage.width and stage.height doesnt work...
Any thoughts? thanks
Solved! Go to Solution.
02-13-2013 04:26 AM
stage.stageWidth and stage.stageHeight is workable.. are you added ANE files ?
02-13-2013 05:01 AM
02-13-2013 05:16 AM
Hi,
Not this man, stage.Width and stage.Height is workable ?? How you create your project ? Are you include Native Extentions ?
02-13-2013 07:22 AM
Thnks for the answer actually both of the codes work, stage.stageWidth didnt work before cause silly me, I called it from my view.
Display.display.getDisplayWidth(int) is more sturdy to be used..
thanks again