Sitemap

Amicuk Programming Answers

Actionscript - Flex mobile - thread while loading data?

-0001-11-30   Views:0

Advertisement

I am using Flash builder actionscript 3 Flex mobile. I have a very heavy function that loads data from the local device and creates many graphic elements. While this function runs, the device freezes for 6 seconds or so. I want to show a progress bar

I am using Flash builder actionscript 3 Flex mobile. I have a very heavy function that loads data from the local device and creates many graphic elements. While this function runs, the device freezes for 6 seconds or so. I want to show a progress bar and let the device continue working, is there any way I can use threading to do this ? Other ideas are also welcome.
Thanks, Koby.

The replay answer
Advertisement
Is it the size of the data you're loading (if so have you tried URLStream? or HTTPService with AsyncToken?) and if it's not just a single heavy data load and is the entire operation of loading plus performing the operations on the loaded data then you'll need to consider breaking up those operations into chunks to give the user some feedback.

Go to See the other 2 answers

Actionscript - Flex mobile - thread while loading data?

Category:DefaultRelease time:-0001-11-30Views:130

I am using Flash builder actionscript 3 Flex mobile. I have a very heavy function that loads data from the local device and creates many graphic elements. While this function runs, the device freezes for 6 seconds or so. I want to show a progress bar[More]

Flex Mobile: PersistenceManager not saving data (only on some iPads)

Category:DefaultRelease time:-0001-11-30Views:130

I have a function (save()) that saves a username after user login and a function (get()) that gets the username everytime the App is restarted so the user doesn't have to log back in and can work offline. This works on my iPad 2 and 3, but I have ano[More]

Tutorial for Developing Flex Mobile applications.

Category:DefaultRelease time:-0001-11-30Views:130

Hello all,              Can anyone provide me Tutorials to devleop  Flex Mobile applications which access data from SAP Netweaver Gateway via Flash Builder Plugin? ThanksThis is not a product forum... do you need the flash builder forum? How to Selec[More]

Is there a way to save data to just one view in Flex Mobile applications?

Category:DefaultRelease time:2015-10-11Views:130

I am having trouble handling data between views in a Flex Mobile application that I am writing. I know how to pass data from one view to another, but I was wondering if there is a way to save that data to a view, then get more data from another view[More]

Flex Mobile : URLLoader bytesTotal always at 0 when loading file

Category:DefaultRelease time:-0001-11-30Views:130

Hi ! I'm trying to load external file with UrlLoader in a Flex Mobile Project ( Initialy it was with Data/Services Options of Flash Builder, but I have the same problem ). On the complete event, it work on the desktop ( bytesTotal, xml... ), but when[More]

Does URLLoader load data in a separate thread?

Category:DefaultRelease time:-0001-11-30Views:130

I understand the Flash and AS3 is single-threaded, at least at the user level. However, I would like to understand how asynchronous data loading is handled by the Flash player. For instance, if I run CPU-intensive code that runs beyond the normal fra[More]

Flex mobile app - which data grid control to use?

Category:DefaultRelease time:-0001-11-30Views:130

Hi, Trying to build my first Flex mobile app in FlashBuilder 4.6 and I need a grid control to display a 2 dimmensional array of 6 columns x 50 rows. The user doesn't don't need to have any interraction with the grid except for scrolling the rows. I w[More]

Save data while closing Flex mobile application using HTTPService

Category:DefaultRelease time:-0001-11-30Views:130

On close of the Flex mobile application I need to save some information to the back-end by using HTTPService. On creationComplete() of the application I am adding : NativeApplication.nativeApplication.addEventListener(Event.EXITING, onExit); On close[More]

Flex Mobile Project only lists "Google Android" in Target Platforms

Category:DefaultRelease time:2015-10-11Views:130

I just downloaded the masters colection cs5.5 and im am using FlashBuilder 4.5.  When I create a new Flex  Mobile Project, only Google Android is a target platform.  I don't see  Blackberry or iOS as options. I do see Apple iOS when I create a mobile[More]

Flex Mobile 4.5.1 iOS NetworkInfo not available

Category:DefaultRelease time:-0001-11-30Views:130

Hi guys, I'm building a Flex mobile app for Android and iPad platform. I have a requirement to identify each tablet device on the server side. Normally the AIR SDK has the NetworkInfo class to access the MacAddresses available on the device: var inte[More]

Flex mobile and PHP project

Category:DefaultRelease time:-0001-11-30Views:130

Hi! Recently I've downloaded the Flash Builder for PHP to work with my Zend Server remotely located in OpenShift online. I did not  download and install the Zend Server physically on  my computer. Hence, when creating the Flex mobile and PHP project,[More]

Hot
Hi, I need to check the configuration settings where the sales orders can be blocked if the ordered quantity is less than that of minimum order quantity. Pls threw some light on this. Points assured KittyDear Krishna Go To OVAH t code message class V [More]
I have a couple of Apple IDs. I believe my wife does too.  We each have our own iCLoud account.  This all is very wasteful. We want to merge our music libraries, photos and share a calendar.  I want to stop paying twice for everything.  I spend hours [More]
Discover the new enhancements to Lightroom's advanced Healing Brush including the ability to heal and clone non-circular brush spots as well as remove easy to miss sensor dust with using the new Visualization slider. http://adobe.ly/ZpTdfkExcellent - [More]
Hi, I have a discount through employer, been on it for about 5 years.  I just renewed it about 4 months ago through email prompt, and saw Verizon trying to charge me full price without the discount.  The rep manually discounted the unwarranted charge [More]
I can't sync my iphone 4 w/ itunes, says I need itunes >= v 11.1.  I dowloaded 11.1.2 but will not launch bc my laptop is not >= 10.6.8 OS.  What to do??  HTG!Ugh.......OK.  Heading to the Apple Store tomor.  Should be an experience on BlkFriday.  P [More]
If you can see the networked HP printer but still nothing prints, or if you are thinking about buying an HP printer this weekend - you may be interested in the following HP link which lists the printers that can be successfully networked. I have been [More]
I am getting a message that says" i tunes can not run because some of it's required files are missing. Please reinstall itunes" I did reinstall itunes last night and it worked fine and I thought the problem was solved but today when I turned on [More]
What is the T Code to access this screen with heading <b>Create Transfer Order: Generate Transfer Order Item</b>Dear Ashish, T-code is LT01 - create TR order (if you get through the first screen you will get the screen heading "Create Tra [More]
please help me out ......after installing windoor7 in imac showing bluescreen errorplease help me out ......after installing windoor7 in imac showing bluescreen errorRead other 4 answers [More]
Hi- Is there a way to send a video in Mail, that will be easily sent and received with out any 3rd. party software? I am trying to use video clips from a canon elph. Everything I send is too large, is there a way to save it in a format easily sent in [More]