RE: [EXTERNAL] Strange Little Scrollbar

2021-06-15 Thread bilbosax
Brilliant!  Thanks for the suggestion.

I've spent hours going over dimensions and trying to turn off scrollbars,
etc.  I wish I understood why it is happening in the first place, but I am
not sure it is my error.  It is happening in some browsers, but not all. 
Probably would help if I had more experience in HTML/Javascript LOL.

Thanks again, can't believe the solution was that simple.



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


Strange Little Scrollbar

2021-06-15 Thread bilbosax
I have made my first app using Royale.  The structure is made based upon Tour
De Jewel as a template using ResponsiveView so that it looks correct on all
devices.  Search as I may, I cannot unearth one small problem.  I have a
mysterious scrollbar on the right of the browser that only scrolls like 5
pixels.  I would like to be rid of it entirely, but can't seem to figure out
where it is coming from and turn it off.  And since I use ResponsiveView and
listen to the "sizeChanged" event to scale all of my content within the
current browser dimension, I don't understand why this is showing up at all. 
Alas, it is.  Please let me know if you have seen this before, or have any
suggestions on where I might look to get started.  Thanks!


 



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


Re: Mouse Wheel and Scroll Bars on Mac

2021-05-24 Thread bilbosax
Just in case anybody else reads this, I thought I would post the solution. 
If you create an AIR desktop app, but you include a single instance of a
MobileSkin to skin an element, the entire app will not display as intended
and the scrollbars will not behave correctly on a Mac.  Windows is a little
more forgiving, but only a little. On a Mac, AIR actually will behave like
it is on a mobile device making the scrollbar disappear and applying mobile
skins to components like checkboxes automatically making the app look
differently than designed.

YOU MUST REMOVE ALL MOBILE SKINS!!!



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


Mouse Wheel and Scroll Bars on Mac

2021-05-19 Thread bilbosax
I have a desktop AIR app using AIR 33.1.1.406. Everything is running great on
Windows, but I have run into a problem with the mouse wheel using the
Scroller component on Mac. I have tried setting the verticalScrollPolicy to
"on" and "auto", but neither option forces the scrollbar to display, and the
problem is that the mouse wheel only scrolls the content while the scrollbar
is visible. So I can manually drag the content with the mouse, this makes
the scrollbar appear, and then I can use the mouse wheel to scroll content
for about 1 second until the scrollbar fades away. Once the scrollbar
disappears, the mousewheel does not move the content. Why won't the
scrollbar stay visible on Mac???

  

[Content]





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


Re: Third Party Dependencies on Installation

2021-04-03 Thread bilbosax
I think I may have figured it out.  On a Mac, you can use "sudo" to be a
superuser and give you access to important administrative functions. But on
windows this doesn't work.  I found that if I opened the "command prompt"
app in administrative mode, then the function below worked and I was able to
install the font jars just fine.  So the repository is working fine, I just
did not understand the security structure of the Flash Builder sdks folder. 
It requires administrative permissions.

ant thirdparty-downloads



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


Third Party Dependencies on Installation

2021-04-02 Thread bilbosax
The Flex Installer no longer seems to be installing the fonts libraries and
other third party dependencies.  I have no idea why that has been disabled. 
But I desperately need the font jars, so I tried to install them using the
instructions on the apache flex site and ran this command inside of the
frameworks folder of the Flex SDK:

*ant thirdparty-downloads*

At first it was going well and then everything failed.  So I am not able to
download and install the dependencies.  I have attached a screenshot so that
you can see what happened.  Any idea why they are no longer in the Flex
Installer, and if possibly the repository has an issue?

Thanks


 




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


Flex SDK Installer - Fonts

2021-03-19 Thread bilbosax
I just installed a fresh 14.6.1 Flex SDK so that I could overlay a new AIR
SDK over the top.  When I was installing the Flex SDK, I noticed there were
no longer font libraries and other extras that were installed with it in the
past.  Turns out that it messed with my apps a little as the fonts are not
the same in my app anymore.

1) Why are the fonts not being installed anymore?

2) If you are discontinuing installation of the fonts and extras, are there
folders from older SDK's that I can copy over to get the same functionality
as we used to get with the old install?

Thanks



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


Re: A Little Help with some Simple Actionscript

2021-01-09 Thread bilbosax
I know this is basic stuff for most of you, but I thought I would add it for
anybody who may have a similar problem. I got the item renderer to work by
adding the following code:

override public function set data(value:Object):void{
super.data = value;

width = AppVars.appWidth * .4;
multiline = false;
lineBreak = LineBreak.EXPLICIT;
truncateToFit("...");
}

Apparently, it is important to wait until the "data" has changed before you
take the actions to truncate the text, but you also have to set a width for
the StyleableTextField that is the basis of the itemrenderer for the
truncateToFit method to work properly. The thing that I cannot figure out is
why I have to calculate a width the way that I have done above instead of
getting it from the MobileGrid that the itemrenderer works on. I would think
width=this.width, or width = parent.width, or width = owner.width or
something along these lines would work, but I was sadly disappointed. In
other words, I have to write a different itemrenderer for every column that
I want to truncate because I cannot get the width of the column from within
the itemrenderer.

Any thoughts on how I might effectively get the width of the column from
within the itemrenderer so that I can apply it to the width of the
StyleableTextField so that it will truncate at the appropriate place in the
string???



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


A Little Help with some Simple Actionscript

2021-01-08 Thread bilbosax
I am using a Flex MobileGrid to display some real estate date in a mobile
app.  Unfortunately, if the columns contain too much information, they do
not automatically truncate the column to ellipsis "..."  As a result, I am
trying to write an ActionScript ItemRenderer to help with this and am having
no success.  I am a MXML programmer for the most part, and use actionscript
for program logic, but I am not very good with creating my own ActionScript
classes.  I will list my ActionScript ItemRenderer here.  Please let me know
if you see anything that would help me to get the ellipsis "..." that I am
hoping for.  Thanks!


package renderers {

import flashx.textLayout.formats.LineBreak;

import spark.components.itemRenderers.MobileGridTextCellRenderer;

public class mobileGridRenderer extends MobileGridTextCellRenderer{

public function mobileGridRenderer() {

super();
multiline = false;
lineBreak = LineBreak.EXPLICIT;
truncateToFit("...");
}
}
}




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


Re: Hide Google API Key

2020-12-11 Thread bilbosax
I think I found an acceptable solution.  The webView ANE that I use allows me
to talk with Javascript.  So I download the Google API key from my database,
pass it to the maps HTML file through Javascript, and everything works
great.  This way, my API key is never in any files on my users device.  If
somehow somebody ever actually got my API key, I could roll it over to a new
one, but my apps would not break.



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


Hide Google API Key

2020-12-11 Thread bilbosax
I have 3 mobile apps and 3 desktop apps that use a Google Maps API Key. If
these were to end up in the wild, it could cost me a pretty penny, and they
are very easy to find. The problem is that they are very visible in a simple
Google Maps html file that is in my local store directory. The HTML file has
to be in that directory for my webview to be able to use it, so somehow I
have to be able to hide the key and not the HTML file.

My first thought was to download the key from my database, and somehow
inject it into my HTML file, but I have no clue how to "inject" a variable
into my HTML. Plus, I would rather not write the key to my html file and
save it on the computer. I wish I were able to figure out a way to "include"
an external variable into my HTML, or use an environmental variable.

Has anyone else ran into a similar problem and have any suggestions as to
how I might handle this?



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


Position a PopUp

2020-12-02 Thread bilbosax
Is it possible to position a PopUp from WITHIN the PopUp?

I have a desktop app that has to deal with a user resizing the app on the
screen. Most buttons and graphical elements I can move and resize to fit on
the screen appropriately using an Event.RESIZE listener for the component.
But my app has a ton of popUps to let a user know if there is an error, to
handle account information, etc. When you create a center-positioned PopUp,
it does not reposition itself as the app is resized. So when a popup hears
the Event.RESIZE event, I wonder if there is a way for a popup to move
itself instead of doing it from outside the PopUp using the popupmanager?

