Re: sendToURL - Security has blocked a cleartext HTTP

2019-10-16 Thread npem
OK, I changed tack with this, as follows:

*
http://127.0.0.1:3001/blockchain;
result="onJSONLoad(event)" />



private function creationCompleteHandler(event:FlexEvent):void 
{
service.send();
}

private function onJSONLoad(event:ResultEvent):void 
{
//get the raw JSON data and cast to String
var rawData:String = String(event.result);
trace("RAWDATA = " + rawData);
}

*
Which returns the JSON data as a String




--
Sent from: http://apache-flex-users.246.n4.nabble.com/


sendToURL - Security has blocked a cleartext HTTP

2019-10-14 Thread npem
I am testing some code which calls localhost server as:
*var url:String = "http://localhost:3001;;
var request:URLRequest = new URLRequest(url);
sendToURL(request);*

However, when this code (in the simulator) is run, I get an error:
/*App Transport Security has blocked a cleartext HTTP (http://) resource
load since it is insecure. Temporary exceptions can be configured via your
app's Info.plist file*.

I have entered (in the app.xml file):
NSAppTransportSecurity

  
  NSAllowsArbitraryLoads
  
  NSIncludesSubdomains
  


Although Not quite sure where it needs to be, as I am not specifically using
an Apple device?

Code works fine via *navigateToURL* (but I don't want to open a Browser)

I am running:
  Flex 4.16.1
  Air 29
  and IntelliJ

Help would be appreciated

TIA, Phil




--
Sent from: http://apache-flex-users.246.n4.nabble.com/


Help using LinAlg Library for solving Simultaneous Equations

2018-09-18 Thread npem
Hi everyone,
   I have been looking at using a free library for solving a
set of Linear Simultaneous Equations for Finite Element Solutions

I have: [F] = [k] [x]

Where [F] and [x] are vectors
and [k] is a square matrix

I was thinking of using the *AS3LinAlg* the library, but it is not obvious 
(At least to me:-) on how to present the data,
(As it seems to want 2 vectors)
 which will return a vector.

Anyone used this Library and could help with what I need to pass to it, for
example,
If I want to use Cholesky or LU?

Or of course any other suggestions for libraries to use?

Note: The library is at:
Solver Library   

TIA,

Phil.



--
Sent from: http://apache-flex-users.246.n4.nabble.com/


Assets.Car Problem via IntelliJ

2018-05-08 Thread npem
Hi,
I have a problem with the new iStore requirements
For an Asset.car file

I used the website at:
*http://applicationloader.net/appuploader/icontool.php
*
Which produced png’s and an Assets.car file
All of which I copied to the src directory

I then edited the -app.xml file to include, 
Within the  section

*Icon-Small.png
Icon-Small-40.png
…… ….
…. ….
Icon-167.png
Icon-180.png*

I previously had entries for a few of these under:

But commented these out


I also 
*Project Structure -> Modules -> iOS
Added all the image files and the Assets.car file “to package”*

All seemed to work, but when I uploaded to the iStore I get:
*   ERROR ITMS-90032: "Invalid Image Path - No image found at the 
path
referenced under key 'CFBundleIcons': 'Icon-167.png'"
ERROR ITMS-90032: "Invalid Image Path - No image found at the 
path
referenced under key 'CFBundleIcons': 'i...@2x.png'"*
Plus a another 5 lines for the different image Paths



*Anyone offer an example of how I would use
CFBundleIcons for 2 (as an example) icons 
And where to put them in the xml file*

Any help would be gratefully appreciated
Phil:-)


/I am using:
IntelliJ 2017
Flex 4.16.1
AIR29/





--
Sent from: http://apache-flex-users.246.n4.nabble.com/


Assets.car issue using Intellij

2018-05-08 Thread npem
Hi,I have a problem with the new iStore requirementsFor an Asset.car fileI
used the website
at:*http://applicationloader.net/appuploader/icontool.php*Which produced
png’s and an Assets.car fileAll of which I copied to the src directoryI then
edited the -app.xml file to include, Within the 
section*Icon-Small.pngIcon-Small-40.png…… ….…. ….Icon-167.pngIcon-180.png*I
previously had entries for a few of these under:But commented these outI
also *Project Structure -> Modules -> iOSAdded all the image files and the
Assets.car file “to package”*All seemed to work, but when I uploaded to the
iStore I get:*  ERROR ITMS-90032: "Invalid Image Path - No image found 
at
the path referenced under key 'CFBundleIcons': 'Icon-167.png'"  ERROR
ITMS-90032: "Invalid Image Path - No image found at the path referenced
under key 'CFBundleIcons': 'i...@2x.png'"*Plus a another 5 lines for the
different image PathsAnyone offer an example of how I would useCFBundleIcons
for 2 (as an example) icons And where to put them in the xml fileAny help
would be gratefully appreciatedPhil:-)/I am using:IntelliJ 2017Flex
4.16.1AIR29/



--
Sent from: http://apache-flex-users.246.n4.nabble.com/


Re: Connection to Google Calendar as a Proxy Scheduler

2017-07-07 Thread npem
I agree it's a possibility which I had not considered.

My problem is that I do not have a server on the Internet, so the option of
buying an
ANE for $25 looks the most promising option at the moment.

The one suggested by Eric states that you can add updates and alarms for
iOS, but I'm
not sure you can also do this for Android?

However, thanks for the suggestion

Phil.

On Fri, Jul 7, 2017 at 9:29 AM, Javier Guerrero García [via Apache Flex
Users] <ml+s246n15426...@n4.nabble.com> wrote:

> Hi npem! :D
>
> Sure there are! :) That's exactly what push notifications where made for
> :)
>
> Why don't you just store your users appointments server side somewhere,
> and
> send push notifications to their devices when the date is due? It's almost
> the textbook example of push notifications in fact :)
>
> 1 table in any format (from TXT/CSV to SQL), 1 php to receive and store
> data, 1 cron job to check due dates and send notifications, and you're
> done
> for 0.0$ :)
>
> On Fri, Jul 7, 2017 at 10:13 AM, npem <[hidden email]
> <http:///user/SendEmail.jtp?type=node=15426=0>> wrote:
>
> > Thanks for the information.
> >
> > It's certainly worth a consideration if no better options present
> > themselves:-)
> >
> > Phil
> >
> > On Thu, Jul 6, 2017 at 6:06 PM, Erik J. Thomas [via Apache Flex Users] <
> > [hidden email] <http:///user/SendEmail.jtp?type=node=15426=1>>
> wrote:
> >
> > > Hey Phil:
> > >
> > > I highly recommend using ANEs for native integration and to do the
> types
> > > of things you are doing. My experience with Google APIs, places,
> calendar
> > > were not that good either.
> > >
> > > Here is an ANE you should consider. Sure it costs a little money, but
> > only
> > > about the cost of a lunch for two per year:
> > >
> > > https://airnativeextensions.com/extension/com.distriqt.Calendar
> > <https://
> > > airnativeextensions.com/extension/com.distriqt.Calendar>
> > >
> > > This ANE integrates with the native calendars and allows you to
> schedule
> > > events that will notify the user, etc. Seems it will do what you want.
> > >
> > > Here is the full list of very well supported ANEs from the same
> company
> > we
> > > use for our ANEs.
> > >
> > > https://airnativeextensions.com/extensions <https://
> > > airnativeextensions.com/extensions>
> > >
> > > They cost a little (actually quite inexpensive), but you get
> first-class
> > > support in docs, tutorials, forum, and tech support. We pay $10/year
> for
> > > the fingerprint manager/touch ID ANE and $35/year for all native
> dialogs,
> > > like busy, alert, choices, and we use the same license for multiple
> > > applications. Everything we've implemented with these ANEs has worked
> > > perfectly.
> > >
> > > Cheers,
> > >
> > > Erik
> > >
> > > > On Jul 6, 2017, at 8:26 AM, npem <[hidden email]
> > > <http:///user/SendEmail.jtp?type=node=15418=0>> wrote:
> > > >
> > > > I am trying to setup a Scheduler for a Mobile App that would notify
> the
> > > user
> > > > if an
> > > > Item is past its usedby date.
> > > >
> > > > I thought I might use Google Calendar to do this, as the app might
> not
> > > be
> > > > running
> > > > when the date has passed.
> > > >
> > > > I can’t find a way to access the local calendar on iOS and Android,
> > > hence my
> > > > thinking
> > > > regarding the use of Google Calendar
> > > >
> > > > I’m trying to use:
> > > > *as3googlecalendarlib*
> > > > (See
> > > > *https://sujitreddyg.wordpress.com/2009/01/29/as3-
> > > library-for-google-calendar-as3googlecalendarlib/*)
> > > >
> > > > And have used the sample code from the text near the bottom, which
> > > starts::
> > > > *Tsu Says:August 16, 2010 at 1:54pm*
> > > >
> > > >
> > > >
> > > > However I get the messages:
> > > > *INFORMATION : Sending authentication request
> > > >
> > > > INFORMATION : Authentication request sent
> > > >
> > > > INFORMATION : Server request to authentication invoked fault event.
> > This
> > > can
> > > > be because of authentication failure also*
> > > >
> > > > I know m

Re: Connection to Google Calendar as a Proxy Scheduler

2017-07-07 Thread npem
Thanks for the information.

It's certainly worth a consideration if no better options present
themselves:-)

Phil

On Thu, Jul 6, 2017 at 6:06 PM, Erik J. Thomas [via Apache Flex Users] <
ml+s246n15418...@n4.nabble.com> wrote:

> Hey Phil:
>
> I highly recommend using ANEs for native integration and to do the types
> of things you are doing. My experience with Google APIs, places, calendar
> were not that good either.
>
> Here is an ANE you should consider. Sure it costs a little money, but only
> about the cost of a lunch for two per year:
>
> https://airnativeextensions.com/extension/com.distriqt.Calendar <https://
> airnativeextensions.com/extension/com.distriqt.Calendar>
>
> This ANE integrates with the native calendars and allows you to schedule
> events that will notify the user, etc. Seems it will do what you want.
>
> Here is the full list of very well supported ANEs from the same company we
> use for our ANEs.
>
> https://airnativeextensions.com/extensions <https://
> airnativeextensions.com/extensions>
>
> They cost a little (actually quite inexpensive), but you get first-class
> support in docs, tutorials, forum, and tech support. We pay $10/year for
> the fingerprint manager/touch ID ANE and $35/year for all native dialogs,
> like busy, alert, choices, and we use the same license for multiple
> applications. Everything we've implemented with these ANEs has worked
> perfectly.
>
> Cheers,
>
> Erik
>
> > On Jul 6, 2017, at 8:26 AM, npem <[hidden email]
> <http:///user/SendEmail.jtp?type=node=15418=0>> wrote:
> >
> > I am trying to setup a Scheduler for a Mobile App that would notify the
> user
> > if an
> > Item is past its usedby date.
> >
> > I thought I might use Google Calendar to do this, as the app might not
> be
> > running
> > when the date has passed.
> >
> > I can’t find a way to access the local calendar on iOS and Android,
> hence my
> > thinking
> > regarding the use of Google Calendar
> >
> > I’m trying to use:
> > *as3googlecalendarlib*
> > (See
> > *https://sujitreddyg.wordpress.com/2009/01/29/as3-
> library-for-google-calendar-as3googlecalendarlib/*)
> >
> > And have used the sample code from the text near the bottom, which
> starts::
> > *Tsu Says:August 16, 2010 at 1:54pm*
> >
> >
> >
> > However I get the messages:
> > *INFORMATION : Sending authentication request
> >
> > INFORMATION : Authentication request sent
> >
> > INFORMATION : Server request to authentication invoked fault event. This
> can
> > be because of authentication failure also*
> >
> > I know my username and password are correct as I logged out and then in
> with
> > them.
> >
> > Anyone any thoughts if they have used this library?
> > Or any other ideas on a scheduler for mobile?
> >
> > BTW. I am using:
> > Flex SDK: 4.16.0
> > AIR SDK:  25.0.0
> >
> >
> > Thanks in advance,
> > Phil.
> >
> >
> >
> > --
> > View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/Connection-to-Google-Calendar-
> as-a-Proxy-Scheduler-tp15416.html
> > Sent from the Apache Flex Users mailing list archive at Nabble.com.
> >
>
>
>
> --
> If you reply to this email, your message will be added to the discussion
> below:
> http://apache-flex-users.246.n4.nabble.com/
> Connection-to-Google-Calendar-as-a-Proxy-Scheduler-tp15416p15418.html
> To unsubscribe from Connection to Google Calendar as a Proxy Scheduler, click
> here
> <http://apache-flex-users.246.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code=15416=cGhpbGlwLm1lZGxhbUBnbWFpbC5jb218MTU0MTZ8OTcwMjY1NTIz>
> .
> NAML
> <http://apache-flex-users.246.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer=instant_html%21nabble%3Aemail.naml=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>



-- 
Philip Medlam




--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Connection-to-Google-Calendar-as-a-Proxy-Scheduler-tp15416p15425.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Connection to Google Calendar as a Proxy Scheduler

2017-07-06 Thread npem
I am trying to setup a Scheduler for a Mobile App that would notify the user
if an
Item is past its usedby date.

I thought I might use Google Calendar to do this, as the app might not be
running
when the date has passed.

I can’t find a way to access the local calendar on iOS and Android, hence my
thinking
regarding the use of Google Calendar

I’m trying to use:
*as3googlecalendarlib*
(See
*https://sujitreddyg.wordpress.com/2009/01/29/as3-library-for-google-calendar-as3googlecalendarlib/*)

And have used the sample code from the text near the bottom, which starts::
*Tsu Says:August 16, 2010 at 1:54pm*



However I get the messages:
*INFORMATION : Sending authentication request

INFORMATION : Authentication request sent

INFORMATION : Server request to authentication invoked fault event. This can
be because of authentication failure also*

I know my username and password are correct as I logged out and then in with
them.

Anyone any thoughts if they have used this library?
Or any other ideas on a scheduler for mobile?

BTW. I am using:
Flex SDK: 4.16.0
AIR SDK:  25.0.0


Thanks in advance,
Phil.



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Connection-to-Google-Calendar-as-a-Proxy-Scheduler-tp15416.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: AIR build error 105

2016-12-12 Thread npem
I agree with Clint, my xml file has lines such as:

appIcons/icon_16.png
etc
(ie without the quotes)

Phil.



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/AIR-build-error-105-tp14323p14329.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Drag and drop on Mac OS Sierra

2016-09-30 Thread npem
The Drag & Drop examples on the Tour De Flex Website:
http://flex.apache.org/tourdeflex/index.html

work fine.

I'm running Sierra 10.12

Phil.



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Drag-and-drop-on-Mac-OS-Sierra-tp13691p13692.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Spark DataGrid editable problem

2016-09-14 Thread npem
I would still be interested in how to solve this,
but I have replaced the DataGrid with an appropriate Nº of
textInput components, which works very nicely

So, essentially this question is closed

Phil.



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Spark-DataGrid-editable-problem-tp13537p13541.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Spark DataGrid editable problem

2016-09-12 Thread npem
Hi,
I have a VERY basic DataGrid as shown below.
All OK when I use the emulator (using intelliJ on a Mac)

When I run this on an iPad or an Android Phone, I cannot
edit the 2nd column at all

I can only edit row1, column1

Anyone with any thoughts on what's happening and how
I can fix this would be very appreciated?

Note: That I have a more complex project and
would like the user to be able to edit and enter data in a DataGrid,
but I have the problem outlined in this simple example:-(

Phil.

==

I am running: 
Flex: 4.15.0
AIR: 20.0.0.233

Android is running 5.0.2

=


*
http://ns.adobe.com/mxml/2009; 
xmlns:s="library://ns.adobe.com/flex/spark">












*





--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Spark-DataGrid-editable-problem-tp13537.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Problem Adding Mobile App to iStore

2016-03-10 Thread npem
Hi, I've coded an Air Mobile application 
(Flex SDK 4.14.1, AIR SDK 16.0.0.292) 

Testing phase is over, but I cannot get the App uploaded via Application
Loader.

I get the following message:
*No suitable application records were found. Verify your bundle identifier
'*biz.GlowBooks.Algebra-GCSE-Tutor*' is correct.*

I have done the following:

1) I have a CertificateSigningRequest.certSigningRequest

2) I added this to my Keychain as:
iPhone Distribution

3) In the “Member Center”:
I have a Production Certificate for iOS Distribution

4) I have a iOS Provisioning Profile of:
*biz.GlowBooks.Algebra-GCSE-Tutor*

5)
My Flex App has the following in the xml file:
*biz.GlowBooks.Algebra-GCSE-Tutor*


6) The Apple Page to detail the app and add icons etc states:
Your Bundle ID *biz.glowbooks.Algebra-GCSE-Tutor*

Anyone any thoughts?

Any one with a good reference to do this provisioning etc and adding an App
to the iStore?


Help would be appreciated,

Phil.



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Problem-Adding-Mobile-App-to-iStore-tp12177.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


iOS App displays my Splash Screen Image then a White screen

2016-03-09 Thread npem
Hi, I'm coding an Air Mobile application 
(Flex SDK 4.14.1, AIR SDK 16.0.0.292) 

My iOS App displays my Splash Screen Image then a White screen then loads
the App

Is there any way that you can stop the white screen loading between the
Splash screen showing and the App loading?

Note, if I set a background color, the white screen "uses" this color.

Thanks,

Phil.



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/iOS-App-displays-my-Splash-Screen-Image-then-a-White-screen-tp12161.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: iPhone 6s+ black bars at top and bottom of App

2016-03-06 Thread npem
Thank you, as that was the missing part of the problem.

You have saved me pulling out the rest of my hair.

Again many thanks to those helping with this and to those looking at it, to
see if they could help.

Phi  l:-)

On Sun, Mar 6, 2016 at 4:56 PM, After24 [via Apache Flex Users] <
ml-node+s246n12134...@n4.nabble.com> wrote:

> Hello Phil,
>
> In IntelliJ, on the iOS tab of the module settings, you have to
> reference the path to the /src folder (Files and folders to package) in
> order to incorporate the splash images in the final .ipa.
> I supposed there is something similar on other IDEs.
>
> Vincent.
>
>
>
>
> Le 06/03/2016 10:25, npem a écrit :
>
> > OK,
> > I have the following files in the src directory:
> >
> > Default-375w-667h@2x~iphone.png (750x1334)
> > Default-414w-736h@3x~iphone.png (1242x2208)
> > Default-568h@2x~iphone.png (640x1136)
> > Default@2x~iphone.png (640x960)
> > Default~iphone.png (320x480)
> >
> > And the ViewNavigatorApplication has:
> >
> >  >  xmlns:fx="http://ns.adobe.com/mxml/2009;
> >  xmlns:s="library://ns.adobe.com/flex/spark"
> >  applicationDPI="160"
> >  firstView="views.toggle"
> >  backgroundColor="0xFF9500">
> >
> >
> > ie no reference to the Splash images
> >
> >
> > The XML files, set the aspect ratio to portrait:
> >
> > portrait
> >
> >
> >
> > On startup, the *iPhone 6s+* splash screen is not shown, only the
> > background color (0xFF9500).
> >
> > Also, it has the black lines at top and bottom as does the rest of the
> > application.
> >
> >
> > So, it appears not to be referencing the splash images at all!
> >
> > I have rebuilt the Project to make sure it's a new compile.
> >
> >
> > Heeelp!
> >
> >
> > Phil.
> >
> >
> > On Sat, Mar 5, 2016 at 4:57 PM, OmPrakash Muppirala [via Apache Flex
> Users]
> > <[hidden email] <http:///user/SendEmail.jtp?type=node=12134=0>>
> wrote:
> >
> >> On Mar 5, 2016 8:57 AM, "npem" <[hidden email]
> >> <http:///user/SendEmail.jtp?type=node=12128=0>> wrote:
> >>> Thanks for your reply, however a couple of questions:
> >>>
> >>> 1) I am testing on the iPhone 6s+, don't I need a 3x version of this?
> >>>
> >>> 2) How do I refer to each of the possible splash screen files?
> >> You don't need to reference the images in your code.   Just the
> presence
> >> of
> >> the image in the correct location souks fix this issue.
> >>
> >> Thanks,
> >> Om
> >>
> >>> Do I need to use the SplashScreenImage class to define the images
> based
> >> on
> >>> the dpi and orientation?
> >>>
> >>> Thanks again,
> >>>
> >>> A bit confused,
> >>> Phil.
> >>>
> >>> On Sat, Mar 5, 2016 at 3:50 PM, After24 [via Apache Flex Users] <
> >>> [hidden email] <http:///user/SendEmail.jtp?type=node=12128=1>>
> >> wrote:
> >>>> Hi Phil,
> >>>>
> >>>> Yes, black bars appears when the following splash screen files are
> >> missing
> >>
> >>>> :
> >>>>
> >>>> Default@2x~iphone.png
> >>>> Default-375w-667h@2x~iphone.png
> >>>> Default-568h@2x~iphone.png
> >>>> Default~iphone.png
> >>>>
> >>>> Cheers.
> >>>>
> >>>> Vincent.
> >>>>
> >>>> --
> >>>> If you reply to this email, your message will be added to the
> >> discussion
> >>>> below:
> >>>>
> >>>>
> >>
> http://apache-flex-users.246.n4.nabble.com/iPhone-6s-black-bars-at-top-and-bottom-of-App-tp12125p12126.html
> >>>> To unsubscribe from iPhone 6s+ black bars at top and bottom of App,
> >> click
> >>>> here
> >>>> <
> >>>> .
> >>>> NAML
> >>>> <
> >>
> http://apache-flex-users.246.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer=instant_html%21nabble%3Aemail.naml=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabb

Re: iPhone 6s+ black bars at top and bottom of App

2016-03-06 Thread npem
OK,
I have the following files in the src directory:

Default-375w-667h@2x~iphone.png (750x1334)
Default-414w-736h@3x~iphone.png (1242x2208)
Default-568h@2x~iphone.png (640x1136)
Default@2x~iphone.png (640x960)
Default~iphone.png (320x480)

And the ViewNavigatorApplication has:

http://ns.adobe.com/mxml/2009;
xmlns:s="library://ns.adobe.com/flex/spark"
applicationDPI="160"
firstView="views.toggle"
backgroundColor="0xFF9500">


ie no reference to the Splash images


The XML files, set the aspect ratio to portrait:

portrait



On startup, the *iPhone 6s+* splash screen is not shown, only the
background color (0xFF9500).

Also, it has the black lines at top and bottom as does the rest of the
application.


So, it appears not to be referencing the splash images at all!

I have rebuilt the Project to make sure it's a new compile.


Heeelp!


Phil.


On Sat, Mar 5, 2016 at 4:57 PM, OmPrakash Muppirala [via Apache Flex Users]
<ml-node+s246n12128...@n4.nabble.com> wrote:

> On Mar 5, 2016 8:57 AM, "npem" <[hidden email]
> <http:///user/SendEmail.jtp?type=node=12128=0>> wrote:
> >
> > Thanks for your reply, however a couple of questions:
> >
> > 1) I am testing on the iPhone 6s+, don't I need a 3x version of this?
> >
> > 2) How do I refer to each of the possible splash screen files?
>
> You don't need to reference the images in your code.   Just the presence
> of
> the image in the correct location souks fix this issue.
>
> Thanks,
> Om
>
> > Do I need to use the SplashScreenImage class to define the images based
> on
> > the dpi and orientation?
> >
> > Thanks again,
> >
> > A bit confused,
> > Phil.
> >
> > On Sat, Mar 5, 2016 at 3:50 PM, After24 [via Apache Flex Users] <
> > [hidden email] <http:///user/SendEmail.jtp?type=node=12128=1>>
> wrote:
> >
> > > Hi Phil,
> > >
> > > Yes, black bars appears when the following splash screen files are
> missing
>
> > > :
> > >
> > > Default@2x~iphone.png
> > > Default-375w-667h@2x~iphone.png
> > > Default-568h@2x~iphone.png
> > > Default~iphone.png
> > >
> > > Cheers.
> > >
> > > Vincent.
> > >
> > > --
> > > If you reply to this email, your message will be added to the
> discussion
> > > below:
> > >
> > >
>
> http://apache-flex-users.246.n4.nabble.com/iPhone-6s-black-bars-at-top-and-bottom-of-App-tp12125p12126.html
> > > To unsubscribe from iPhone 6s+ black bars at top and bottom of App,
> click
> > > here
> > > <
>
> > > .
> > > NAML
> > > <
>
> http://apache-flex-users.246.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer=instant_html%21nabble%3Aemail.naml=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
>
> >
> > >
> >
> >
> >
> > --
> > Philip Medlam
> >
> >
> >
> >
> > --
> > View this message in context:
>
> http://apache-flex-users.246.n4.nabble.com/iPhone-6s-black-bars-at-top-and-bottom-of-App-tp12125p12127.html
> > Sent from the Apache Flex Users mailing list archive at Nabble.com.
>
>
> --
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://apache-flex-users.246.n4.nabble.com/iPhone-6s-black-bars-at-top-and-bottom-of-App-tp12125p12128.html
> To unsubscribe from iPhone 6s+ black bars at top and bottom of App, click
> here
> <http://apache-flex-users.246.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code=12125=cGhpbGlwLm1lZGxhbUBnbWFpbC5jb218MTIxMjV8OTcwMjY1NTIz>
> .
> NAML
> <http://apache-flex-users.246.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer=instant_html%21nabble%3Aemail.naml=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>



-- 
Philip Medlam




--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/iPhone-6s-black-bars-at-top-and-bottom-of-App-tp12125p12133.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: iPhone 6s+ black bars at top and bottom of App

2016-03-05 Thread npem
Thanks for your reply, however a couple of questions:

1) I am testing on the iPhone 6s+, don't I need a 3x version of this?

2) How do I refer to each of the possible splash screen files?
Do I need to use the SplashScreenImage class to define the images based on
the dpi and orientation?

Thanks again,

A bit confused,
Phil.

On Sat, Mar 5, 2016 at 3:50 PM, After24 [via Apache Flex Users] <
ml-node+s246n12126...@n4.nabble.com> wrote:

> Hi Phil,
>
> Yes, black bars appears when the following splash screen files are missing
> :
>
> Default@2x~iphone.png
> Default-375w-667h@2x~iphone.png
> Default-568h@2x~iphone.png
> Default~iphone.png
>
> Cheers.
>
> Vincent.
>
> --
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://apache-flex-users.246.n4.nabble.com/iPhone-6s-black-bars-at-top-and-bottom-of-App-tp12125p12126.html
> To unsubscribe from iPhone 6s+ black bars at top and bottom of App, click
> here
> 
> .
> NAML
> 
>



-- 
Philip Medlam




--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/iPhone-6s-black-bars-at-top-and-bottom-of-App-tp12125p12127.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


iPhone 6s+ black bars at top and bottom of App

2016-03-05 Thread npem
Hi, I'm coding an Air Mobile application 
(Flex SDK 4.14.1, AIR SDK 16.0.0.292) 

It is fine with iPad4, iPad Mini, Android Phone and tablets
BUT
On my *iPhone 6s+*, the App has a black bar on the top and bottom
(as does the splash screen).

I do have a single splash screen Image (for testing this)
which is: *default-414w-7...@3x.png*

referenced in ViewNavigatorApplication as:
*applicationDPI="160"
firstView="views.toggle"
splashScreenImage="@Embed('images/default-414w-7...@3x.png')"
splashScreenScaleMode="letterbox"
splashScreenMinimumDisplayTime="3000"*

The image is:
*1242×2208x72*

The xml file has:
*high*


I believe the splash image is causing the problem, as I understand this
determines the height
of the App?

Anyone any thoughts on what I am missing?

Thanks for looking at this:-)

Phil.






--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/iPhone-6s-black-bars-at-top-and-bottom-of-App-tp12125.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Error #2006: The supplied index is out of bounds

2016-02-28 Thread npem
OK thanks for your efforts.

Hope there is a fix, but will look at the workaround suggested in the bug
report.

Phil.

On Mon, Feb 29, 2016 at 12:19 AM, OmPrakash Muppirala [via Apache Flex
Users] <ml-node+s246n12079...@n4.nabble.com> wrote:

> Looks like this issue has been reported already:
> https://issues.apache.org/jira/browse/FLEX-34391
>
> I'm trying to check in a fix for this.
>
> Thanks,
> Om
>
> On Sun, Feb 28, 2016 at 9:12 AM, OmPrakash Muppirala <[hidden email]
> <http:///user/SendEmail.jtp?type=node=12079=0>>
> wrote:
>
> > Please file a bug with small test case app that reproduces this issue.
> I
> > will take a look at this asap.
> >
> > Also note which devices this bug occurs in.
> >
> > Thanks,
> > Om
> > On Feb 28, 2016 9:09 AM, "npem" <[hidden email]
> <http:///user/SendEmail.jtp?type=node=12079=1>> wrote:
> >
> >> Thanks for the suggestion, unfortunately, this has the same problem.
> >>
> >> Out of interest, if I use an tablet, rather than a phone, the problem
> does
> >> not occur.
> >>
> >> Obviously it's "Out of Bounds" depends upon the screen height.
> >>
> >> G
> >>
> >> Phil.
> >>
> >> On Sun, Feb 28, 2016 at 3:23 PM, piotrz [via Apache Flex Users] <
> >> [hidden email] <http:///user/SendEmail.jtp?type=node=12079=2>>
> wrote:
> >>
> >> > Hi Phil,
> >> >
> >> > Maybe more suitable solution would be use DataGroup with some custom
> >> Item
> >> > Renderers.
> >> >
> >> > Piotr
> >> > Apache Flex PMC
> >> > [hidden email] <http:///user/SendEmail.jtp?type=node=12079=3>
> >> >
> >> >
> >> > --
> >> > If you reply to this email, your message will be added to the
> discussion
> >> > below:
> >> >
> >> >
> >>
> http://apache-flex-users.246.n4.nabble.com/Error-2006-The-supplied-index-is-out-of-bounds-tp12068p12076.html
> >> > To unsubscribe from Error #2006: The supplied index is out of bounds,
> >> click
> >> > here
> >> > <
> >> >
> >> > .
> >> > NAML
> >> > <
> >>
> http://apache-flex-users.246.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer=instant_html%21nabble%3Aemail.naml=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> >> >
> >> >
> >>
> >>
> >>
> >> --
> >> Philip Medlam
> >>
> >>
> >>
> >>
> >> --
> >> View this message in context:
> >>
> http://apache-flex-users.246.n4.nabble.com/Error-2006-The-supplied-index-is-out-of-bounds-tp12068p12077.html
> >> Sent from the Apache Flex Users mailing list archive at Nabble.com.
> >>
> >
>
>
> --
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://apache-flex-users.246.n4.nabble.com/Error-2006-The-supplied-index-is-out-of-bounds-tp12068p12079.html
> To unsubscribe from Error #2006: The supplied index is out of bounds, click
> here
> <http://apache-flex-users.246.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code=12068=cGhpbGlwLm1lZGxhbUBnbWFpbC5jb218MTIwNjh8OTcwMjY1NTIz>
> .
> NAML
> <http://apache-flex-users.246.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer=instant_html%21nabble%3Aemail.naml=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>



-- 
Philip Medlam




--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Error-2006-The-supplied-index-is-out-of-bounds-tp12068p12081.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Error #2006: The supplied index is out of bounds

2016-02-28 Thread npem
Thanks for the suggestion, unfortunately, this has the same problem.

Out of interest, if I use an tablet, rather than a phone, the problem does
not occur.

Obviously it's "Out of Bounds" depends upon the screen height.

G

Phil.

On Sun, Feb 28, 2016 at 3:23 PM, piotrz [via Apache Flex Users] <
ml-node+s246n12076...@n4.nabble.com> wrote:

> Hi Phil,
>
> Maybe more suitable solution would be use DataGroup with some custom Item
> Renderers.
>
> Piotr
> Apache Flex PMC
> piotrzarzyck...@gmail.com
>
>
> --
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://apache-flex-users.246.n4.nabble.com/Error-2006-The-supplied-index-is-out-of-bounds-tp12068p12076.html
> To unsubscribe from Error #2006: The supplied index is out of bounds, click
> here
> 
> .
> NAML
> 
>



-- 
Philip Medlam




--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Error-2006-The-supplied-index-is-out-of-bounds-tp12068p12077.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Error #2006: The supplied index is out of bounds

2016-02-27 Thread npem
Not adding via AScript.

I agree it's a bug.
Will try to tidy this up and create a bug report for this.

As I know the height and the number f objects, I'' try this with just a
group
(which doesn't have this problem)
and lay them out by positioning then with an absolute 'y' value, but
it is pretty inelegant:-(

Unless anyone has a better idea?

Phil.

On Sat, Feb 27, 2016 at 2:41 PM, Clint M [via Apache Flex Users] <
ml-node+s246n12070...@n4.nabble.com> wrote:

> Ya I encountered this as well a few weeks ago.
>
> There's a bug in ScrollableStageText that blows out the layout algorithm.
> It's trying to set the viewPort Rectangle of a stageText to a value that's
> greater than 8192px wide.
>
> I don't think there's a bug filed for this so please file one if you have
> time.
>
> As a workaround (until the bug is fixed) give the group a maxWidth of
> something less than 8192px to prevent the textInputs from expanding
> outside
> the 8192px bounds.
>
> On Sat, Feb 27, 2016 at 4:51 AM, npem <[hidden email]
> <http:///user/SendEmail.jtp?type=node=12070=0>> wrote:
>
> > Hi, I'm coding an Air Mobile application
> > (Flex SDK 4.14.1, AIR SDK 16.0.0.292)
> >
> > I have encountered a problem when adding elements to a VGroup
> >
> > eg
> > *
> > 
> > 
> > *
> >
> > This is fine, but when I add a larger number of TextInputs
> > (26 on the Android phone I am testing on)
> > I get the error below
> >
> > (Note that this is a test to reproduce the error with a more complex
> > project)
> >
> > Is there a workaround for this?
> >
> > Thanks in advance,
> >
> > Phil
> >
> >
> >
> > *
> > [Fault] exception, information=ArgumentError: Error #2006: The supplied
> > index is out of bounds.
> > at flash.text::StageText/set viewPort()
> > at
> >
> >
> spark.components.supportClasses::ScrollableStageText/updateViewPort()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ScrollableStageText.as:1650]
>
> > at
> >
> >
> spark.components.supportClasses::ScrollableStageText/commitProperties()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ScrollableStageText.as:1356]
>
> > at
> >
> >
> mx.core::UIComponent/validateProperties()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/framework/src/mx/core/UIComponent.as:8751]
>
> > at
> >
> >
> mx.managers::LayoutManager/validateProperties()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/framework/src/mx/managers/LayoutManager.as:605]
>
> > at
> >
> >
> mx.managers::LayoutManager/doPhasedInstantiation()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/framework/src/mx/managers/LayoutManager.as:821]
>
> > at
> >
> >
> mx.managers::LayoutManager/doPhasedInstantiationCallback()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/framework/src/mx/managers/LayoutManager.as:1188]
>
> > *
> >
> >
> >
> >
> > --
> > View this message in context:
> >
> http://apache-flex-users.246.n4.nabble.com/Error-2006-The-supplied-index-is-out-of-bounds-tp12068.html
> > Sent from the Apache Flex Users mailing list archive at Nabble.com.
> >
>
>
> --
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://apache-flex-users.246.n4.nabble.com/Error-2006-The-supplied-index-is-out-of-bounds-tp12068p12070.html
> To unsubscribe from Error #2006: The supplied index is out of bounds, click
> here
> <http://apache-flex-users.246.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code=12068=cGhpbGlwLm1lZGxhbUBnbWFpbC5jb218MTIwNjh8OTcwMjY1NTIz>
> .
> NAML
> <http://apache-flex-users.246.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer=instant_html%21nabble%3Aemail.naml=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>



-- 
Philip Medlam




--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Error-2006-The-supplied-index-is-out-of-bounds-tp12068p12071.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Error #2006: The supplied index is out of bounds

2016-02-27 Thread npem
Hi, I'm coding an Air Mobile application
(Flex SDK 4.14.1, AIR SDK 16.0.0.292)

I have encountered a problem when adding elements to a VGroup

eg
*


*

This is fine, but when I add a larger number of TextInputs
(26 on the Android phone I am testing on)
I get the error below

(Note that this is a test to reproduce the error with a more complex
project)

Is there a workaround for this?

Thanks in advance,

Phil



*
[Fault] exception, information=ArgumentError: Error #2006: The supplied
index is out of bounds.
at flash.text::StageText/set viewPort()
at
spark.components.supportClasses::ScrollableStageText/updateViewPort()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ScrollableStageText.as:1650]
at
spark.components.supportClasses::ScrollableStageText/commitProperties()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ScrollableStageText.as:1356]
at
mx.core::UIComponent/validateProperties()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/framework/src/mx/core/UIComponent.as:8751]
at
mx.managers::LayoutManager/validateProperties()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/framework/src/mx/managers/LayoutManager.as:605]
at
mx.managers::LayoutManager/doPhasedInstantiation()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/framework/src/mx/managers/LayoutManager.as:821]
at
mx.managers::LayoutManager/doPhasedInstantiationCallback()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/framework/src/mx/managers/LayoutManager.as:1188]
*




--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Error-2006-The-supplied-index-is-out-of-bounds-tp12068.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: pushView to a view using a variable as the view name

2015-12-13 Thread npem
As there was no feedback, I have used the inelegant solution
of having a switch statement based on the text object the
view receives.

Thanks to those who looked at this question with a view (no pun intended) to
answering it:-)



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/pushView-to-a-view-using-a-variable-as-the-view-name-tp11637p11658.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


pushView to a view using a variable as the view name

2015-12-10 Thread npem
Hi,
I am opening a new view and have access to an object with the name of the
sending view,
which I will call "fromView"

Rather than using:
*navigator.pushView(views.fromView, null, null, transition);
*

I'd like to use a variable name, such as:
*navigator.pushView(views.fromViewVariable, null, null, transition);
*

I have tried variations of:
*var myClass:Class = getDefinitionByName("views.fromView") as
Class;
var fromViewVariable:Object = new myClass();
navigator.pushView(Class(fromViewVariable), null, null,
transition);*

But can't get the code to work.

Any help will be appreciated.

TIA,
Phil.



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/pushView-to-a-view-using-a-variable-as-the-view-name-tp11637.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.