Adobe AIR Source Line Count(with source code)

Categories AIR | 05/10/09 | 2,553 views   |  tags: , , ,
Adobe AIR Source Line Count(with source code)

As a programmer, project manager or a customer, we need an overview of a project source code. There are so many tools which can help us quickly and easily get a report on source code in some programming languages such as C/C++, Java, PHP etc.

As a adobe AIR programmer, mayby you wanna make a Source Line Counter by yourself, you can know the line of *.mxml and *.as. How can we build it?

Read More

ASZip: A Very Useful ActionScript 3 library to Generate ZIP file with Simple Interface

Because a zip file permits a number of compression algorithms so a ZIP file contains one or more files. FZip is a cute little Actionscript 3 class library, it parses ZIP archives progressively, allowing access to contained files while the archive is loading(@see Actionscript 3 class zip library–FZip).

Now we will introduce an other actionscript zip library: ASZip.  You can generate ZIP files from ActionScript 3 with ASZip. ASZip uses the native gzip (Deflate) compression from the flash.utils.Bytearray.compress() method. More compression algorithms will be added in the future. ASZip has simple interface to add different types of files and directories.

Read More

How to Render PDF Content in AIR(With Source Code)

Categories AIR | 18/09/09 | 2,768 views   |  tags: , , , ,
How to Render PDF Content in AIR(With Source Code)

As we all know, PDF is a file format created by Adobe®, it lets you can view and print a file exactly as the author designed it, without needing to have the same application or fonts used to create the file.

PDF has become an Internet standard for electronic distribution because the look and feel of the original document complete with fonts, colors, images, and layout. PDF is so userful, can we render PDF contents in Adobe AIR applications? If can, how to do it?

Read More

How to Center AIR Window on Screen both Vertically and Horizontally

Most windows applications be needed to center on screen both vertically and horizontally, for AIR applications, we can use window.runtime.flash. system.Capabilities to do it. This class provides properties that describe the system and runtime that are hosting HTML content. We can provide appropriate content to as many users as possible by using the Capabilities. We can use code to alter its presentation when we know the conputer’s capabilities.

Use screen resolution and native window size properties to set desired coordinates, we can center our AIR application window.

Read More

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.

Read More

5+ Very Beautiful Skins for Flex Applications

Categories AIR | 09/08/09 | 9,695 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

126 Great Adobe AIR Applications Make Your Lives Easier

Categories AIR | 22/07/09 | 4,458 views   |  tags: ,
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.
Read More