Anyone using IntelliJ for Flex Dev?

2017-04-06 Thread Erik J. Thomas
Hey all: Long time Flex developer (started with Flex Builder 2) currently working on a mobile app for iOS and Android. Finally took the plunge to switch from FlashBuilder 4.7 to IntelliJ with Flex plug in as my IDE. Was just wondering if anyone on this list is using IntelliJ for Flex mobile d

Twitter Flex Client?

2017-04-09 Thread Erik J. Thomas
Hey all: I'm developing a mobile app that has a view for following tweets based on an event hashtag. Anyone know of a 3rd party Twitter client that is built in Flex that I might leverage? Thanks! Erik

How to display a unicode char (emoji) in TLF (RichEdit control)

2017-04-17 Thread Erik J. Thomas
Hey all: Do you have any idea how I can display this Unicode character U+1F601 or these UTF-8 Bytes \xF0\x9F\x98\x81 using TLF (in RichEdit control)? Thanks! Erik For additional background on my problem, read on... I'm implementing a

Re: How to display a unicode char (emoji) in TLF (RichEdit control)

2017-04-17 Thread Erik J. Thomas
Sorry, wherever I wrote "RichEdit" I meant to write "RichText". Thanks. Erik

Re: How to display a unicode char (emoji) in TLF (RichEdit control)

2017-04-17 Thread Erik J. Thomas
e: > > maybe this? > http://stackoverflow.com/questions/37192684/stagetext-and-emoji-on-android-air-mobile-as3 > > <http://stackoverflow.com/questions/37192684/stagetext-and-emoji-on-android-air-mobile-as3> > txt2.text = decodeURI(txt1.text); > > On Mon, Ap

Re: How to display a unicode char (emoji) in TLF (RichEdit control)

2017-04-17 Thread Erik J. Thomas
17, 2017 at 3:28 PM, Clint M <mailto:cmod...@gmail.com>> wrote: > maybe this? > http://stackoverflow.com/questions/37192684/stagetext-and-emoji-on-android-air-mobile-as3 > > <http://stackoverflow.com/questions/37192684/stagetext-and-emoji-on-android-air-mobile-as3>

Re: How to display a unicode char (emoji) in TLF (RichEdit control)

2017-04-17 Thread Erik J. Thomas
://github.com/apache/flex-sdk/blob/8f3dd5bb05549b29f9d608e6abc914409a1a4ae2/frameworks/projects/flatspark/src/flatspark/utils/AwesomeUtils.as#L131 > > Of course, this is from a custom loaded font. > > Perhaps this could give you a hint on how you can achieve yours? > > Thanks, > Om > >

Slow Image Sizing

2017-04-24 Thread Erik J. Thomas
Hey all: My flex mobile app posts social chat messages with an optional image. It uses CameraRoll to allow the user to select any image on their phone. But modern phones take HUGE pics. We don't need full res photos for the chat and don't want to use up the bandwidth uploading full images and r

Re: Slow Image Sizing

2017-04-24 Thread Erik J. Thomas
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/BitmapData.html#encode() > > > > On Tue, Apr 25, 2017 at 6:45 AM, Erik J. Thomas wrote: > >> Hey all: >> >> My flex mobile app posts social chat messages with an optional image. I

Re: Slow Image Sizing

2017-04-24 Thread Erik J. Thomas
Apr 24, 2017 at 11:48 AM, Greg Dove wrote: > >> If JPEGEncoder is an actionscript encoder, you could switch to using the >> native encoding support. It is much faster. >> >> http://help.adobe.com/en_US/FlashPlatform/reference/ >> actionscript/3/flash/display/BitmapDat

StageText appears above popup (Flex)

2017-05-03 Thread Erik J. Thomas
Hey all: When I popup an Alert dialog that covers a TextInput control (TextInput uses the StageText implementation from mobile theme), the text shows as having a higher Z-Order than the popup Alert dialog: Any ideas how I might work around this? I don't want to set the TextInput controls to

Re: StageText appears above popup (Flex)

2017-05-03 Thread Erik J. Thomas
using this skin actually solved the z-order problem, I could create a custom skin and fix the display problems I just mentioned, but it doesn't so I won't. Thanks for your ideas. Erik > On May 3, 2017, at 3:11 PM, Erik J. Thomas wrote: > > Hey all: > > When I popup an Aler

Re: StageText appears above popup (Flex)

