[flexcoders] Re: Flex Mobile Apple Submission Issue

2013-06-22 Thread GarethA
I'm not positive, but I'm pretty sure all I did was rename the file and drop it 
in.

--- In flexcoders@yahoogroups.com, Jake Churchill  wrote:
>
> Gareth,
> 
> Thanks for the tip.  I'll update my environment.  Does the image I drop in
> have to be a certain dimension or does it just look for the file name?
> 
> -Jake
> 
> - Sent from my Galaxy S4
> On Jun 21, 2013 7:29 AM, "GarethA"  wrote:
> 
> > **
> >
> >
> >
> >
> > I came across this same issue myself recently. You will have to upgrade to
> > at least AIR 3.7 SDK when compiling and drop an image directly in the root
> > of your directory structure named Default-568h@... Mine is at the same
> > level as my "appname.xml" file. Everything else should just work. I had
> > been having issues with getting FB to look at the new AIR compiler (it
> > points to my old SDK directory), so I had to move some stuff around when
> > compiling, but that should be it.
> >
> > --- In flexcoders@yahoogroups.com, Jake Churchill  wrote:
> > >
> > > Guys,
> > >
> > > I have a flex mobile app that has been on the appstore for a while and I
> > > was just trying to submit a revision to it when I got this automated
> > > response from apple:
> > >
> > > *iPhone 5 Optimization Requirement* - Your binary is not optimized for
> > > iPhone 5. As of May 1, all new iPhone apps and app updates submitted must
> > > support the 4-inch display on iPhone 5. All apps must include a launch
> > > image with the -568h size modifier immediately following the 
> > > portion of the launch image's filename. Launch images must be PNG files
> > and
> > > located at the top-level of your bundle, or provided within each .lproj
> > > folder if you localize your launch images. Learn more about iPhone 5
> > > support and app launch images by reviewing the iOS Human Interface
> > > Guidelines<
> > https://developer.apple.com/library/ios/#documentation/UserExperience/Conceptual/MobileHIG/TranslateApp/TranslateApp.html%23//apple_ref/doc/uid/TP40006556-CH10-SW8
> > >
> > > and iOS App Programming
> > > Guide<
> > https://developer.apple.com/library/ios/#documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/App-RelatedResources/App-RelatedResources.html%23//apple_ref/doc/uid/TP40007072-CH6-SW12
> > >
> > > .
> > >
> > > The only iconds I have specified are the different icon sizes in the
> > > -app.xml file. Does anyone know how to fulfill this requirement using
> > > Flashbuilder?
> > >
> > > Thanks!
> > >
> > > -Jake
> > >
> >
> >  
> >
>




[flexcoders] Re: Flex Mobile Apple Submission Issue

2013-06-21 Thread GarethA


I came across this same issue myself recently.  You will have to upgrade to at 
least AIR 3.7 SDK when compiling and drop an image directly in the root of your 
directory structure named default-5...@2x.png  Mine is at the same level as my 
"appname.xml" file.  Everything else should just work.  I had been having 
issues with getting FB to look at the new AIR compiler (it points to my old SDK 
directory), so I had to move some stuff around when compiling, but that should 
be it.

--- In flexcoders@yahoogroups.com, Jake Churchill  wrote:
>
> Guys,
> 
> I have a flex mobile app that has been on the appstore for a while and I
> was just trying to submit a revision to it when I got this automated
> response from apple:
> 
> *iPhone 5 Optimization Requirement* - Your binary is not optimized for
> iPhone 5. As of May 1, all new iPhone apps and app updates submitted must
> support the 4-inch display on iPhone 5. All apps must include a launch
> image with the -568h size modifier immediately following the 
> portion of the launch image's filename. Launch images must be PNG files and
> located at the top-level of your bundle, or provided within each .lproj
> folder if you localize your launch images. Learn more about iPhone 5
> support and app launch images by reviewing the iOS Human Interface
> Guidelines
>  and iOS App Programming
> Guide
> .
> 
> The only iconds I have specified are the different icon sizes in the
> -app.xml file.  Does anyone know how to fulfill this requirement using
> Flashbuilder?
> 
> Thanks!
> 
> -Jake
>



[flexcoders] Re: Buttons stop responding after downloading image with Flex Mobile App