Any ideas if a PopUp can be moved from WITHIN the PopUp?



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


List Scroller Covering My Content

2020-11-26 Thread bilbosax
I am writing a desktop AIR application, and I have a spark List whose purpose
is to display images with some statistics embeded in them. The problem that
I am running into is that the scroller in the List is covering some of the
statistics on the edge of the image and part of a button. I assumed in
Flex/AIR that scrollbars would lie outside of the content, or that content
would be rescaled and displayed so that the content is not affected by the
scroller. Apparently I am wrong. Is there a method or property that can be
set on a List to force the scroller to lie "outside" of the content?

Thanks!



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


Re: Is installer broken?

2020-11-21 Thread bilbosax
Any update on the installer?



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


Re: Buttons Won't Respond to MouseOver

2020-11-20 Thread bilbosax
Thanks, I will give this a try and see how it goes.  To be fair to the
framework, though, I don't believe that it defaulted to mobile skins
necessarily, but every component that I add to an app, I specifically give
it a skin that I want.  Since the MobileGrid by default has a mobile skin, I
simply edited it and added it to my application to give it the right colors
and display for my brand.  So I specifically put a mobile skin on my mobile
components.  The thing that I don't understand is why if I use one mobile
skin, ALL of the app skins lose their over state representation in a desktop
app?  That is a question I would like to know the answer to.



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


Re: Buttons Won't Respond to MouseOver

2020-11-20 Thread bilbosax
Well, I can tell you that I have definitely narrowed down the problem to
skins.  I can add mobile components to my app without it affecting the
behavior of my app, but if I add even a single mobile skin, the entire app
quits responding to the over state.  I will have to look into it because I
am not a wiz at skins, but I am not sure how hard it will be to make a skin
for a mobile component that does not extend MobileSkin, or if it is even
possible.  Do you know?

Does a mobile component require a MobileSkin, or just any skin that defines
the appropriate states of the  component?



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


Re: Buttons Won't Respond to MouseOver

2020-11-18 Thread bilbosax
I am beginning to think this is a deeper issue than I initially thought.
Since my apps was originally written for mobile, it has a few mobile
components and skins for those components. I simply left them in my desktop
versions so that I would have as few changes to make as possible because
these are very large apps, and there are three of them. I am beginning to
think that if you add ANY mobile components, or perhaps a mobile skin, then
the app defaults to a "mobile mentality" for lack of a better word and
behave like a mobile application. Here is an small example.


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


@namespace s "library://ns.adobe.com/flex/spark";
@namespace mx "library://ns.adobe.com/flex/mx";

s|TextInput {
skinClass:
ClassReference("spark.skins.mobile.ScrollingStageTextInputSkin");
fontFamily: "Arial, Helvetica, san-serif";
contentBackgroundAlpha: 1;
contentBackgroundColor: #FF;
paddingTop:0;
paddingBottom:0;
}









This is a simple little desktop app that adds a button and a TextInput in
it, but I have added the skinClass ScrollingStageTextInputSkin in the CSS
for the textInput, which was designed for mobile. To get it to work, you
need to add these two swc's:

[SDK]/frameworks/libs/mobile/mobilecomponents.swc
[SDK]/frameworks/themes/Mobile/mobile.swc

If you run this app after adding the code and swc's, the application works,
but the button will no longer display an over state, just an up state, and
down state. If you simply delete the s|TextInput CSS, then the button
behaves exactly as you would expect with all three states demonstrated.

Unless you have any other ideas, my early thoughts are that I am going to
have to go through each of my apps and meticulously replace all the
mobilegrids and other mobile components with their desktop counterparts to
get this issue resolved.

Any Thoughts??? I would really love to avoid this if there is any other
alternative.



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


Buttons Won't Respond to MouseOver

2020-11-16 Thread bilbosax
I wrote a mobile app. I am now converting it to desktop. I basically just
created a new desktop project and copied all of my files into it from the
previous mobile project. Pretty much everything is working as I expected
except for one thing, none of my button skins will respond to a MouseOver
event.

I have set up a test with one of the buttons, and on "MouseOver", it does
trace out that it was affected, so the MouseOver event is working. But NONE
of my button skins that have an over state are showing it. It is as if the
entire app thinks that it is on a mobile device still where there is no
"over" state.

I have looked over the application descriptor and seen nothing out of the
ordinary. I am using a couple of mobile components in the app, so I don't
know if that can *force* an app into thinking it is a mobile device. But I
have wasted two days trying to figure this out.

Does anyone have a clue why my desktop app skins will not respond to a
mouseover event? Anything in this conversion that I need to change?



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


Custom Chrome is Covering My Content

2020-11-15 Thread bilbosax
I am writing my first desktop app with AIR using Flex.  I have created my own
chrome with minimize, maximize, and gripper buttons, but the TitleBar in the
chrome is overlaying some of my content at the top of the screen.  I assumed
that the chrome would be "outside" the bounds of the application, and the
stage would lie under it.  Is this not the case?  Do I have to manually
figure out the dimensions of the rest of my stage/content to accomodate the
title bar dimensions, or is there a setting that will force the chrome to
lie "outside" of the stage?

The way that it looks at the moment is just as a skin for the
WindowedApplication, but inside of the stage.



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


Re: ns:MobileGrid on Desktop?

2020-11-14 Thread bilbosax
Think I found it.  I included the experimental_mobile.swc found buried in the
sdk folder.  I included it as a dependency and the error disappeared.  I'll
report back if I find that I can't actually use the component on the
desktop.

[SDK]/frameworks/experimental_mobile.swc



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


ns:MobileGrid on Desktop?

2020-11-14 Thread bilbosax
I have a mobile app that I am attempting to move to a desktop app.  It uses a
grid that was made for mobile called the ns:MobileGrid

Although the spark grid is much more powerful, I do not need the power and
would like to simply use the mobile grid if at all possible.  All of the
code is already written but I am getting an error in IntelliJ that simply
states:

"Could not resolve  to a component implementation"

I have been using Flash Builder most of my life, and things just "worked". 
I feel like IntelliJ might be missing a swc or library that is needed for
this component, but I don't know how to find it.

Any thoughts on how I could get this working on a desktop?



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


Re: Is installer broken?

2020-11-12 Thread bilbosax
I'm running into the same problem.  Can't Install 4.16.1, no checkmarks, but
I can install 4.16.0.  Please fix!!!



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


Re: AIR to Royale

2020-11-04 Thread bilbosax
Thanks Piotrz.  This is helpful information.  I don't mind getting a little
dirty, and I just think this might be a shorter solution than learning React
Native or something else that I am totally new to.  I feel like I should be
able to transfer a lot of the main functionality of my app to the web in a
relatively short amount of time.

I did not realize that there even was a Royale mailing list, so I will have
to make my way over there and post some questions.

1. Really briefly, is there a way to make a Royale App adaptive kind of like
using bootstrap, so that it looks good on all devices?

2. Do you personally recommend an IDE that works the most seamlessly with
Royale?



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


AIR to Royale

2020-11-04 Thread bilbosax
Hi everyone, I need a little info.  I have written a mobile real estate app
in Adobe AIR that I also modified to run on the desktop, and now I am
interested in making a web presence with it.  But I hate coding in
html/javascript/css and won't even attempt that route.  So I wanted to ask
about Royale and how mature it is and whether or not it might work for my
needs.  The things that I would have to have from AIR to even consider using
Royale would be the following:

1. AMF - an absolute must!!!
2. lists that I could use custom itemrenderers
3. skinnable buttons
4. Bitmapimage and fxg graphic support
5. Support for textinputs and sliders
6. And of course, support for actionscript logic

Can Royale handle all of these tasks and should I consider it before moving
on to other options?

Thanks for any insight!




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


Re: Skins - Get Properties From Parent Component