2017-05-04 Thread Erik J. Thomas
Yes! Thank you Josh for that valuable suggestion. Awesome. Thanks again everyone. Erik > On May 4, 2017, at 7:00 AM, Josh Tynjala wrote: > > Try removing focus from the TextInput when you show the Alert. > > - Josh > > On May 3, 2017 3:11 PM, "Erik J. Thomas&quo

Re: How do you view all the available methods of a class?

2017-05-04 Thread Erik J. Thomas
If you are using FlashBuilder or IntelliJ with the Flex Plugin, you can simply hold down your Ctrl Key (Windows) or Command Key (Mac) while hovering your mouse over any class name in MXML or ActionScript. Just left click the class name and it will open the source code for that class in the edito

2032 StreamError from URLRequest on older devices

2017-05-11 Thread Erik J. Thomas
Hey all: Tried testing my Flex app on iPhone 4S and iPad 2 and URLRequests are failing on both of them, though they work perfectly on iPhone 5, 6, and iPad AIR 2. The error is a 2032 StreamError. App descriptor supports v9: MinimumOSVersion 9.0 Both the iPhone 4S and iPad 2 are running v

Re: 2032 StreamError from URLRequest on older devices

2017-05-11 Thread Erik J. Thomas
> > > > On Thu, May 11, 2017 at 11:59 AM, Erik J. Thomas wrote: > >> Hey all: >> >> Tried testing my Flex app on iPhone 4S and iPad 2 and URLRequests are >> failing on both of them, though they work perfectly on iPhone 5, 6, and >> iPad AIR 2. >&

Deep Linking with Flex to Mobile Apps

2017-05-15 Thread Erik J. Thomas
Hey all: I need to be able to do various deep linking between mobile apps and my Flex app. I've learned to do this for twitter and linked in profiles pretty simply: var u:URLRequest = new URLRequest(data.twitterProfileUrl); navigateToURL(u, "_blank"); If the twitter app is installed on the phon

Re: Deep Linking with Flex to Mobile Apps

2017-05-15 Thread Erik J. Thomas
intended recipient. Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. > On May 15, 2017, at 8:51 AM, Erik J. Thomas wrote: > > Hey all: > > I need to be able to do various deep link

Re: Deep Linking with Flex to Mobile Apps

2017-05-15 Thread Erik J. Thomas
55"); > email is navigateToURL("mailto:a...@asdf.com";); > > On Mon, May 15, 2017 at 8:51 AM, Erik J. Thomas wrote: > >> Hey all: >> >> I need to be able to do various deep linking between mobile apps and my >> Flex app. I've learned to do t

Re: Deep Linking with Flex to Mobile Apps

2017-05-19 Thread Erik J. Thomas
r_5 >>> has a few examples >>> >>> case "tel": navigateToURL(new URLRequest("tel:"+action.details)); break; >>> case "sms": navigateToURL(new URLRequest("sms:"+action.details)); break; >>> case "mailto"

Re: microphone activity code / widget