2012-02-04 Thread GarethA
And in answering my own question, this appears to be a skin related issue on 
the Playbook.  There is a known pre-2.0 OS issue with the TextInput where you 
have to use a specific mobile skin class to prevent scrolling issues with the 
text.  Without it you get a "setAreaOfInterest" error.  However, it seems that 
if you put this skin in a CalloutButton, when the callout is closed, strange 
things happen to all of the button skins in the app.

--- In flexcoders@yahoogroups.com, "GarethA"  wrote:
>
> An update to this...
> 
> Did some more digging and it doesn't appear to be related to the image 
> loading.  It's something to do with the CallOutButton.  Whether I load the 
> image or not, after the calloutbutton is closed after the "get my image" 
> event is fired, the other buttons do not appear to respond visually (although 
> they are).
> 
> --- In flexcoders@yahoogroups.com, "GarethA"  wrote:
> >
> > This is a somewhat strange issue, but figure someone may have run across 
> > this before.
> > 
> > I have a mobile app that will download an image, and display that image in 
> > the app.  It hits a website, searches for the image, once it finds it, it 
> > downloads it to the device as a bytearray.  The user then saves the item, 
> > and the image is also saved.
> > 
> > At this point everything works fine.
> > 
> > However, if an image cannot be found, I'm allowing the user to find the URL 
> > of the image themselves and paste that in.  At this point, the app goes and 
> > downloads that image and displays it to the user.
> > 
> > At this point, everything is *not* working fine.
> > 
> > Everything looks the same, but whenever a button is "touched" in the app, 
> > it does not look like it is responding i.e. there is no "mouseDown" 
> > displayed on the button.  The button *does* respond to the touch, but it 
> > just does not display that it has been pressed.  Also, I had callout 
> > buttons, that do not look like they're responding.  The "button press" is 
> > registered, but the actual callout/popup does not occur.  I had to add an 
> > eventHandler that "on click/touch", openDropDown().
> > 
> > I'm not sure what else to try as both methods do exactly the same thing, 
> > except the one that doesn't work is directly manipulating the bytearray on 
> > the item in my data model (myModel.item.myByteArray = _urlLoader.data as 
> > ByteArray), whereas the the one that works is manipulating the whole item 
> > in an arraycollection, and then I am setting that item to my data model ( 
> > myItem = ac.getItemAt( 0 ) ).
> > 
> > Anyone have any experience with this before or any suggestions to try?
> > Thanks all.
> >
>




[flexcoders] Re: Buttons stop responding after downloading image with Flex Mobile App

2012-02-04 Thread GarethA
An update to this...

Did some more digging and it doesn't appear to be related to the image loading. 
 It's something to do with the CallOutButton.  Whether I load the image or not, 
after the calloutbutton is closed after the "get my image" event is fired, the 
other buttons do not appear to respond visually (although they are).

--- In flexcoders@yahoogroups.com, "GarethA"  wrote:
>
> This is a somewhat strange issue, but figure someone may have run across this 
> before.
> 
> I have a mobile app that will download an image, and display that image in 
> the app.  It hits a website, searches for the image, once it finds it, it 
> downloads it to the device as a bytearray.  The user then saves the item, and 
> the image is also saved.
> 
> At this point everything works fine.
> 
> However, if an image cannot be found, I'm allowing the user to find the URL 
> of the image themselves and paste that in.  At this point, the app goes and 
> downloads that image and displays it to the user.
> 
> At this point, everything is *not* working fine.
> 
> Everything looks the same, but whenever a button is "touched" in the app, it 
> does not look like it is responding i.e. there is no "mouseDown" displayed on 
> the button.  The button *does* respond to the touch, but it just does not 
> display that it has been pressed.  Also, I had callout buttons, that do not 
> look like they're responding.  The "button press" is registered, but the 
> actual callout/popup does not occur.  I had to add an eventHandler that "on 
> click/touch", openDropDown().
> 
> I'm not sure what else to try as both methods do exactly the same thing, 
> except the one that doesn't work is directly manipulating the bytearray on 
> the item in my data model (myModel.item.myByteArray = _urlLoader.data as 
> ByteArray), whereas the the one that works is manipulating the whole item in 
> an arraycollection, and then I am setting that item to my data model ( myItem 
> = ac.getItemAt( 0 ) ).
> 
> Anyone have any experience with this before or any suggestions to try?
> Thanks all.
>




[flexcoders] Buttons stop responding after downloading image with Flex Mobile App