2019-12-29 Thread bilbosax
Alex, to be honest, I have become accustomed to avoiding binding expressions
due to performance hits, especially with large array collections and
dataproviders.  I have become so accustomed to doing this, that it
didn't even cross my mind.  But a binding expressions are brilliant in this
situation and streamlines the process considerably, getting rid of two
unneccessary methods and a timing mechanism that can't be 100% relied upon. 
Thanks for this simple but very useful solution.  Here is what the skin code
looks like now:


http://ns.adobe.com/mxml/2009; 
   xmlns:s="library://ns.adobe.com/flex/spark" 
   
xmlns:fb="http://ns.adobe.com/flashbuilder/2009;
   minWidth="20" minHeight="20" 
   alpha.disabled="0.5" 
xmlns:fxgAssets="fxgAssets.*">



  

























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


Re: Skins - Get Properties From Parent Component

2019-12-27 Thread bilbosax
I think I figured it out, or at least found a workaround.  When I was tracing
out the button dimensions in both the original button and on the skin, the
skin value was tracing out BEFORE the button value, and of course giving an
erroneous value.  I believe that because of the way that I manually lay out
the display objects in my app, the creationComplete event in the skin was
firing BEFORE the width and height of the actual button were being set.  So
I stopped using creationComplete on the skin, and switched to updateComplete
and then all of the width/height dimensions started tracing out correctly
and the  component started to draw correctly.

The only other problem I ran into is that I could SEE the button redraw
itself an instant after it displayed which looked unprofessional, so I used
setTimeout to give it 100 ms before I made the skin visible.  Now it looks
perfect.  So my final skin code looks like this:


http://ns.adobe.com/mxml/2009; 
   xmlns:s="library://ns.adobe.com/flex/spark" 
   
xmlns:fb="http://ns.adobe.com/flashbuilder/2009;
   minWidth="20" minHeight="20" 
   alpha.disabled="0.5" 
xmlns:fxgAssets="fxgAssets.*"
updateComplete="sizeRect(event)" visible="false">




























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


Skins - Get Properties From Parent Component

2019-12-27 Thread bilbosax
I have created a simple button skin that has rounded corners that I want to
look like a pill-button.  I want it to work no matter how large or small the
button is.  The main visual object in the skin is of course a  object
that I will have to set the radius parameters on to round out the button. To
get this to work, you need to be able to get the size of the button that is
applied to the parent, and then apply those dimensions to the  in the
skin.  I thought that I could use the "parent" property to get the width and
height of the button that I was placing the skin on, but this is
unfortunately not working.  The skin code looks like the following:


http://ns.adobe.com/mxml/2009; 
   xmlns:s="library://ns.adobe.com/flex/spark" 
   
xmlns:fb="http://ns.adobe.com/flashbuilder/2009;
   minWidth="20" minHeight="20" 
   alpha.disabled="0.5" 
xmlns:fxgAssets="fxgAssets.*"
creationComplete="init(event)">



























You can see that in the init() method on creationcomplete, I trace out
this.parent.height which is tracing 41 pixels, but the actual height of the
button is tracing out as 61.44 pixels, so using "parent" to get the
dimensions of the parent component is not working and is giving an
undesireable number.  How can I go about getting the X and Y dimensions of
the button component from within the skin so that I can apply the correct
radius values to the  in my skin??

Thanks for any thoughts or guesses at all.



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


Re: [Non-DoD Source] Copy and Paste Text

2019-12-27 Thread bilbosax
Most are one line Labels, a couple have multiple lines but not many



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


Re: [Non-DoD Source] Copy and Paste Text

2019-12-18 Thread bilbosax
Alex, thanks for the thought.  This is 3 extremely large and complex apps
that I have been building for almost 3 years.  I don't think I have the
know-how to get something that large done in a reasonable amount of time. 
But thanks for the idea!



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


RE: [Non-DoD Source] Copy and Paste Text

2019-12-18 Thread bilbosax
Thanks for the reply guys, I'm sure I will find something that is satifactory
in the end.  I copy and paste things from the web and from text messages and
from Facebook and many other apps all of the time, so I just figured it
would be naturally included in most text components.  Guess not.

Erik, your thought crossed my mind as well, and is probably the approach I
will take if I get to feeling that ambitious.  I have over a hundred labels
that I would be interested in modifying, and that could entail a lot of work
that I was not prepared for.  But a copy popup would probably do the trick
just fine.

pol2095, using mx Labels popped up on my radar as well and I am interested
in seeing if that might work.  For some reason, in the mobile project that I
created, I don't seem to have access to the mx library, so I will have to
look for the way to force my mobile app to include it.  If it is anything
like RichEditableText, the result might be disappointing.  I wanted a way to
highlight the text and to have handlebars to drag and select whatever text
that you might need, like native apps do.  If mx Labels will not allow this,
I don't think it will work for me.



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


Re: PopUp Problems on Amazon Devices

2019-12-16 Thread bilbosax
Nobody else has encountered this problem before??

On a modern Amazon Fire device, PopUps won't center vertically.  Do I report
this to the guys here with Flex, or at Harmaan?



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


Re: Copy and Paste Text

2019-12-16 Thread bilbosax
Thanks for the reply Erik.  That is definitely an option if I just wanted to
make a few lines of text in the app copyable.  Unfortunately, I have a LOT
of fields that I think a user may want to copy and paste at some point, and
my app would be littered with icons and would look messy.  Thanks for the
thought though, as that would definitely work.

SURELY there has to be some type of text display element that is copyable
other than textInput and textArea isn't there???



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


Copy and Paste Text

2019-12-16 Thread bilbosax
I have written a mobile real estate app that displays a lot of property
information using Spark Labels.  Unfortunately, Spark Labels are not
selectable, and a user might want to copy and paste a long MLS # or address
to Zillow, or copy the agent's phone number or email address to some other
tool.  I tried switching to RichEditableText and setting the "selectable"
property to true, but all I could do was get my text to highlight in blue,
but I had no ability to modify the amount of text that I wanted to copy and
paste, and I was given no option anywhere on the component to actually
"Copy" the text that was highlighted.
 

How can I make a text field of some sort Copyable to to the operating
system's clipboard so that I can offer users the ability to copy and paste
text on a mobile device?



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


PopUp Problems on Amazon Devices

2019-12-07 Thread bilbosax
I use a lot of PopUps in my mobile app.  They work great on iOS, Android, and
Amazon Fire devices, but the don't *POSITION* themselves correctly on Amazon
Fire devices. 

noInvitePopUp = PopUpManager.createPopUp(this, NoInvitePopUp, true) as
NoInvitePopUp;
PopUpManager.centerPopUp(noInvitePopUp);
 

This code should create a popup that is centered horizontally and vertically
inside of the component that created it.  It works on iOS and Android, but
on Amazon Fire, it centers horizontally, but vertically it positions flush
to the top of the component that created it.  Has anyone experienced this,
and do you have any tips to take care of this?  Do I need to post a bug
report?? 



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


Re: Can't Build for Android

2019-11-18 Thread bilbosax
I got it figured out.  It was a duplicate Android library for another ANE
that I was using.

In case anybody reads this, I will explain briefly.  When you use an ANE
from a 3rd party, they usually have support ANE libraries that have to be
included as well.  People tend to just add them blindly because they don't
understand how they work anyway.  But when you are using ANEs from /several/
different parties, each with their own support ANEs, often times you will
duplicate a library, and that can become a problem.  Once I removed the
duplicate support ANEs, the app compiled just fine!



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


Can't Build for Android

2019-11-18 Thread bilbosax
I have been building for Android using Flash Builder 4.7 for several years
now with no problems.  I am currently using AIR 32.  I can build for iOS
with no problems whatsoever, but when I try to create a release build for
Android, I get some strange errors suddenly popping up.  I recently added a
new ANE to my app for One Signal Push Notifications, but it builds for iOS
with no issues, but won't build for Android, so I have no idea if this
problem is related to the ANE.  Here is the error that is spit out.  Please
let me know if it sparks any ideas at all.  Thanks!





