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.

Continue reading “How to Wait or Sleep in Flex/ActionScript”

How to Resume Download or Accessing Serial Port in AIR Applications VIA SOCKET

The Flex sockets are so cool, you can connect to any type of TCP/IP server, because of security policy we cant add and change HTTP headers, but using SOCKET you can send any type of HTTP requests and working with responses. So if you hope the task was to implement a download manager with resume download support, SOCKET is a good solution for you.

The same with above, if you want to use printer with air, you can not find any poperties to accessing serial port or usb, but it is possible with a binary socket and serial proxy.

Continue reading “How to Resume Download or Accessing Serial Port in AIR Applications VIA SOCKET”

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

Continue reading “An example of How to load FlashPaper in Flex(with source code)”

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.

Continue reading “5+ Very Beautiful Skins for Flex Applications”

The Ultimate Collection of AJAX File Upload Plugins

Browsers force us to use file inputs (<input type=”file” />) for uploads, which are impossible to style. Moreover, form-based uploads look obsolete in modern AJAX applications. Today I’m bringing you only high quality AJAX file upload plugins which will help you to enhance your user’s experience.

Continue reading “The Ultimate Collection of AJAX File Upload Plugins”

What is AJAX & amazing AJAX based applications and resources

In classical web applications, when we submit a form, although most of the page remains the same, whole page is reloaded from the server. This causes long waiting times and waste of bandwidth. The combination of a group of web technologies known as AJAX is come up with to create interactive web  applications. With AJAX, web applications can retrieve data asynchronously from server while not refreshing the whole page.

AJAX is a shorthand for asynchronous JavaScript and XML. AJAX is not a technology in itself, but a term that refers to the use of a group of technologies together.

Continue reading “What is AJAX & amazing AJAX based applications and resources”

Introduction to SmartGWT Enterprise Edition (EE)

In a nutshell, SmartGWT EE provides a whole lot of features that allow accelerated server side integration with SmartGWT’s visual components. Fully functional CRUD screens, with inline editing, virtual pagination, type validation, ability to create new records, deletes, updates, advanced filtering capabilities, file export and upload can be build with as little as 25 lines of client side SmartGWT code, and a simple XML based DataSource descriptor file that lives on the server side.

Continue reading “Introduction to SmartGWT Enterprise Edition (EE)”

The list of jQuery Twitter Plugins and APIs(Very Userful)

Many people like me love Twitter because we can get in touch with people who have similar interests no matter where you are or what you’re doing. Twitter is great and so much more manageable, it’s quick and it’s snazzy. A tweet can have a maximum of 140 characters. We can update the staus by web, applications or text.

jQuery is a lightweight JavaScript library that emphasizes interaction between JavaScript and HTML. If you owned a wordpress based blog, maybe you have known, in fact, wordpress is also a jQuery based blog system.

Continue reading “The list of jQuery Twitter Plugins and APIs(Very Userful)”

126 Great Adobe AIR Applications Make Your Lives Easier

Adobe AIR offers an exciting new way to engage customers with innovative, branded applications, without requiring changes to existing technology, people, or processes.

Adobe AIR as a cross-operating system runtime that enables web developers to use their existing web development skills, code and tools to build and deploy rich web applications and content to the desktop.
Continue reading “126 Great Adobe AIR Applications Make Your Lives Easier”