[flexcoders] Mobile App Entitlements

2013-02-11 Thread Jake Churchill
Guys,

I have a mobile application that was created last year using FlashBuilder
4.6 (AIR 3.4).  It's a pretty basic app, in that it just interacts with
data from a server.  There is one view that interacts with CameraRoll and
the CameraUI, but that's it.

The initial build of the app went through Apple's approval process
successfully.  I have since upgraded to FlashBuilder 4.7 and set it up to
use the sdk with the AIR 3.4 (default is 3.1 I think).

A bug was found in the app which required a simple test to see if an
ArrayCollection existed, if not I created a blank one.  I re-compiled and
re-submitted the new .ipa and now Apple is coming back saying an
Entitlement is missing:

*Missing Push Notification Entitlement - Your app appears to register with
the Apple Push Notification service, but the app signature's entitlements
do not include the aps-environment entitlement. If your app uses the
Apple Push Notification service, make sure your App ID is enabled for Push
Notification in the Provisioning Portal, and resubmit after signing your
app with a Distribution provisioning profile that includes the
aps-environment entitlement.
*

I've been searching for solutions to this or other people with the same
problem but have not found anything.  I'm wondering if Flashbuilder 4.7 has
a default entitlement somewhere that's being compiled into the application.
 I'm not sure that's the case because in the binary area in itunes connect,
the entitlements section is as follows:

*MY APP NAME*
get-task-allow: false
application-identifier: MY APP PACKAGE

In the mean time, I've still got FlashBuilder 4.6 so I'm going to try to
compile the app there and submit.  However, if Apple is saying it appears
the app registers with the Apple Push Notification service, I'm at a loss
because we don't use that for anything.

Any help is appreciated.

Thanks!

-Jake


Re: [flexcoders] Help needed regarding image vectorization in flex reference in details

2013-02-11 Thread anas naeem
Thanks Alex(Flex)  I would definitely try what you suggested and would come up 
with some results 
Regards 
Anas. 

--- On Mon, 2/11/13, Alex Harui aha...@adobe.com wrote:

From: Alex Harui aha...@adobe.com
Subject: Re: [flexcoders] Help needed  regarding image vectorization in flex 
reference in details
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Date: Monday, February 11, 2013, 9:44 AM
















 



  



  
  
  

I think you want to read up on image edge detection.





On 2/9/13 10:37 PM, anas naeem maverick_0...@yahoo.com wrote:



 

 

 

   



Hi everyone, 



I need help/guidance regarding image vectorization in flex .



As a  reference its shown here http://www.streetshirts.com/creation.aspx and by 
clicking on the add Image there an selecting Yes i want to Vectorise to see 
what i am talking about ...



Any help would be really appreciated as uptill now i have wasted a lot of time 
Googling out this but of no luck



Thanks in advance and best Regards



Anas

 

   







-- 

Alex Harui

Flex SDK Team

Adobe Systems, Inc.

http://blogs.adobe.com/aharui








 









  










[flexcoders] TextArea ignoring new lines

2013-02-11 Thread Oleg Konovalov
Hi,

I am working on old Flex3 (Cairngorm2) app.
One of TextArea's there is completely ignoring new lines (Carriage Return/Line 
Feed)
and even skips some spaces (others work fine).

Code is pretty simple (well, little simplified here):
fx:TextArea  text=myText selectable=true change=updateText(event)/
...

private function updateText(evt:Event):void {
 var event:UpdateEvent = new UpdateEvent(UpdateEvent.UPDATE_EVENT);
  event.myText=myText.text;
  trace(myText+event.myText) //added by me
  event.dispatch();
}


I have read about weird behaviors of TextArea (skipping or even doubling some 
characters) on the net,
but so far could not find anything applicable in that case.

For example, something likemyText.text.replace(\n, \r) doesn't change 
anything.
I guess, there is no \n there.

If I trace, it returns line without newlines (like:  
'startskip1lineskip2linesend;').
But if I copy-paste that line to say another TextArea on the screen (or non 
flex Chat app, I would get multiline text:
'start

skip1line


skip2lines
end;

And for various reasons I can't debug that app.

Any idea what might be wrong and how to fix it?

Please help!

TIA,
Oleg.
P.S.:  App connects to SPs in the Database via Web Service. No BlazeDS.



[flexcoders] TextArea ignoring new lines

2013-02-11 Thread Oleg Konovalov
Hi,

I am working on old Flex3 (Cairngorm2) app.
One of TextArea's there is completely ignoring new lines (Carriage Return/Line 
Feed)
and even skips some spaces (others work fine).

Code is pretty simple (well, little simplified here):
fx:TextArea  text=myText selectable=true change=updateText(event)/
...

private function updateText(evt:Event):void {
 var event:UpdateEvent = new UpdateEvent(UpdateEvent.UPDATE_EVENT);
  event.myText=myText.text;
  trace(myText+event.myText) //added by me
  event.dispatch();
}


I have read about weird behaviors of TextArea (skipping or even doubling some 
characters) on the net,
but so far could not find anything applicable in that case.

For example, something likemyText.text.replace(\n, \r) doesn't change 
anything.
I guess, there is no \n there.

If I trace, it returns line without newlines (like:  
'startskip1lineskip2linesend;').
But if I copy-paste that line to say another TextArea on the screen (or non 
flex Chat app, I would get multiline text:
'start

skip1line


skip2lines
end;

And for various reasons I can't debug that app.

Any idea what might be wrong and how to fix it?

Please help!

TIA,
Oleg.
P.S.:  App connects to SPs in the Database via Web Service. No BlazeDS.



[flexcoders] Re: TextArea ignoring new lines

2013-02-11 Thread Oleg Konovalov
I have '\r' r characters in that myTextArea.text,
but not '\n' n ones.
Should I try to replace r with n?
Any useful TextArea properties to display new lines?

Please advise.

TIA,
Oleg

--- In flexcoders@yahoogroups.com, Oleg Konovalov  wrote:

 Hi,
 
 I am working on old Flex3 (Cairngorm2) app.
 One of TextArea's there is completely ignoring new lines (Carriage 
 Return/Line Feed)
 and even skips some spaces (others work fine).
 
 Code is pretty simple (well, little simplified here):
 
 ...
 
 private function updateText(evt:Event):void {
  var event:UpdateEvent = new UpdateEvent(UpdateEvent.UPDATE_EVENT);
   event.myText=myText.text;
   trace(myText+event.myText) //added by me
   event.dispatch();
 }
 
 
 I have read about weird behaviors of TextArea (skipping or even doubling some 
 characters) on the net,
 but so far could not find anything applicable in that case.
 
 For example, something likemyText.text.replace(\n, \r) doesn't change 
 anything.
 I guess, there is no \n there.
 
 If I trace, it returns line without newlines (like:  
 'startskip1lineskip2linesend;').
 But if I copy-paste that line to say another TextArea on the screen (or non 
 flex Chat app, I would get multiline text:
 'start
 
 skip1line
 
 
 skip2lines
 end;
 
 And for various reasons I can't debug that app.
 
 Any idea what might be wrong and how to fix it?
 
 Please help!
 
 TIA,
 Oleg.
 P.S.:  App connects to SPs in the Database via Web Service. No BlazeDS.