aapt tool
failed:C:\Users\waspe\AppData\Local\Temp\65adc63b-f561-40b5-9c09-77f5a124f940\android.support.compat-res\values\values.xml:7:
error: Attribute "fontProviderFetchStrategy" already defined with
incompatible format. 
C:\Users\waspe\AppData\Local\Temp\65adc63b-f561-40b5-9c09-77f5a124f940\support-compat-27.0.2-res\values\values.xml:9:
Original attribute defined here. 
C:\Users\waspe\AppData\Local\Temp\65adc63b-f561-40b5-9c09-77f5a124f940\android.support.compat-res\values\values.xml:12:
error: Attribute "fontProviderFetchTimeout" already defined with
incompatible format. 
C:\Users\waspe\AppData\Local\Temp\65adc63b-f561-40b5-9c09-77f5a124f940\support-compat-27.0.2-res\values\values.xml:14:
Original attribute defined here. 
C:\Users\waspe\AppData\Local\Temp\65adc63b-f561-40b5-9c09-77f5a124f940\android.support.compat-res\values\values.xml:16:
error: Attribute "fontStyle" already defined with incompatible format. 
C:\Users\waspe\AppData\Local\Temp\65adc63b-f561-40b5-9c09-77f5a124f940\support-compat-27.0.2-res\values\values.xml:17:
Original attribute defined here. 



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


"Delete" Button in a list

2019-07-22 Thread bilbosax
I have no idea what you call the feature I want to ask about.  But we have
all used a mobile feature such as in a mobile email browser where you are
scrolling through a list, and if you want to remove an item from the list,
you swipe left across the list item and it reveals a "delete" button for
that list item, which you can then click to remove the item.



Does AIR offer a component like this out of the box, or do you have to build
it out yourself?



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


Re: Flex and Harman AIR - How to Install??

2019-07-11 Thread bilbosax
Got it.  So I will use the Apache Flex installer to install just Flex, and
then use this manual method to overlay AIR on top of it.



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


Flex and Harman AIR - How to Install??

2019-07-09 Thread bilbosax
When Harman finally takes over and starts delivering AIR, will we be able to
continue using the Apache Flex/AIR installer?  I feel like because of the
licensing, the answer is likely no.  If not, would someone consider
providing a document on how to do this manually??



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


Re: Adobe AIR Maintenance and support changes

2019-05-30 Thread bilbosax
This sounds a little exciting to me.  From my understanding, Harman has been
involved "behind the scenes" since 2006, so this gives me the impression
that the transition won't be horribly bumpy.  I also like that there will be
a pricing structure to AIR, a paid product is much more likely to be able to
deliver the kind of support and development that we will need.  My only
concern is that I don't know if it will be associated with the Adobe brand
anymore.  I don't know if people will be as excited to sign up for Harman
AIR as they were about Adobe AIR.

How about all of you Flex developers here at Apache?  What does this
announcement mean for all of you? How do you feel about this transition in
AIR?



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


Re: Adobe AIR Maintenance and support changes

2019-05-30 Thread bilbosax
Was just reading about this on the Adobe forum, but don't think I entirely
understand what is going to happen.  Is Adobe still going to do AIR
development and Harman is just going to provide support, or is Adobe handing
off AIR entirely to Harman and they take over from here??  Will AIR now
become a paid service, if so, how much?  I think I like what I am reading
because it feels like it is going to provide extended life to AIR, but I
have to admit, I don't understand at all what is actually happening.



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


Fee Based Apps vs. Free Apps With Ads

2019-05-06 Thread bilbosax
Sorry guys, I know that this is not a Flex-based question, but I really value
the opinions on this forum and wondered if you could give me a little advice
from your personal experiences since I just launched my business based on
AIR.

I recently started a small business and wrote three Adobe AIR mobile apps
related to the business.  The apps are subscription-based and are not cheap
at $29.99-$49.99/month.  As such, only users that absolutely must have the
app are using it, even though a much larger group of people would LIKE to
use it but can't justify the cost.  I know that if the app were free to
users, the number of users to sign up would increase by a large factor.  But
to support this, I would absolutely have to depend on ads to cover the
bandwidth and data costs, as well as to make a profit.  But I have no idea
how successful ad-based apps are, and if they can bring in more money and
not simply more users.

Does anyone here have any experience with writing mobile apps based on both
fees and ads, and could give me any insight on the advantages or
disadvantages of both??

Thanks guys! 



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


Re: Camera issue on desktop (Win10)

2019-05-04 Thread bilbosax
I can't be of much help because I have never used the camera on a desktop
ever.  But I just wanted to add that this might be a good question to
actually ask on the Adobe Air Developement forum located here.  If nobody
bites here, they might be able to help there as well:

https://forums.adobe.com/community/air/development



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


Re: Flex on iPad

2019-04-09 Thread bilbosax
Although this is a great site to ask any questions regarding Flex, and Flex
with respect to AIR which I do often, another good resource is the AIR forum
on Adobe, specifically the Development forum for AIR.  Here is the link:

https://forums.adobe.com/community/air/development



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


Re: Porting Flex/AIR to the web

2019-04-04 Thread bilbosax
Thanks for the detailed information Alex. I have never written a web app in
any language, so have just a couple of concerns. One is bandwidth and
expense. My AIR app is big enough that if the app needs to be downloaded
every single time a person wants to toy around with it, it would get quite
expensive for me. Do web apps get cached on a users device so that it
doesn't have to be downloaded with every use? If so, how does it know when
you have made a change to the app that requires it to be downloaded again?




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


Re: Porting Flex/AIR to the web

2019-04-03 Thread bilbosax
Is Royale the same as FlexJS???

How far along are these web conversions of AS3 and MXML?  Mine are business
apps, not games, so I don't need advanced 3D technologies or do any tweening
or any heavy graphics work.  But my app does need things like Lists, Grids,
ArrayCollections, Images, fast AMF communication with databases, etc.  Do
these technologies cover most of these bases?



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


Porting Flex/AIR to the web

2019-04-03 Thread bilbosax
I have written  3 mobile and desktop AIR apps, and to give my users as many
options as possible, I want to provide web versions as well just in case
they don't have access to their personal devices.  I really don't enjoy web
programming at all, so if there is any way possible, I would love to be able
to leverage my current AIR projects and port them to the web.  Now that
Flash is about to end, what is my best option for porting my Flex/AIR
projects to the web?



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


Amazon In-App Purchase Question

2019-03-31 Thread bilbosax
On both Android and iOS, if a user buys a subscription and then tries to buy
it again, both the Google Play Store or Apple App Store will post a warning
that the user already owns the subscription.

For Amazon Fire, I am using the In-App Purchase ANE for Amazon, and because
you use the App Tester on a Fire device instead of talking directly to the
AppStore, it is a little confusing as to what will actually happen in
production.  Debugging from my device using the App Tester on a Fire device,
I can purchase the subscription as often as I like without getting any
warning that I already own the subscription.  Do I need to poll the user's
past purchases and and handle creating this warning myself, or will it
actually stop me from making a repeat subscription purchase in production???

Thanks for any insights



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


Re: Auto-Correct Oddities

2019-03-12 Thread bilbosax
Interesting observation kamcknig.  I don't purposely set any theme in my
projects like halo or mobile because I always skin my own components, so
never really paid any attention to themes.  Does anyone know what the
default theme is for a Flex 4.16.1 project?



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


Re: SDK Version Issue for iOS

2019-03-11 Thread bilbosax
This is the post on Adobe where I asked the same question:

https://forums.adobe.com/thread/2597960

I was directed to use the AIR 32 Beta that had been updated since AIR 32 was
added to the Apache installer

https://labs.adobe.com/downloads/air.html


It worked for me like a charm.  No issues so far.



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


Re: SDK Version Issue for iOS

2019-03-11 Thread bilbosax
Yes, absolutely



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


Re: SDK Version Issue for iOS

