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’
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).
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.
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:
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!
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!
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?