2012-02-04 Thread GarethA
This is a somewhat strange issue, but figure someone may have run across this 
before.

I have a mobile app that will download an image, and display that image in the 
app.  It hits a website, searches for the image, once it finds it, it downloads 
it to the device as a bytearray.  The user then saves the item, and the image 
is also saved.

At this point everything works fine.

However, if an image cannot be found, I'm allowing the user to find the URL of 
the image themselves and paste that in.  At this point, the app goes and 
downloads that image and displays it to the user.

At this point, everything is *not* working fine.

Everything looks the same, but whenever a button is "touched" in the app, it 
does not look like it is responding i.e. there is no "mouseDown" displayed on 
the button.  The button *does* respond to the touch, but it just does not 
display that it has been pressed.  Also, I had callout buttons, that do not 
look like they're responding.  The "button press" is registered, but the actual 
callout/popup does not occur.  I had to add an eventHandler that "on 
click/touch", openDropDown().

I'm not sure what else to try as both methods do exactly the same thing, except 
the one that doesn't work is directly manipulating the bytearray on the item in 
my data model (myModel.item.myByteArray = _urlLoader.data as ByteArray), 
whereas the the one that works is manipulating the whole item in an 
arraycollection, and then I am setting that item to my data model ( myItem = 
ac.getItemAt( 0 ) ).

Anyone have any experience with this before or any suggestions to try?
Thanks all.



[flexcoders] Re: Formatting a date

2011-09-29 Thread GarethA
I've written a dateutils library that will handle both of these things...

http://flexdateutils.riaforge.org/

--- In flexcoders@yahoogroups.com, "chinwesley"  wrote:
>
> Hi everyone,
> 
> I am formatting my date for a Flex label but I don't know how to do it.
> 
> I have the following at the moment:
> 
> var formatter:DateFormatter = new DateFormatter();
>   
> formatter.formatString = "-MM-DD";
> 
> var example:Date = new Date();
>   
> trace(formatter.format(example));
> 
> I am trying to display a label that will show the date in this format:  
> -MM-DD over the last 90 days so it needs calculate from now and then 
> backwards 90 day sand display that day.
> 
> Is that possible and how would I do it?  
> 
> Regards,
> Wesley
>




[flexcoders] Re: DateChooser Calendar pop up

2009-10-03 Thread GarethA
Yup, it's an integer, and that's my reasoning for wanting to modify the 
interface that the DateChooser shows to the user.  I would want to do something 
along the lines of this 
http://srinivasannam.wordpress.com/2008/07/01/new-flex-calendar-controls/ but 
in the calendar pop up (not quite as complex), dropping in a textinput to allow 
the user to enter a number of days, which would select the date X days from the 
selectedDate in the DateChooser (dategrid)

