We introduced three ways to load an image file in Flex in previous article. Normally there are no any problem with loading progress of external files. You can add an event listen(Event.COMPLETE) to monitor if it is complete then do something, but if you also want to do something when any errors were caused on the loading, what should we do? Below is the sample source code on how to track Loader process in AS3:
Posts Tagged ‘Howto’
How To Track Loader Progress in AS3
February 11th, 2011 How To Calculate The Average Between 2 Colors In ActionScript 3.0
July 27th, 2010
In some web apps or flash games, we probably need to calculate the average between 2 colors, for example. feed 0xAA0000 and 0xCC0000, and return 0xBB0000 ? Is there a simple way to calculate between two hex colors?
AverageColor is a open source(Licensed under the MIT License) util-class to calculate the average between 2 colors (Hex, RGB or HSB format).
8 Steps to Install Flash On Your iPad With Frash
July 8th, 2010
Although EU may force Apple to adopt Adobe’s Flash — The European Union could enact policy forcing Apple (AAPL) to let web technologies like Flash on its iPhone, iPod Touch and iPad devices. However if you are an Apple iPad/iPhone users, it has been possible to jailbreak your device now. This week we could read many articles about Flash port for iPad which was in works by comex: The Android OS version of Flash has been ported to the iPad and it runs pretty good.
How To Fix The VerifyError: Error #1079: Native methods are not allowed in loaded code In Flash
June 29th, 2010
It’s a simple tips about the VerifyError like #1079. When you start you app by upgrading you flex sdk or complie a relatively complex Flex (SDK 4.0) project with several Library projects, probably you will take the error like: VerifyError: Error #1079: Native methods are not allowed in loaded code. Sometimes even the code basically looks like this:
40+ Step by Step Flash Preloader Tutorials
June 9th, 2010
We have built the Top 10 Creative And Cool Flash Preloaders and 20+ Creative Preloader of Flash Sites Never Bored You In The Loading Time in previous, Preloaders are essentially a usability aid that makes a visitor’s browsing experience easier by displaying a short message or detailing how long the content their looking for on your site will take to appear. Below is a list of 40+ step by step Flash preloader tutorials let you see how easy it is to create a preloading system for your sites or apps. Enjoy!
How To Get DataGrid Column And Row From Coordinate (x,y) In Flex
April 20th, 2010
We have introduced how to set background color for the headers of DataGrid in Flex, sometimes, we also need to get the row and column value in DataGrid, do you know how to do it? The following is a simple tip for this. Hope you can enjoy!
How To Create a Plugin For Your WordPress
April 5th, 2010
WordPress is a very powerful blog and cms php script built following W3C standards for XHTML and CSS. It also allows plugins to extend the core functionality of your weblog. A large number of user-developed plugins are already available and can be used to do virtually many things you want to. But for most bloggers, will do something changes to customize our wordpress system—usually we modify the theme files to do what we want, so when theme be changed, we must do the same changes again. If we can write a plugin include these changes, what we need to do is only click “active”, isn’t it?

Posted in
Tags: