Re: Quick CameraRoll Question
After a little testing, I may just be in luck. I "assumed" that all file types that displays in the Photos app on iOS would show up in the cameraRoll, but unless I am mistaken, I don't think they necessarily do. cameraRoll.browseForImage() appears to show only images, removing video files. I guess it's possible I just didn't see my test video, and I don't know if there is a browseForVideo() method if what your app needs is videos, but right now, I am not seeing any videos in the list of media. Same for Android. So that takes care of the video problem for me. And, the way that the image data gets sent to AIR, it appears my app does not really care whether it is JPEG or PNG. Both seem to work with the bitmap and bitmapdata objects that i work with. So I might be missing something, but I think I am good to go!!! Thanks for the input Erik! -- Sent from: http://apache-flex-users.246.n4.nabble.com/
Re: Quick CameraRoll Question
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 about what image types are supported. However, this is a sticky wicket when only supporting one image type when all other apps in the world support at least png and jpg, and often bmp, etc. 2. Change your app to support png format which is a really good idea anyway, and use #1 if they select a video. 3. Use an ANE that supports a filter. I do not see any option in flash CameraRoll to establish a file type filter. But consider that mobile apps are about easy stuff. So supporting both png and jpeg at a minimum will increase the value of your app by a lot. If you need any help using the 2d library to manipulate jpg and png, I can help. I've written a lot of raw bitmap manipulation logic through the years, both jpg and png. In fact, if you really need to only support jpg, you can convert your png to a jpg, though it takes a little time on a mobile device, measured in seconds if it's large. Cheers, Erik On Jan 24, 2018, at 10:11 PM, bilbosaxwrote: My app needs to be able to import an image that the user selects from the cameraroll. But my app is not capable of handling a video or a PNG, only JPG files. Is there a way when you browse the cameraroll, that you can specify it to only show the JPG images that the user has, and not all the various image types that they may have?? Thanks! -- Sent from: http://apache-flex-users.246.n4.nabble.com/
Spark CurrencyFormatter doesn't honor symbol alignment
The Spark CurrencyFormatter is supposed to be a wrapper for the flash.globalization.CurrencyFormatter which states that it uses the operating systems locale settings to determine formatting. I'm running Windows 10 and have set my formats to French (France) in the Region dialog. If I check the currency tab it shows the proper currency format with the currency symbol to the right. However, when running my application using the fr_FR locale, the currency symbol in my application stays to the left. Most if not all of the other settings are correct, it uses the "," for the decimal separator and a space for the grouping separator. Is this just not supported? Or is there further action required on the OS settings to get this to work? Thanks! Kyle McKnight Senior UI Engineer - Accesso 321.347.7318 (M)