--- In flexcoders@yahoogroups.com, Jeffry Houser  wrote:
>
>  There are too things that crop to mind.  First, if you just want the 
> user to select the number of days, isn't that an integer in a 
> TextInput?  I'm assuming that is the wrong path, so...
> 
>  You might be describing allowMultipleSelection which can allow the user 
> to select multiple days in the DateChooser.  Additionally, check out 
> allowDisjointSelection, selectedRange, and selectedRanges
> 
> http://livedocs.adobe.com/flex/3/langref/mx/controls/DateChooser.html#allowMultipleSelection
> http://livedocs.adobe.com/flex/3/langref/mx/controls/DateChooser.html#allowDisjointSelection
> http://livedocs.adobe.com/flex/3/langref/mx/controls/DateChooser.html#selectableRange
> http://livedocs.adobe.com/flex/3/langref/mx/controls/DateChooser.html#selectedRanges
> 
> GarethA wrote:
> >  
> >
> > We have a limited amount of space in our app, so the DateChooser 
> > calendar pop up is probably our best option right now. We want to 
> > allow the user to select "number of days" and change the date based 
> > upon the number of days the user selected. I was trying to figure out 
> > a way to include this functionality inside the calendar that pops up 
> > in order to save a little more real estate on the page (and make my 
> > own component for it).
> >
> > --- In flexcoders@yahoogroups.com 
> > <mailto:flexcoders%40yahoogroups.com>, Jeffry Houser  wrote:
> > >
> > >
> > > What type of modifications do you want?
> > >
> > > There is some localization customization of the DateChooser, with
> > > monthNames, monthSymbol, and I think a few other properties. I think
> > > there is a dayNames property too.
> > >
> > > I've been building a Calendar component as part of ongoing The Flex
> > > Show video series (
> > > http://www.theflexshow.com/blog/index.cfm/Fifteen-Minutes-With-Flex 
> > <http://www.theflexshow.com/blog/index.cfm/Fifteen-Minutes-With-Flex> )
> > > and a more advanced version just went up for prerelease sale at
> > > Flextras.com . If you think something like that would suit your needs,
> > > I'd love to learn more and possibly get you on our beta program and
> > > discuss your needs further.
> > >
> > > GarethA wrote:
> > > >
> > > >
> > > > Just wondering if anyone knows a way to modify the DateChooser
> > > > calendar that pops up. I looked through the file but didn't see any
> > > > reference to any kind of factory or renderer that would accept a new
> > > > calendar. If not, anyone have any other potential solutions?
> > > > Thanks.
> > > >
> > > >
> > >
> > > --
> > > Jeffry Houser, Technical Entrepreneur
> > > Adobe Community Expert: http://tinyurl.com/684b5h 
> > <http://tinyurl.com/684b5h>
> > > http://www.twitter.com/reboog711 <http://www.twitter.com/reboog711> 
> > | Phone: 203-379-0773
> > > --
> > > Easy to use Interface Components for Flex Developers
> > > http://www.flextras.com?c=104 <http://www.flextras.com?c=104>
> > > --
> > > http://www.theflexshow.com <http://www.theflexshow.com>
> > > http://www.jeffryhouser.com <http://www.jeffryhouser.com>
> > > --
> > > Part of the DotComIt Brain Trust
> > >
> >
> > 
> 
> -- 
> Jeffry Houser, Technical Entrepreneur
> Adobe Community Expert: http://tinyurl.com/684b5h
> http://www.twitter.com/reboog711  | Phone: 203-379-0773
> --
> Easy to use Interface Components for Flex Developers
> http://www.flextras.com?c=104
> --
> http://www.theflexshow.com
> http://www.jeffryhouser.com
> --
> Part of the DotComIt Brain Trust
>




[flexcoders] Re: DateChooser Calendar pop up

2009-10-02 Thread GarethA
We have a limited amount of space in our app, so the DateChooser calendar pop 
up is probably our best option right now.  We want to allow the user to select 
"number of days" and change the date based upon the number of days the user 
selected.  I was trying to figure out a way to include this functionality 
inside the calendar that pops up in order to save a little more real estate on 
the page (and make my own component for it).

--- In flexcoders@yahoogroups.com, Jeffry Houser  wrote:
>
> 
>  What type of modifications do you want? 
> 
>  There is some localization customization of the DateChooser, with 
> monthNames, monthSymbol, and I think a few other properties.  I think 
> there is a dayNames property too. 
> 
>  I've been building a Calendar component as part of ongoing The Flex 
> Show video series ( 
> http://www.theflexshow.com/blog/index.cfm/Fifteen-Minutes-With-Flex ) 
> and a more advanced version just went up for prerelease sale at 
> Flextras.com .  If you think something like that would suit your needs, 
> I'd love to learn more and possibly get you on our beta program and 
> discuss your needs further. 
> 
> GarethA wrote:
> >  
> >
> > Just wondering if anyone knows a way to modify the DateChooser 
> > calendar that pops up. I looked through the file but didn't see any 
> > reference to any kind of factory or renderer that would accept a new 
> > calendar. If not, anyone have any other potential solutions?
> > Thanks.
> >
> > 
> 
> -- 
> Jeffry Houser, Technical Entrepreneur
> Adobe Community Expert: http://tinyurl.com/684b5h
> http://www.twitter.com/reboog711  | Phone: 203-379-0773
> --
> Easy to use Interface Components for Flex Developers
> http://www.flextras.com?c=104
> --
> http://www.theflexshow.com
> http://www.jeffryhouser.com
> --
> Part of the DotComIt Brain Trust
>




[flexcoders] DateChooser Calendar pop up

2009-10-01 Thread GarethA
Just wondering if anyone knows a way to modify the DateChooser calendar that 
pops up.  I looked through the file but didn't see any reference to any kind of 
factory or renderer that would accept a new calendar.  If not, anyone have any 
other potential solutions?
Thanks.