Livefyre Profile

Activity Stream

Watched these the other day and I had the same response—massive brain pain. 

2 years, 1 month ago on Bill Nye vs Those Who DeNye – A Discussion

Reply

 @Jens Loeffler  Yep, that's what I found too which meant I couldn't use the stage etc. to size and position the popups. I would have just used 1024x768 but our app needs to run on android devices too with different resolutions so this method I've found seems to work the best for now.

2 years, 2 months ago on The Unofficial Guide to the New iPad 3 Retina Display and Adobe AIR

Reply

For anybody who's used this, I still had a crazy amount of trouble when positioning popups, specifically trying to center them effectively.

 

PopUpManager.centerPopup(this) failed in the majority of cases as it centers in the containing display item. Using stage width would return 2048 pixels but the coordinate system was still in 0-1023 for some reason, so the easiest method I've found is to do this upon CreationComplete:

 

this.width = parent.width * 0.8;

this.x = parent.width * 0.1;

 

and likewise for the height & y.

2 years, 2 months ago on The Unofficial Guide to the New iPad 3 Retina Display and Adobe AIR

Reply