2017-05-22 Thread Erik J. Thomas
Hey Scott: I had the same problem a few years ago and the activityLevel never shows anything no matter what event you listen for. I think it was marked a bug that was then resolved as not important enough to fix, so we ended up not implementing a feature that required (it wasn't high priority a

Performance problem with RichText

2017-05-24 Thread Erik J. Thomas
Hey all: We started noticing our mobile Flex app was unresponsive for like 5 or 6 seconds at launch where the UI was frozen. After profiling, we found the entire problem is with RichText and RichEditableText controls. We have social posts (like twitter) that consist of a post (one RichEditable

Re: Performance problem with RichText

2017-05-24 Thread Erik J. Thomas
06a5ea2-8000.html > > On Wed, May 24, 2017 at 3:52 PM, Erik J. Thomas wrote: > >> Hey all: >> >> We started noticing our mobile Flex app was unresponsive for like 5 or 6 >> seconds at launch where the UI was frozen. After profiling, we found the >> e

Android Images Rotated

2017-06-12 Thread Erik J. Thomas
Hey all: I'm allowing a user to take a profile selfie or import a file from their camera roll, and on Android, the images are rotated inconsistently between front and rear cameras, as well as when importing from camera roll depending on how the user held the camera. The MediaEvent (upon sele

Re: Android Images Rotated

2017-06-13 Thread Erik J. Thomas
Hey leokan23: I was trying to avoid using Camera since CameraUI provides so much free functionality. If I can find no other way, I'll use this pattern as you suggested instead of CameraUI. Thanks! Erik > On Jun 13, 2017, at 2:55 AM, leokan23 wrote: > > Hi, > > I had similar problems to one

Re: Android Images Rotated

2017-06-13 Thread Erik J. Thomas
Hey Paul: Thanks for your suggestion. This approach looks promising. Erik > On Jun 13, 2017, at 3:45 AM, Paul Moreau wrote: > > I had the same issue and solved it by using this library to get the > ExifInfo of the image and getting the true orientation from that: > > https://github.com/cantre

Re: Android Images Rotated

2017-06-13 Thread Erik J. Thomas
Erik > On Jun 13, 2017, at 8:18 AM, Erik J. Thomas wrote: > > Hey Paul: > > Thanks for your suggestion. This approach looks promising. > > Erik > >> On Jun 13, 2017, at 3:45 AM, Paul Moreau wrote: >> >> I had the same issue and solved it by using

LinkedIn from Flex Development Question

2017-06-14 Thread Erik J. Thomas
Hey all: I've read through much of the LinkedIn Developer docs for using REST APIs, but can't find a simple answer to a simple need: We just want to be able to import a user's LinkedIn photo, title, and company name, in a Flex mobile app if the user wants to use it. The LinkedIn API docs make

Re: LinkedIn from Flex Development Question

2017-06-15 Thread Erik J. Thomas
mmunication via PHP ( > https://github.com/Happyr/LinkedIn-API-client) and create your own PHP > service to pass the data > > > On Wed, Jun 14, 2017 at 6:58 PM, Erik J. Thomas wrote: > >> Hey all: >> >> I've read through much of the LinkedIn Developer doc

Re: BusyIndicator rotating off-center on iOS

2017-06-16 Thread Erik J. Thomas
Depending on how you set up your mobile project, I believe all controls will use the mobile skins by default. It may be that you have configured your project for spark theme and not mobile. You shouldn't need to use spark theme unless you're building a codebase that can be shared across mobile a

iOS Touch ID integration in Flex

2017-06-20 Thread Erik J. Thomas
Anybody know of a way to do iOS Touch ID (fingerprint) with a Flex Mobile (AIR) app? Thanks! Erik

Re: iOS Touch ID integration in Flex

2017-06-21 Thread Erik J. Thomas
one for iOS. I didn't have much >> time, but I didn't see one right away in a quick search :/ >> >> >> Kyle McKnight >> Senior UI Engineer - Accesso >> 602.515.1444 (M) >> >> On Tue, Jun 20, 2017 at 7:08 PM, Erik J. Thomas wrote: >> >>> Anybody know of a way to do iOS Touch ID (fingerprint) with a Flex Mobile >>> (AIR) app? >>> >>> Thanks! >>> >>> Erik >>> >>> >>

Re: Can I control the parameter order in an HTTPService Post?

2017-07-06 Thread Erik J. Thomas
Hey Jeffry: I may be missing something in my understanding of your problem, but are you trying to send a body of parameters in the request payload? If so, I suggest you adopt a JSON or plain text approach, and build your params into the body/payload in the order you want by just building the st

Re: Can I control the parameter order in an HTTPService Post?

2017-07-06 Thread Erik J. Thomas
code and examine the contents of the payload after it processes your parameters and reproduce that with direct assignment of the body as text but in the order you want. Erik > On Jul 6, 2017, at 7:47 AM, Erik J. Thomas wrote: > > Hey Jeffry: > > I may be missing something

Re: Connection to Google Calendar as a Proxy Scheduler

2017-07-06 Thread Erik J. Thomas
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

Re: Visibility Issue with PopUp Component

2017-07-06 Thread Erik J. Thomas
Hey bilbosax: If you are talking about a Flex Mobile app, just try deleting the contents of the TextInput when hiding the PopUp: private function onCloseMe():void { input.text = null; } When subsequently showing the popup, there will be no text to render and you won't see it. In mobile a

Re: Visibility Issue with PopUp Component

2017-07-07 Thread Erik J. Thomas
The skin that shows text to the right of where it should in the input field is using the non-mobile "spark" theme. If you want TLF (spark skin if you are running in the mobile theme) you need to set the skinClass to: spark.skins.mobile.TextInputSkin This is the one that displays the text furthe

Re: Flex iPad app no longer installs

2017-07-10 Thread Erik J. Thomas
Hi Robert: I'm a little confused since you mention at least three different problems. I'll try to address the first since if you fix this, you will likely fix the other problems. > My Flex iPad app (equationlab.net) no longer deploys to iPad with iOS 10.3.2 > from FlashBuilder 4.7 using Flex 4.

Accessing app bundle_id or package_id at runtime

2017-08-28 Thread Erik J. Thomas
Hey all: Is there a simple way to access a Flex mobile app's bundle/package ids at runtime? Of course I can write the code to parse Info.plist and manifest files on iOS and Android to get them, but it seems there must be a built-in "Flex" way that some great Apache engineer anticipated someone

Re: Accessing app bundle_id or package_id at runtime

2017-08-28 Thread Erik J. Thomas
ug 28, 2017 at 11:36 AM, Erik J. Thomas wrote: > Hey all: > > Is there a simple way to access a Flex mobile app's bundle/package ids at > runtime? Of course I can write the code to parse Info.plist and manifest > files on iOS and Android to get them, but it seems there must be a b

Re: Accessing app bundle_id or package_id at runtime

2017-08-28 Thread Erik J. Thomas
ks to whomever did that). Cheers, Erik On Aug 28, 2017, at 4:08 PM, Josh Tynjala wrote: Could your branding process be improved to also modify the -app.xml file that's inside the IPA? Then you could use the suggested approach. - Josh On Aug 28, 2017 3:46 PM, "Erik J. Thomas"

Re: Accessing app bundle_id or package_id at runtime

2017-08-29 Thread Erik J. Thomas
. -Ursprüngliche Nachricht- Von: Erik J. Thomas [mailto:e...@linqto.com] Gesendet: Dienstag, 29. August 2017 04:33 An: users@flex.apache.org Cc: Jared Reed Betreff: Re: Accessing app bundle_id or package_id at runtime Hi Josh, thanks for your input. But no, there is not an app.xml in the IPA or

Re: ContentCache

2017-08-31 Thread Erik J. Thomas
Hey bilbosax: It's pretty simple to improve the performance of large lists with images. You do this in ItemRenderers: 1. Add ItemRenderer.cacheAsBitmap="true". This also caches all the content as a snapshot for performance. If you will have data changing in the renderer a lot, then you don't n

Re: ContentCache

2017-08-31 Thread Erik J. Thomas
, please contact the sender and delete all copies. On Aug 31, 2017, at 1:57 PM, Erik J. Thomas wrote: Hey bilbosax: It's pretty simple to improve the performance of large lists with images. You do this in ItemRenderers: 1. Add ItemRenderer.cacheAsBitmap="true". This also

Re: ContentCache

2017-08-31 Thread Erik J. Thomas
Hey bilbosax: I've never used queueing functionality and you're right there's not much written about it. But by the properties you can set it appears that you can limit the number of simultaneous loads to reduce bandwidth demands. I don't see much use for that myself. Cheers, Erik On Aug 31,

FlexEvent.ENTER not firing on Android

2017-09-11 Thread Erik J. Thomas
The enter event on TextInput doesn't fire on Android, only iOS. Using mobile theme. Is this a known issue? This code for example: private function onLookup():void { // doesn't get called on android } The onLookup() event handler is not called when the user taps the "Done" button on the softk

Re: ItemRenderer Render Order

2017-10-11 Thread Erik J. Thomas
Hey Bilbosax, I don't see how that setting will help. For best look and feel, I suggest you let the ItemRenderer do it's job which will render the visible ones first but use ContentCache so that the images are loaded only once, so scrolling will be pretty good. That said, you might consider cac

Re: ItemRenderer Render Order

2017-10-11 Thread Erik J. Thomas
Despite the fact that a non-virtual List or DataGroup will attempt to render all ItemRenderer instances by iterating the dataProvider in some sequential order, the speed at which the images appear is only influenced very little by the order the instances are rendered. This is because as each re

Re: ItemRenderer Render Order

2017-10-11 Thread Erik J. Thomas
to minimize bandwidth used at once. This might help. Erik On Oct 11, 2017, at 11:12 AM, Erik J. Thomas wrote: Despite the fact that a non-virtual List or DataGroup will attempt to render all ItemRenderer instances by iterating the dataProvider in some sequential order, the speed at which the im

Re: ItemRenderer Render Order

2017-10-12 Thread Erik J. Thomas
Nice going! Erik On Oct 12, 2017, at 4:12 PM, bilbosax wrote: I initially tried Erik's solution to use a contentCache with queueing enabled, and set maxActiveRequests to 3, but I still got the same results - one of the first three images was always the last to render. So I finally took a more

Re: Flex Mobile List Flicker

2017-10-16 Thread Erik J. Thomas
Will any of your item renderers have a different width (for horiz scroll) or height (for vert scroll)? I have run into a similar problem with jerky scrolling and flashing if the item renderers are not the same size and it has to calculate from content. For smoother scrolling, set an explicit siz

Re: Flash Builder 4.7 crash

2017-11-29 Thread Erik J. Thomas
I'm amazed anyone is still using FB 4.7. Get IntelliJ IDEA as it is a more effective IDE for building Flex apps. It comes with full Flex support out of the box. Also, upgrading SDKs is WAAYYY easier than FB 4.7 and switching between SDKs is like one mouse click if you have to revert. I do AIR mo

Re: Updates and EncryptedLocalStore

2017-11-29 Thread Erik J. Thomas
I use encrypted local store all the time on mobile devices as well as in an AIR emulator, and I never run into this problem unless building a RELEASE build and installing it on the device with an ad hoc provisioning profile (iOS). That always resets any local storage associated with the app. Ho

Re: Updates and EncryptedLocalStore

2017-11-29 Thread Erik J. Thomas
can't remember what it was, but I seem to recall from years and years and years ago, when I used FB there was such a setting. LOL :-) Cheers, Erik > On Nov 29, 2017, at 3:31 PM, Erik J. Thomas wrote: > > I use encrypted local store all the time on mobile devices as well as in an &g

Emoji Help

2017-11-30 Thread Erik J. Thomas
Has anyone learned how to remove the Emoji soft keyboard button on mobile? I see no property of TextArea or TextInput to disable it. Using mobile theme of course. Even better, has anyone figured out an Emoji solution in mobile AIR apps? In my experimentation, the Emoji chars entered by a user i

Re: HGroup in pure ActionScript

2017-12-01 Thread Erik J. Thomas
You are using addChild when you should use addElement(). This code works: var hg:HGroup = new HGroup(); hg.right = 0; hg.top = 0; hg.gap = 0; var label:Label = new Label(); label.text = "Hello World"; hg.addElement(label); addElement(hg); Erik On Nov 30, 2017, at 6:41 AM, Tucsonjhall wrote: I'm

Using non-embedded image in SplashScreenImage

2017-12-23 Thread Erik J. Thomas
Hey all: One of my AIR mobile apps is big and contains 7 ANE libraries, and takes about 3 seconds for the AIR runtime to load the SWF before my first view can display. The native iOS launch screen only displays for about 1 second, leaving about 2 seconds of blank screen before the app displays.

Re: Using non-embedded image in SplashScreenImage

2017-12-26 Thread Erik J. Thomas
Hi M.Prabhu: I probably didn't explain myself very well. The problem is I cannot use SplashScreenImage preloader and set the minimum display time at all because I cannot embed the splash screen image. It's dynamically pulled from the IPA package root folder at run time. The reason is complicate

Determine if a device can make a phone call

2017-12-27 Thread Erik J. Thomas
Hey all: I need to determine if a mobile device running my AIR app can make a phone call or not. Some of the calling features will need to be disabled for devices that are not able to make telephone calls. Capabilities doesn't have anything like this. Do I really need an ANE for this? Thanks.

Re: Event when app regains focus

2018-01-03 Thread Erik J. Thomas
Yes, I listen for these events in several commercial mobile apps and they are reliable. I set up the listeners in the Main class initialize: private function onInitialize(event:FlexEvent):void { NativeApplication.nativeApplication.addEventListener(Event.DEACTIVATE, onDeactivateApp); Nativ

Re: Event when app regains focus

2018-01-03 Thread Erik J. Thomas
We optimized our polling pattern so the API we hit every 20 seconds returns only about 100 bytes representing what other APIs to call back to retrieve just what's changed. It's all done in a few milliseconds. If there are changes, we retrieve just those changes and reconcile with existing data i

iOS SDK Version in AIR 27

2018-01-04 Thread Erik J. Thomas
Apple recently started enforcing the use of an asset catalog for app icons if the app was compiled using iOS 11 SDK. If the icons are not inside an asset catalog that's compiled into the binary itself iTC will refuse your build with this message: "Apps built with iOS 11 or later SDK must supply

Re: iOS SDK Version in AIR 27

2018-01-04 Thread Erik J. Thomas
but they do mention macOS SDK for desktop AIR apps. Thanks. Erik On Jan 4, 2018, at 10:25 AM, Erik J. Thomas wrote: Apple recently started enforcing the use of an asset catalog for app icons if the app was compiled using iOS 11 SDK. If the icons are not inside an asset catalog that's

Re: Event when app regains focus

2018-01-05 Thread Erik J. Thomas
The events fired from the Distriqt native WebView ANE are listed in the metadata here: [Event(name="locationChange",type="com.distriqt.extension.nativewebview.events.NativeWebViewEvent")] [Event(name="locationChanging",type="com.distriqt.extension.nativewebview.events.NativeWebViewEvent")] [Event(

Re: Images in RichText-Control

2018-01-05 Thread Erik J. Thomas
This is an old example but still valid (I believe): https://help.adobe.com/en_US/flex/using/WS02f7d8d4857b1677-165a04e1126951a2d98-7ff2.html I believe you just set the padding or margin style on the textFlow paragraph child that contains your image like you would any inline style, e.g., setStyl

Re: State Change Event

2018-01-09 Thread Erik J. Thomas
Yes, I frequently listen for updateComplete event to hide a spinner showing busy states, especially if the lists are long and use complex item renderers, anything that makes them slow to update onscreen. It's reliable if (and only if) you have records in the underlying dataProvider. I found thro

Re: Button in ItemRenderer on Android

2018-01-12 Thread Erik J. Thomas
Try adding an includeInLayout property in overlayRect. The way you have it, the overlay is there, just not visible and on Android it may be "eating" the tap event. Erik Erik Thomas Chief Architect Office: 541.247.2995 / Mobile: 303.304.1466 http://linqto.com This email

How to programmatically dismiss a preloader splashScreenImage

2018-01-19 Thread Erik J. Thomas
Hey all: I'm using Application.splashScreenImage (it's a preloader) in my Flex mobile application which preloads a splash screen that needs to display until my app is finished loading data which varies due to device cpu, internet connection bandwidth, etc. I need to discover a way to programma

Re: How to programmatically dismiss a preloader splashScreenImage

2018-01-19 Thread Erik J. Thomas
i wrote: Why can't you lower the min time? On 1/19/18, 8:50 AM, "Erik J. Thomas" wrote: > Hey all: > > I'm using Application.splashScreenImage (it's a preloader) in my Flex > mobile application which preloads a splash screen that needs to display >

Re: How to programmatically dismiss a preloader splashScreenImage

2018-01-19 Thread Erik J. Thomas
way. Erik On Jan 19, 2018, at 9:15 AM, Erik J. Thomas wrote: Hey Alex: LOL, because of what I explained below. ;-) My app is downloading a lot of data during initialization and the splash is displaying a "Loading..." message. The time it takes to download the data I need to display

Re: How to programmatically dismiss a preloader splashScreenImage

2018-01-19 Thread Erik J. Thomas
blank screen until it's loaded > but that's not what the client wants. > > Get me now? > > Thanks so much! > > Erik > > On Jan 19, 2018, at 9:03 AM, Alex Harui wrote: > > Why can't you lower the min time? > > On 1/19/18, 8:50 AM, "Erik J.

Re: Quick CameraRoll Question

2018-01-25 Thread Erik J. Thomas
Unfortunately, the flash CameraRoll (which is truly great) doesn't provide what you need in this scenario. I think you have three options: 1. Respond to the "select" event and if the file is unsupported, pop a message and allow them to select another file. Make sure your app UI preps the user

Re: Quick CameraRoll Question

2018-01-26 Thread Erik J. Thomas
ng/decoding than using as3corelib <https://github.com/mikechambers/as3corelib> (which is not maintained for more than 7 years now)? Thanks Hans Am 26.01.2018 um 01:49 schrieb Erik J. Thomas: > Unfortunately, the flash CameraRoll (which is truly great) doesn't provide > what

Re: Number Multiplication AS3

2018-02-02 Thread Erik J. Thomas
The Number data type, when including a decimal point is a binary floating point number and binary floating point math can result in rounding errors like yours. https://docs.oracle.com/cd/E19957-01/806-3568/ncg_goldberg.html#680

Re: Number Multiplication AS3

2018-02-02 Thread Erik J. Thomas
com/questions/632802/how-to-deal-with-number-precision-in-actionscript> Erik On Feb 2, 2018, at 8:39 AM, Erik J. Thomas wrote: The Number data type, when including a decimal point is a binary floating point number and binary floating point math can result in rounding errors like yours.

Volume Issues with NetStream

2018-02-19 Thread Erik J. Thomas
Hey all: I'm using the flash enhanced microphone (to help reduce echo), a NetConnection, and a NetStream to broadcast live audio between mobile devices using Adobe Media Server. This is an audio walkie talkie feature where only one person can speak at a time. When the user releases the speak bu

Re: Volume Issues with NetStream

2018-02-20 Thread Erik J. Thomas
Thanks for your kind words, and for your suggestion. It turns out that you suggestion is right on! I added these calls: SoundMixer.audioPlaybackMode = AudioPlaybackMode.VOICE; SoundMixer.useSpeakerphoneForVoice = true; SoundMixer.soundTransform.volume = 1; And the Android playback volume is much,

Re: CheckBox with includeInLayout="false"

2018-02-20 Thread Erik J. Thomas
That's correct behavior. When IncludeInLayout is false, the control doesn't exist in the displayList and you are NOT going to see any changes you make to it's state until you make includeInLayout = true. You only want to use includeInLayout when you don't want the control in your layout. Also

Re: Problems with svg

2018-03-05 Thread Erik J. Thomas
Does your FXG version of the graphic have a Path element? It should look like this: If the content of your SVG looks like this: Then it's just an embedded bitmap and won't scale beyond it's width and height without pixelating. And any resizing other than the actual size will

Re: DragDrop Event in Spark List

2018-03-09 Thread Erik J. Thomas
"Some events have an associated default behavior. For example, the doubleClick event has an associated default behavior that highlights the word under the mouse pointer at the time of the event. Your event listener can cancel this behavior by calling the preventDefault() method. You can also mak

Including Debug Info in Stacktrace

2018-03-22 Thread Erik J. Thomas
Hey all: When interactively debugging an AIR mobile app when a runtime error occurs, Error.stackTrace includes file names and line numbers: Error: Test Error at Function/()[*/.../src/Main.mxml:440*] at com.linqto.navcon.controller::RESTService/makeCallBack()[*/.../src/com/linqto/navcon/

Re: Including Debug Info in Stacktrace

2018-03-22 Thread Erik J. Thomas
/questions/4473059/how-can-i-get-stacktrace-for-ad obe-air-global-runtime-errors-in-non-debug-mode/27289101#27289101 HTH, -Alex On 3/22/18, 11:29 AM, "Erik J. Thomas" wrote: > Hey all: > > When interactively debugging an AIR mobile app when a runtime error > occurs, Error.st

Re: Notifications

2018-03-24 Thread Erik J. Thomas
Hey Bilbo: This is a big subject. There is no simple way, but there are hard ways and less-hard ways to do this. I suggest you don't write your own PN providers for Apple and Google as that's a big project. The simplest way we found (and expect this to take you a few days to get completely wo

Re: Flex Installer - Air 29 - OSMF Fail (Windows)

2018-04-10 Thread Erik J. Thomas
I continue to be amazed that any serious software development company would choose to use a development IDE that was released in 2011 and has not been updated since 4.7 in 2012. It's a poor business decision, plain and simple, IMHO. A few years ago, after extensive research and frustration with

Re: Flex Installer - Air 29 - OSMF Fail (Windows)

2018-04-10 Thread Erik J. Thomas
understatement. We have software that runs on mainframes and we have other software that runs on nearly all modern mobile devices. -Jeff From: Erik J. Thomas Sent: Tuesday, April 10, 2018 11:35 AM To: users@flex.apache.org Subject: Re: Flex Installer - Air 29 -

Trying to get by the Apple Rejections for non-public API callsw

2018-04-17 Thread Erik J. Thomas
Hey all: We got bit today by the new non-public API rejection notice from Apple due to AIR making these non-public calls: https://forums.adobe.com/thread/2472510 But Adobe just created a special build of AIR 29.0.0.122 that fixes this issue but I can'

Re: Trying to get by the Apple Rejections for non-public API callsw

2018-04-17 Thread Erik J. Thomas
do the trick. Although please back up your current flex sdk first before trying this, just in case :-) Thanks, Om On Tue, Apr 17, 2018 at 4:58 PM, Erik J. Thomas wrote: > Hey all: > > We got bit today by the new non-public API rejection notice from Apple due > to AIR making thes

Re: Trying to get by the Apple Rejections for non-public API callsw

2018-04-18 Thread Erik J. Thomas
Still struggling with this. Latest attempt was to download this version of AIR 29.0.0.122 SDK without compiler: https://files.acrobat.com/a/preview/679585ca-74fc-490f-903d-98725ecda477 - Thanks Kerogi And followed these

Re: Trying to get by the Apple Rejections for non-public API callsw

2018-04-18 Thread Erik J. Thomas
use of the beta-reports-active entitlement issue, but at least I'm where everyone else seems to be. Thanks. Erik On Apr 18, 2018, at 10:51 AM, Erik J. Thomas wrote: Still struggling with this. Latest attempt was to download this version of AIR 29.0.0.122 SDK without compiler: https://files.a

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

2018-05-07 Thread Erik J. Thomas
Would just have liked if Adobe gave us more warning. I think it's a bit early to stop supporting iPhone 5, 5c, and iPad 4G, but I can live with it if necessary. Unlike Adobe's past behavior of making announcements ahead of time for big changes like this one, this one caught us by surprise and

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

2018-05-07 Thread Erik J. Thomas
I really do intend to not upgrade AIR for as long as possible, like in 2019 sometime. 29 is fine but for the adhoc issue. Thanks muchly! On May 7, 2018, at 1:21 PM, Erik J. Thomas wrote: Would just have liked if Adobe gave us more warning. I think it's a bit early to stop supporting iPhone

Re: Assets.Car Problem via IntelliJ

2018-05-08 Thread Erik J. Thomas
You need the icons that were added to your Assets.car file to also be in the package root of the IPA. You can unpack the .car (it's just a zip) and copy all those icon files into an "excluded" IntelliJ directory at the root of your project, like "icons" and then copy them to the package root by

Re: Assets.Car Problem via IntelliJ

2018-05-08 Thread Erik J. Thomas
ot as duplicate of those in the Assets.car. Erik On May 8, 2018, at 10:26 AM, Erik J. Thomas wrote: You need the icons that were added to your Assets.car file to also be in the package root of the IPA. You can unpack the .car (it's just a zip) and copy all those icon files into an

Adobe Announcement about Universal 32/64 bit support

2018-05-09 Thread Erik J. Thomas
Hey all: If you haven't been following this thread, you may not know that Adobe listened to us and have decided to include universal support in AIR for some time to come and they will be releasing AIR 30 with the adhoc (beta-reports-active) fix so we can use our IDEs out of the box for deployin

Re: iPad Pro

2018-05-29 Thread Erik J. Thomas
Hey Bill, I've never had to scale anything to work well on all mobile devices except to set applicationDPI property on the application. Flex/Air apps do that really well auto-magically. When you set height and width on containers and images, you are really setting "points" (not device pixels)

Re: iPad Pro

2018-05-29 Thread Erik J. Thomas
, Erik On May 29, 2018, at 12:01 PM, Erik J. Thomas wrote: Hey Bill, I've never had to scale anything to work well on all mobile devices except to set applicationDPI property on the application. Flex/Air apps do that really well auto-magically. When you set height and width on container

Re: Multi-dpi Autoscaling dimensions (android)

2018-06-07 Thread Erik J. Thomas
Using percentages in the past, circa 2014/15, could noticeably affect layout speed, but devices are so fast anymore that I don't recommend spending the time to do this. But if you want to, the most efficient place to do your sizing (I like Bill's approach) is to override UIComponent.measure() a

Re: Flex SDK Installer - is it broken?

2018-06-11 Thread Erik J. Thomas
>> "Please add Air 30 in the installer, thanks." +1 Hey Piotr: To date the Apache Flex SDK installer has been invaluable to me and my small team as our primary means of installing Flex and AIR SDK updates. I agree with your earlier comment that the time spent on updating the installer shoul

Re: Optimize speed on Android

2018-06-25 Thread Erik J. Thomas
Scroller.maxDragRate = 30; Being a static member just means you set it globally for all instances of the Scroller type in your app. Erik On Jun 25, 2018, at 6:48 AM, Lydecker wrote: How to I set maxDragRate? I can't target it on a Scroller instance as it's a static member? Thanks -- Sen

Re: Optimize speed on Android

2018-06-25 Thread Erik J. Thomas
No problem. I'm interested to know if you are able to improve scrolling on android with this setting. Please let me know your results and the setting you like, if you don't mind. Thanks! On Jun 25, 2018, at 11:36 AM, Lydecker wrote: Thanks for the reply - I literally just figured this out b

  1   2   >