How to Wait or Sleep in Flex/ActionScript

Categories Flex | 28/08/09 | 41,917 views   |  tags: , , ,
How to Wait or Sleep in Flex/ActionScript

If you want to upload a big file to server or do a long time action in Flex/ActionScript like HTTPService to communicate with an external server that hosts the database, a time delay function like Sleep() will be needed.

So, is there a sleep function in flex 2 ? Run multi-thread, one sleep and wait the result of this thread and the other will be continue.

Unfortunatly, because the flash player, from our perspective, is single threaded so we can not do that.

Read More

An example of How to load FlashPaper in Flex(with source code)

Categories Flash, Flex | 15/08/09 | 7,859 views   |  tags: , ,
An example of How to load FlashPaper in Flex(with source code)

FlashPaper is very useful, we can create web-ready Flash documents or secure, compact PDF files from any printable document in just one click with FlashPaper.  The following is some main feature of FlashPaper introduced on the offical site:

  • Easily create or e-mail any Microsoft Office document as a Flash document or PDF
  • Instantly secure sensitive medical, legal or business documents
  • Streamline document distribution with highly compressed files
  • Create universally accessible files that are viewable on any platform
  • Quickly capture web pages and HTML
  • Create online newsletters, flyers and marketing materials

Read More

5+ Very Beautiful Skins for Flex Applications

Categories AIR | 09/08/09 | 18,795 views   |  tags: , ,
5+ Very Beautiful Skins for Flex Applications

Build a flex applications that look good right out of the box with flex 3 or 4 is easy, you can customize the look of your applications with several ways be given by Flex builder, but I think most developers hope the applications built by them will be amazing and unique. So, for getting some inspiration, did you spend some days to customiuze the skin of your Flex applications but had no any inspiration? Maybe you can find many functions, classes, even libiaries for actionscript/flex easily, but take a suitable skin will be difficlut.

We spend some time to collect a list of beautiful skins for flex applications, hope it will be helpful for you and can save your time.

Read More