2019-03-11 Thread bilbosax
Sorry Erik, I am just now seeing this post.  I had the exact same issue and
posted a question about it over on the Adobe AIR forum.  Apparently, the
Apache installer uses and older AIR 32 release.  When I installed AIR 32
directly from Adobe, it included the 12.1 SDK, and problem was solved.



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


Re: Auto-Correct Oddities

2019-03-11 Thread bilbosax
I'm surprised I have not heard back anything on this one yet.  It is a simple
group of textInputs for a Sign Up page, I then validate the information and
write it to my database.  Nothing fancy.  But the data that gets written to
the database is what the user actually typed, not any of the auto-corrected
values.  It is as if the auto-corrected values never actually get committed
to the textInput.text property.  I have only tested this on iOS.  This
surely has to be a bug.  I just need to know where to report it.  Do I
report it to the Flex team here at Apache, or do I post it to the AIR team
over at Adobe???



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


Re: Encrypt or Hide sensitive data

2019-03-09 Thread bilbosax
I pull a key and credentials from a database service that gets encrypted
through HTTPS.  I then use that key to encrypt data in a local sqllite
database.  I made it so I have to pull the key from the service everytime I
want the encrypted data from my local Sqllite.  Just don't ever lose the key
;)

Don't know how secure this is, but it was the approach I took.



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


Auto-Correct Oddities

2019-03-08 Thread bilbosax
Hi all.  I have noticed that when using a textInput on iOS, if I misspell a
word and auto-correct corrects the spelling and I save myTextInput.text to a
database, the value that gets saved is the original misspelling.  It is as
if the auto-corrected value, although displayed in the textInput, never
actually gets comitted to the text property of the textInput.

Has anyone else experienced this?  It is only by pure chance that I stumbled
across this, as none of us would actually check our database to see if a
word actually got stored the way it was spelled.



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


Test for Platform

2019-02-01 Thread bilbosax
So I purchased the InAppBilling ANE from Distriqt yesterday to handle my
in-app purchases on various devices, and realize I still have one small
problem - Amazon Kindle devices. Thankfully, Amazon provides their own ANE
for their App Store. So I know that I can use Platform.isIOS to test if my
app is running on an Apple Device, and Platform.isAndroid to test if my app
is running on Android, but I need a further test. I need to know whether the
device is a Kindle device so that I can call the ANE for their in-app
purchases, or if it is a regular Google Play Android device so that I can
call the ANE for distriqt's InAppBilling ANE.

Once you know that you are using an Android device using Platform.isAndroid,
is there a way to narrow it further and test if you are on an Amazon device
so I can call the right ANE?



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


Re: In-app Purchases

2018-10-22 Thread bilbosax
Yeah, sadly, our business model is a subscription service at this point for
real estate investors.  So individual users subscribe to our service.  Apple
considers a subscription to be an in-app purchase situation.  Now that they
actually KNOW that people could come to my website to sign up, they are
telling me that they will reject the app if it only appears with a login.

But giving Apple 30% just nauseates me.  My investors don't even get that
much. I feel like starting a developers #MeToo movement because it just
feels like I am being taken advantage of LOL

I really thought that since it was a cross-platform service, that I could
choose any merchant I wanted, sign them up on my website, and that Apple
would accept a login-only app.  But now that they know how it operates, they
are telling me it will be rejected.  I don't know if there is any way around
this at this point.  I thought about deleting the app, and submitting a new
one with a login-only approach in a month to see if deleting the app would
also delete any notes and memory that they have on the app, but I'm probably
not the first guy who ever thought about that and it wouldn't pass.

Let me know if you have any other ideas.  I don't mind paying 4-6% like I do
with Stripe, but 30% is absurd.





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


Re: In-app Purchases

2018-10-22 Thread bilbosax
Erik, I am hoping that you may be able to apply your sharp mind to this, but
I think I may be in an unrecoverable situation with Apple :(  I just got off
the phone with App Review, and at this point, they KNOW that I am offering a
paid subscription service, so it does not seem to matter to them that I move
the account handling and payment services to my website and just offer a
login in my app.  That may have worked when they didn't know that users paid
a subscription, but now that they know that payment is taken, they said the
app would be rejected unless I utilize in-app purchase.  I told them that I
do not want any new users to sign up through the app, just for current users
to be able to log in, and they said that if my app did not offer in-app
purchase, that it would be rejected.  I don't know if that means that I just
have to import classes and have code that can be recognized as in-app
purchase, or if that means that I actually have to offer a way for new
clients to sign up.

I know that they keep a lot of notes on all of these apps.  It probably
wouldn't work, but I thought about dropping the app from the app store and
submitting a new App with just a login feature, but I don't know if the
notes are attached to the app, or to my account.

Can you think of any other argument that I could make to Apple that would
allow me to take signups on my website, but only logins in the app?  How did
you get around all of this with Keiretsu Forum??



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


Re: In-app Purchases

2018-10-22 Thread bilbosax
Erik, thanks for all the advice and insights.  I am going to move the account
information and payments to my website, but on desktops and androids, you
will be able to do it on both the website and in the app, but for iOS, it
will all be done on the website only.  This is the only way I can think to
do this.  I hope it is not too confusing for my users, I wanted a seamless
solution.  But it is a professional tool, and I feel like if they are really
interested in the tool, they will figure it out.  It is not for the casual
user.

I have only one other concern - Android.  I understand that for games, they
make you do something similar to Apple with in-app purchases.  But when I
submitted my apps to Android, they just simply went live as if there was no
review process.  I am concerned that they may one day actually look at my
app and have an issue with it.  Are people able to sign up and pay for your
Keiretsu Forum service on Android with no problems in the app, or do they
also have a policy where you can't unlock content by paying with a source
outside of in-app purchases?

I've never seen a Review Guidelines for Google.  There wasn't even a place
to give them login credentials to test the app.

Thanks!



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


Re: In-app Purchases

2018-10-20 Thread bilbosax
Thanks for the reply guys.  I really can't believe this. 10 months ago, I
contacted Apple Pay (since you can't talk to App Review until you submit an
app), and they told me that since I was a cross-platform "service", I could
choose any merchant that I wanted.  Now I am being told that I cannot make a
payment inside of the app without in-app purchase, and now you guys are
suggesting that if I redirect them to my website to create their account
there, that Apple probably won't allow this either.  This just feels like
highway robbery.

The government is going to take 40%
Apple is going to take 30%
Overhead for the business is %10 - %15

Leaving me with a measely %15  Hardly seems worth all the effort! 
Stripe was only going to charge me like 4%, which would leave me with 41%. 
How is it even legal that Apple can charge for 30% of everything done in an
app when most financial services are between 4-6%, and there hasn't been a
class-action lawsuit?

Are you sure that you can't get around this if a user signs up on your
website to create and manage their account, and then just logs into an app
from the app store?  I was told this was perfectly acceptable if you were a
service and you were not simply targeting iOS devices but were
cross-platform.



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


In-app Purchases

2018-10-19 Thread bilbosax
I know that this is an odd place to ask this, but there are relatively few
active forums to ask about Adobe Air. Although it had passed app review
twice, I had an app rejected recently from Apple's App Store because it does
not use the in-app purchase API. My app is a real estate app that you can
log into, or if you don't have an account, you can create it in the app and
pay for a monthly subscription. Since it is a cross-platform app for
Android, Apple, and desktop, I wanted just one payment solution to make it
simple, so I chose Stripe. I open a webview in the app to pay for the
subscription. Apple claims that my content is locked until payment is made,
so I am required to use the in-app purchase API to unlock the content. Now
that I am so far into development, this could be a huge change that adds a
lot of time to my actual release. I have two options as I see it:

1) Implement in-app purchase API somehow into my code
2) Give the user the option to Sign Up or Log In. If they choose to sign up,
redirect them to my website in safari to sign up and use Stripe as I have
already laid out. Once they have signed up they can then move back to the
app and simply Log In.

