[flexcoders] Flex AIR mobile app reliability and stability

2012-02-19 Thread James Ong
Hi,

I wish to find out how reliability and stability using AIR for mobile app
as compare to Android and iPhone SDK?
On the marketplace and iTune store, almost all of the apps need bugfix or
resolve the vulnerabilities, have any of
the AIR you created need bugfix updates?


[flexcoders] Re: popup on screen certer?

2012-02-19 Thread markflex2007
I just test.PopUpManager can not work with s:SkinnablePopUpContainer.

other idea?

Thanks

Mark
--- In flexcoders@yahoogroups.com, Jeff Gomes jgomes@... wrote:

 PopUpManager.centerPopUp(pop);
 
 On 2/17/2012 14:36, markflex2007 wrote:
  Hi
 
I uses:SkinnablePopUpContainer  build a pop component for mobile app
 
and use the following code to call the popup
 
var pop:PopUpWindows =  new PopUpWindows();   
pop.open(this,true);
 
 
but the popup always in top-left location of current page. how to make 
  the popup on screen certer
 
please help
 
Thanks for help
 
Mark
  
 
 
 
  
 
  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Alternative FAQ location: 
  https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
  Search Archives: 
  http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
 
 
 
 





[flexcoders] Upload app to Apple

2012-02-19 Thread DavidWolpe
I've used Flash Builder 4.6 to create a mobile app.  I've got everything 
prepared and successfully uploaded -- screenshots, contracts, bank accounts, 
etc. etc. The final step is to upload the actual app in iTunes Connect. But 
I can't. There is no upload button. Anywhere. Not in version information, app 
summary, app details, app Localizations, or anywhere else that I can find. 

Here's a good link for AIR development and iOs:

http://devgirl.org/2011/06/20/flexair-for-ios-development-process-explained/

It says: App Store Distribution – If it's an app store ready distribution 
package, then you will use the iTunes Connect site to submit your application. 
You'll need to fill out a bunch of information, be as explicit as possible to 
avoid issues with rejection. Upload your application on the Upload page as a 
renamed .zip file and upload the 512×512 image separately as the large icon. 
This will be used for your application presence in iTunes.

Has anyone successfully uploaded a .ipa file to iTunes Connect? Has anyone seen 
this issue before? 

Possibilities: maybe  you have to upload the .ipa at the same time along with 
everything else?

Or maybe you actually need xCode to upload the app.

THanks



Re: [flexcoders] Re: popup on screen certer? [1 Attachment]

2012-02-19 Thread Jeff Gomes
Mark-

I don't know what you did to test this, but I was not guessing at my 
answer.  This is something I actually use (FB 4.6, btw, in case that 
matters).  As my gift to you, here is my simple Alert component that 
extends s:SkinnablePopUpContainer (attached as a ZIP and also pasted 
into the message, since I don't know which will work best on the list).

As you can see, it calls PopUpManager.centerPopUp(this) when it is first 
added to the stage and also anytime it receives a Resize event while it 
is open.  Some of the component is borrowed from tutorials I've seen on 
the web, but the code to handle resizing and centering was my own work.

-Jeff

?xml version=1.0 encoding=utf-8?
s:SkinnablePopUpContainer
 xmlns:fx=http://ns.adobe.com/mxml/2009;
 xmlns:s=library://ns.adobe.com/flex/spark
 addedToStage=_QueueCenter()
 creationComplete=_Init()
 
fx:Declarations
!-- Place non-visual elements (e.g., services, value objects) here --
/fx:Declarations
fx:Script
![CDATA[
 import mx.core.FlexGlobals;
 import mx.managers.PopUpManager;

 import spark.components.supportClasses.ViewNavigatorAction;

 [Bindable]
 public var alertTitle:String = alertTitle;

 [Bindable]
 public var alertMessage:String = alertMessage;

 private var _appTop:Object = 
mx.core.FlexGlobals.topLevelApplication;

 [Bindable]
 private var _nMaxWidth:Number = 300;

 private function _Center ( ) : void
 {
 if ( isOpen ) PopUpManager.centerPopUp ( this );
 }

 private function _Init ( ) : void
 {
 _appTop.addEventListener ( Event.RESIZE, _Resize );
 }

 private function _Resize ( e:* = null ) : void
 {
 if ( isOpen ) _QueueCenter ( );
 }

 private function _QueueCenter ( ) : void
 {
 _nMaxWidth = 0.9 * Math.min ( _appTop.width, 
_appTop.height );
 callLater ( _Center );
 }

 ]]
/fx:Script
s:TitleWindow
 id=titleWindow
 title={alertTitle}
 maxWidth={_nMaxWidth}
 close=close()
 
s:VGroup
 horizontalAlign=center
 horizontalCenter=0
 paddingLeft=16
 paddingTop=16
 paddingRight=16
 paddingBottom=16
 gap=24
 width=100%
 
s:Label
 id=message
 text={alertMessage}
 width=100%
 /
s:Button
 label=OK
 click=close(true)
 /
/s:VGroup
/s:TitleWindow
/s:SkinnablePopUpContainer

On 2/19/2012 08:15, markflex2007 wrote:
 I just test.PopUpManager can not work with s:SkinnablePopUpContainer.

 other idea?

 Thanks

 Mark
 --- In flexcoders@yahoogroups.com, Jeff Gomesjgomes@...  wrote:
 PopUpManager.centerPopUp(pop);

 On 2/17/2012 14:36, markflex2007 wrote:
 Hi

I uses:SkinnablePopUpContainer   build a pop component for mobile app

and use the following code to call the popup

var pop:PopUpWindows =  new PopUpWindows();  
pop.open(this,true);


but the popup always in top-left location of current page. how to make 
 the popup on screen certer

please help

Thanks for help

Mark
 



 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location: 
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links







 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location: 
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links