I know absolutely nothing about in-app purchases. I always thought that they
used Apple Pay, which I would prefer not to do. Can the in-app purchase API
work with my Stripe Account and subscription products that I created there,
or would I be forced to transform my whole workflow? Of the two options I
listed above, which would you choose? Any ANE recommendations?

Thanks for any insights!



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


Re: Flex Mobile App hangs when debugging on Android

2018-10-11 Thread bilbosax
I haven't tried AIR 31, but with AIR 29, I am successfully debugging on
Android and iOS with no problems using Flash Builder 4.7



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


Re: Inject Authorization Header into WebView on Mobile

2018-09-24 Thread bilbosax
Sorry Javier, I did not mean to suggest that you cannot pass parameters in
HTTP, but the format that you suggested http://user:password@url has been
deprecated, because that was the first approach I took. Google Chrome was
the first to deprecate it. Web programming is definitely not my strong suit,
but I don't know how to compare regular HTTP parameters to the values stored
in htpassword and htaccess to do Basic Authorization, and was told in
another forum that I needed to pass those values in a header to do it
properly. That is how this whole line of inquiry came about in trying to
figure out how to pass an authorization header in a StageWebView scenario.



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


Re: Inject Authorization Header into WebView on Mobile

2018-09-24 Thread bilbosax
Erik, thank you for spending the time to write me such a nice example.  You
are always full of great ideas! I think with all that has been suggested to
me on this post, I should be able to find a suitable solution.

Thanks again!



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


Re: Inject Authorization Header into WebView on Mobile

2018-09-24 Thread bilbosax
@Javier, this method of sending the username and password has been deprecated
by most modern browsers, and if not, throws up a big warning pop up.



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


Re: Inject Authorization Header into WebView on Mobile

2018-09-22 Thread bilbosax
I appreciate the responses fellas.  Olaf, sadly on mobile, even if you did
use HTTPLoader to upload an authorization header, I don't believe there is
anyway to display what is returned in a mobile WebView like StageWebView. 
But I certainly appreciate the idea. The ANE that I purchased only seems to
load HTML from a given URL.

Erik, your idea sounds very intriguing to me, but I am so inexperienced in
PHP and web development that I am not sure that I completely understand, so
you may have to tell it to me like a child ;)  Here is what I think that you
are telling me:

1. Use HTTPLoader to create an Authorization Header and access a PHP file
that I can use to make sure a user is authorized on my server, and in the
return response, send back a URL to the actual page that I want to view.

2. Use the returned URL to load the page into StageWebView.

Although this sounds like a fantastic idea to me on the surface, I don't
understand how it would be secure.  The page I want to display in my mobile
app is what needs to be secure, but it also needs to be in a publicly
available folder so that my users can access it.  But I don't want anybody
with a browser to be able to just browse to the public file and display its
contents.  So basically, I have a public file that I want my mobile users to
be able to access, but I don't want anybody outside of the app to be able to
access it.  Thus the idea for Basic Authentication.

My basic understanding of Apache is that my PHP file needs to be in a
publicly accessible folder to be served by Apache, so even if I did use
HTTPLoader to send a header to authenticate users and then return a URL to
load the content, that content would be sitting right there in a public
folder for anybody to browse to anyway.  Unless of course, there is a way in
Apache to serve up content from a non-public folder that I am completely
unfamiliar with.  I guess my question is, how do I hide the actual critical
page from the public and get a URL to its location?

I know I am missing something.  I apologize for my inexperience in this
area.



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


Re: AMF for .NET Standard now available (.NET Core + olders runtimes)

2018-09-20 Thread bilbosax
Hugo, I don't know if you wrote this library or are just reporting it, but
this is awesome news!  I personally don't use .NET for AMF, I use PHP, but I
can tell you that AMF is by far the fastest way to communicate with
FLEX/AIR.  Any libraries that keep this technology alive is a plus in my
book!!  Thanks for reporting.



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


Inject Authorization Header into WebView on Mobile

2018-09-19 Thread bilbosax
I am using a RichWebView ANE by MyFlashLabs that is basically a StageWebView
with a few extra features added for a mobile AIR project.  I need to be able
to inject a header into a WebView because I need to do HTTP Basic
Authentication on a mobile device.  I do not want a user to have to enter a
username and password into a login box(which I don't believe is support on
mobile AIR anyway), but would much rather pass the username and password
directly to my PHP file in an Authorization Header.  The problem is, I have
no idea how to add an authorization header when opening a page in a WebView. 
Any suggestions on things to try would be greatly appreciated!

 

Thanks!



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


Re: Desktop AIR Signing Woes

2018-08-21 Thread bilbosax
Erik, I don't know a lot about these things, but this is one I think I would
send over to the Adobe AIR forums.  They seem to have their hands more on
the mechanics of compiling and packaging than I think the guys over here at
Flex probably do.

Just a thought.



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


Re: App Locks Up On Android

2018-06-23 Thread bilbosax
Interesting.  Just wanted to report what I found.  On the inexpensive Adroid
tablet, my app would lock up if I minimized my app and came back to it. 
This happened when I was installing a development version using Flash
Builder, which would also install AIR as a separate app alongside my app.

When I made a final release build APK file and installed it with the captive
runtime compiled into the APK, no more locking up occurred.  So I don't
think it was a function of my coding, but actually how the app was packaged
and installed.  Hope this helps somebody else if they read this in the
future.



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


Re: App Locks Up On Android

2018-06-18 Thread bilbosax
Bueller? Bueller? LOL

Nobody else has had a mobile project lock up before? I have no idea if this
matters, but it was a development build that i just quickly pushed onto my
friends inexpensive Android device from Flash Builder. It did not contain
the captive runtime, so AIR had to be installed on his tablet to run. I
don't know if a compiled APK containing the captive runtime will behave any
differently. I have the APK sitting in Google Play, ready to be released,
but I'm hesitant to pull the trigger because because I don't want to put out
an app that is locking up when you reopen it after minimiIng it.  Again, it
has never locked up on the iPad or a Galaxy Tab S, but it does frequently on
his cheaper tablet, but only if you minimize the app, do some other things,
and then reopen the app.

Any thoughts at all would be HIGHLY welcome.



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


Re: App Locks Up On Android

2018-06-18 Thread bilbosax
Bueller? Bueller? LOL

Nobody else has had a mobile project lock up before? I have no idea if this
matters, but it was a development build that i just quickly pushed onto my
friends inexpensive Android device from Flash Builder. It did not contain
the captive runtime, so AIR had to be installed on his tablet to run. I
don't know if a compiled APK containing the captive runtime will behave any
differently. I have the APK sitting in Google Play, ready to be released,
but I'm hesitant to pull the trigger because because I don't want to put out
an app that is locking up when you reopen it after minimiIng it.  Again, it
has never locked up on the iPad or a Galaxy Tab S, but it does frequently on
his cheaper tablet, but only if you minimize the app, do some other things,
and then reopen the app.

Any thoughts at all would be HIGHLY welcome.



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


App Locks Up On Android

2018-06-14 Thread bilbosax
So I gave my app to a friend to test on their inexpensive Galaxy Tab E, a
$200 tablet.  What I have found is that when you minimize my app and come
back to it later, it is often locked up and does not respond. 

On my iPad and more expensive Galaxy Tab S, if you minimize the app and
browse the internet, and then pull the app back up later, it either resumes
smoothly from where it left off, or it re-initializes the app and starts
over from the beginning, but it NEVER locks up. 

Is there something I should look for, or a way that I can keep my app from
locking up on inexpensive tablets??? Has anyone else run into this issue??

 

Thanks for any insights!



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


Re: Multi-dpi Autoscaling dimensions (android)

2018-06-09 Thread bilbosax
Thanks for the tip Erik! I'm excited to try out this overriding the measure()
technique and see of I can squeeze me a little better layout speed than
doing it on creationComplete! I learn something new every day!



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


Re: Multi-dpi Autoscaling dimensions (android)

2018-05-23 Thread bilbosax
leokan23, I don't know if this will help you, but I will tell you my process
for laying things out.  I do not place and widths, heights, positions, or
paddings in my MXML.  When you use percentages for these settings, AIR has
to do a lot of self-measuring, calculating, and then laying out components
and this can be expensive on mobile devices, especially all of the
self-measuring.

It is a little more laborious, but I lay everything out manually, but for my
rather large app, it has helped performance a lot.  So in the main app in
the Application tag, I listen for the applicationComplete event. When it
fires, I get the width and height of the device I am on using the following.

AppVars.appWidth = stage.stageWidth;
AppVars.appHeight = stage.stageHeight;

AppVars is just a dummy class that I made to hold a bunch of values that can
be shared across all of my components so I just have to measure the
dimensions one time when the app boots up.  After that, in each component
that I create, I listen for the creationComplete event and set all my
widths, heights, positions and paddings manually like this:

http://ns.adobe.com/mxml/2009; 
   xmlns:s="library://ns.adobe.com/flex/spark" 
   xmlns:mx="library://ns.adobe.com/flex/mx" 
   creationPolicy="all" 
creationComplete="init(event)" visible="false">



iPad Pro

2018-05-22 Thread bilbosax
I am about to submit my first AIR apps to the app store this week. 
Unfortunately, I never got a chance to test my app on an iPad Pro.  I have
scaled all my fonts for the various screen resolutions, and all my page
layouts are calculated based on screen size and resolution, so in theory it
should work on an iPad Pro, but I have never had an opportunity to test it. 
Do you think that it is safe to include iPad Pro on the App Store when I
submit my app? Have any of you found any funny issues with delivering on
iPad Pro that I should be aware of before I submit?

Thanks for any thoughts!



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


Re: [Discussion] Life after FlashPlayer

2018-05-11 Thread bilbosax
Olaf, I am very familiar with Flash and with Adobe Air and have used Flex to
develop for both.  Now I mostly do Adobe Air mobile and desktop development. 
But if I wanted to get back into the browser bit, I wonder how I would do it
these days.  It looks like most people do HTML5, JS, and CSS.  This is
DEFINITELY not my favorite way to develop.  What frameworks are most people
doing Flash-like work in the browser these days?

If there was any way on earth, I would love to use my current code base used
in AIR and adapt it for the web.  Is FlexJS a possible way to do this, or is
FlexJS limited in the components that it can support?  I really don't know
anything about FlexJS so would appreciate any light you could shed on it for
me!

Thanks!



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


Re: Adobe Announcement about Universal 32/64 bit support

2018-05-09 Thread bilbosax
I about lost my mind when I read this post this morning on Adobe!  So
UNBELIEVABLY relieved.  Thanks to everyone who went and voiced their opinion
on Adobe's forum.  I think in this instance, it really helped.



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


Re: Make Your Voice Heard Fast Regarding 32-bit Support!!!

2018-05-07 Thread bilbosax
I thought I might hear back from more people here because I assumed a lot of
people here played with AIR. If you do, I really invite you to come to the
Adobe forum and voice your opinions. This post was recently made by a guy
named Flipline and it scared the socks off of me. If you have apps on the
App Store and are using AIR, you really need to read this:

"A larger issue is that using AIR 30, we can not even submit updates for ANY
of our apps for ANY devices, whether they have 64-bit iPads or not:  Apple
does not let you make changes to UIRequiredCapabilities for any reason in an
update, even if you change MinimumOSVersion to limit it to iOS 11 it will
still be rejected because UIRequiredCapabilities can not be changed after an
app is launched.  This means we lose support for 100% of our users of
existing apps if we upgrade to AIR 30.  This is a separate issue from 32-bit
devices being unsupported for brand-new apps, and which is even more
worrying for me."

In essence, you won't be able to update ANY current App Store apps that have
been submitted using AIR. They need to hear us in this discussion please.

https://forums.adobe.com/thread/248



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


Make Your Voice Heard Fast Regarding 32-bit Support!!!

2018-05-05 Thread bilbosax
I don't know if you guys have heard, but starting with AIR 30 out in beta and
due to be released soon, Adobe has just unexpectedly dropped support for
32-bit apps.  They have only made one short statement claiming it is because
MacOS is no longer going to accept 32-bit apps, but this is a horrible idea
for mobile development.  This will exclude iPad, iPad 2, iPad 3, iPad 4, and
iPad Mini.  If you have any existing 32-bit mobile apps in the app store,
you will no longer be able to update them.  You will have to make a decision
to either stick with AIR 29 and never advance from there if you want to
support 32-bit customers, or you will have to choose to deliver in AIR 30 or
above but be unable to serve 30% of the mobile market who still use 32-bit
apps.  That is a LOT of customers to give up on! Heck, I still use a iPad
3!!!

All because of MacOS.

Please go to this Adobe Forum thread and voice your concerns.  SURELY there
has got to be a way where they could give us a choice on how to deliver
apps, that we as developers can be trusted to know what type of packaging we
need to serve our own customers.  I believe that they can make 64-bit the
default, but there has to be a tag that can be added to ADT or something
where you could choose to export as 32-bit, 64-bit, or both in your IPA.

Please let your voice be heard, because this is happening fast!!!

https://forums.adobe.com/thread/248




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


Re: Consume URL information

2018-05-03 Thread bilbosax
Thank you Olaf.  This "deep linking" was exactly what I was looking for.  I
will have to read it more thoroughly, but my concern at this point is
desktop solutions.  After a surface read, deep linking looks pretty well
covered on mobile devices, but our app will be written for both mobile and
desktop, and I am less confident that an email link that is clicked will be
able to open a desktop app to the state that I want it in as easily as it
will open a mobile app the proper state.  The best solutions I have stumbled
across so far are ANE's, which won't work on desktop.



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


Re: Life after FlashPlayer, are you prepared?

2018-05-02 Thread bilbosax
I have developed a series of apps using AIR for mobile and desktop.  I would
love to have a version that clients could access from a browser, but don't
want to develop from the ground up in HTML/JS/CSS.  If there was a Flex
compatible version that could play in the browser, with all of the basic
components that we are used to so that I could basically deploy using AIR
for desktop and mobile and also deploy in the browser with little
translation or extra development time, I would be In Like Flynn!



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


Re: Install Flash Builder

2018-04-29 Thread bilbosax
H.  I'm looking at Creative Cloud and I see Flash Builder listed.  Check
again.  If not, you can download it from the Adobe Website, just Google
Adobe Flash Builder 4.7, but be aware that it is fairly expensive at $1034
for download after taxes or $66/month on Creative Cloud for the Premium
Edition.  I haven't looked recently, but there may be some cheaper options
available.



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


Re: SDK Installer Fails on Windows 10

2018-04-13 Thread bilbosax
Piotrz, thanks for the update.  You may want to follow the thread that I
mentioned in my earlier post.  Even though they have a patch, people are
still having trouble with the 29.0.0.122 SDK.  Even though people have got
apps accepted on the app store with it, people are having trouble with
installing ad hoc releases on a device, etc.  I don't think they have all
the kinks worked out yet if I understand correctly, but I think that they
will have it in the next few days.  Just thought I should mention this. 
Best of luck!!



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


Re: SDK Installer Fails on Windows 10

2018-04-13 Thread bilbosax
Hi piotrz.  I just wanted to mention, just in case you were not aware, that
Apple has been rejecting a TON of Air apps lately because of a bug in the
AIR SDK.  Chris Campbell posted that they have almost finished patching the
problem, and will be releasing AIR SDK 29.0.0.122 very soon.  I don't know
if this affects what you are currently doing with the installer, so I
thought I would give you a heads up because the current SDK 29 is flawed.


https://forums.adobe.com/thread/2472940
  





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


Re: DropDown List Sensitivity

2018-04-01 Thread bilbosax
I will look into this and report back to you Jeffry.  Thanks for the
suggestion.  I wish I knew if the problem was in the dropdownlist component,
or in the skin that Flex provides. I almost think it is the skin because the
flatspark skin does not have this problem.  On another forum, someone
suggested that I turn off a listener while the component was scrolling so
that the list can't be selected until after the the mouseup event fires. 
This sounded like a brilliant idea.  Sadly, I am very weak at extending and
modifying and overriding in custom components :(



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


Re: DropDown List Sensitivity

2018-03-30 Thread bilbosax
After experimenting, I have found that the flatspark DropDownListSkin works
FAR better than the default spark skin functionally, but I can't get it to
look even remotely the way that I need.  The color is wrong and can only be
set to a few defaults, the text is teeny tiny and does not respond to
fontSize CSS rules.

In a little more detail, if I just flick the dropdownlist up or down, it
scrolls fine and does not automatically select anything.  But if I touch the
list and slowly scroll my finger up or down and then lift my finger off of
the list, it automatically selects where my finger last touched and closes.

Surely someone else has used a dropdownlist on a mobile device.  How did you
handle this??





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


DropDown List Sensitivity

2018-03-30 Thread bilbosax
On a mobile AIR app I have created, the dropdown lists that I use are crazy
sensitive, especially on iOS.  When I scroll a list, 90% of the time, when I
lift my finger while scrolling, it selects whatever my finger was on when
the scrolling began.  This makes it almost unuseable and very distracting as
the lists is closing all the time.  Am I perhaps using the wrong skin for a
mobile device?  Has anyone else run into this sensitivity  issue?

Thx!



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


Re: Notifications

2018-03-25 Thread bilbosax
Thanks Erik, much appreciated.  Got a lot of reading to do.



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


Re: Notifications

2018-03-24 Thread bilbosax
Erik, as always, I really appreciate your help.  That post will be an
excellent starting point for me when I am ready to go.

I have a question regarding notifications since I have never toyed with
them.  Do you only push the fact that you have something to show the user,
and then when a user opens the app, your app retrieves whatever information
you want to show them from your database? Or, can you actually push a lot of
information in a notification?

My app is a real estate app.  I want to send notifications to users when a
new property that meets their search criteria hits the market.  I don't know
if I can push all the property data through a notification, or if I can only
alert them that a property meets their criteria, but my app needs to pull
that data once the app is opened???

Thanks!



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


Notifications

2018-03-24 Thread bilbosax
I am about to release my first three apps on the App Store.  I am already
thinking about my first program modifications.  I will immediately need to
provide a notification system in my app to let people know when new
properties hit the market.  I have never looked into notifications on AIR
yet.  Do most of you use some sort of service, an ANE, or do you program
notifications manually???

Thanks for any insights!



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


Re: Volume Issues with NetStream

2018-02-20 Thread bilbosax
Erik, you are always so generous with your help on this site, I wish I could
give you a nugget of information.  Alas, I have no experience with this even
in the slightest and can offer no help.  I'm sure you already thought about
it, but the first thing that popped into my head is if the volume level of
the individual's device could affect the volume level that everyone else is
hearing it at?  If so, maybe you would have to override the volume of the
individual device and set a standard volume manually.

I know it is a stretch, and likely not related at all.  I was just thinking
that it possibly was not related to the gain level of the mic, but the audio
level of the speaker.

Just a thought.



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


Re: Strange Graphic Anomoly

2018-02-16 Thread bilbosax
No, it has more to do with this note published by Adobe. On page 3 under "iOS
SDK Upgrade", you will read that to publish an App for iOS using AIR 28, you
now need access to a Mac with Xcode installed to create an Assets.car file
that you can then use to package with your swf. This is a major pain for me
as I do not own a Mac. Ugh.

http://fpdownload.macromedia.com/pub/labs/flashruntimes/shared/air28_flashplayer28_releasenotes.pdf



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


Re: Strange Graphic Anomoly

2018-02-15 Thread bilbosax
My concern had something to do with Assets.car I believe I read, losing
icons, and other issues when trying to release using AIR 28.



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


Re: Strange Graphic Anomoly

2018-02-15 Thread bilbosax
Greg, you are the man!!  Upgrading to AIR 28 did the trick and I no longer
have these annoying artifacts.  And now I am aware that I should read the
release notes.

But I still have the concern as to whether I will be able to submit an .ipa
to the App Store that was compiled using AIR 28 in Flash Builder.  Does
anyone know if this is a problem?



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


Re: Strange Graphic Anomoly

2018-02-15 Thread bilbosax
Greg, thanks for the heads-up on that! I will definitely look into this.  I
am currently using AIR 27, so that could be a real possibility.  I only have
one big concern with upgrading to AIR 28.  I have read somewhere that you
can't use Flash Builder to export a final release to be deployed on iOS
mobile, something about needing to change some things in your final package
using XCode and that you need a Mac to do this(which I don't have).

Does anyone know if this is true? I really need to be able to deploy this to
the App Store soon.



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


Re: Strange Graphic Anomoly

2018-02-15 Thread bilbosax
... and if I remove my custom skin with the green in it, I still have the
artifacts in the same shapes and sizes, but the artifact changes to the
color of the default MobileGridHeaderSkin.  So it is related, but I don't
think it is the cause.



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


Re: Strange Graphic Anomoly

2018-02-15 Thread bilbosax
I have removed all of the custom components that appear in the various states
of my app so that I have only the one component remaining.  I removed all of
the display objects from the remaining component besides the two buttons I
created, and I am still having the problem.  I am at a total loss.

I am trying to figure out why it is this particular shade of green.  I am
wondering if it might be the splash screen somehow affecting things, or
possibly something I defined in my descriptor file, because this behavior is
so strange.  I tested it and it is showing up on both my iPad and my
Android, so it has to be something in my code.

Any thoughts appreciated.  I just really don't know what kinds of things to
look for.



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


Strange Graphic Anomoly

2018-02-15 Thread bilbosax
Hel!!  Hahaha!  I have been working on this annoying thing for two days
and have gotten nowhere!

I have a "next" button with a custom fxg button skin in the lower right
corner of my iPad app. It is inside a custom component that includes a
MobileGrid, a "previous" button and a label, and nothing else. For some
reason that I have not been able to figure out, there is an artifact that
displays across the lower edge of my button. The artifact has a strange
pixelized look about it when the button first displays on the screen, and
after it is clicked, the artifact just turns into a green bar.  I have
included two jpgs for you guys to take a look at:

 

 

I know that it is not the button skin, because I have tried other button
skins and they all display the same results seen in the images. If I move
the button far enough to the left, the artifact disappears.  If I move the
button up a little bit, it also disappears.  This makes me think that there
might be something invisible in the lower right of the screen that is
interfering with the button.  But turning all object's visible property to
false in this component does not help.  I only use mxml components in my
display list, there is no anomalous object being added with addChild or
addElement in my app. I have tried turning off the visibility of all other
components in the app, despite the fact that they are not included in the
state that this component is in.  Nothing has helped.

I have had situations where an invisible object kept a button from being
able to be clicked because it was infront of the the button, but I have
never had a situation where a graphic artifact was showing up because of
overlap of two objects.

Any suggestions about what this might be, or what I can do to identify it
would be greatly appreciated! Don't hold back, I am open to all thoughts.

Thanks





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


Re: Is this a bug? - TextInput

2018-01-31 Thread bilbosax
Where do I file a bug report to Flex?

So I verified everything to make sure that it was happening for sure.  On an
iPad, if I type "william" into a textInput, iOS will autocorrect it to have
a capital W and will display "William".  But when I use the text property of
the textInput as a value for a database query, the value that is entered
into a table is "william" with a lowercase w.

But if I use the shift key to create a capital letter and type in "William",
"William" gets entered into my database.  So on iOS, the capitalization that
happens with autocorrect does not appear to make its way down to the text
property.

I don't know what happens on Android as I have not tried it.

For a skin, I am using the ScrollingStageTextInputSkin

Where do I file a bug report to Flex?



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


  1   2   3   4   5   >