Save user generated image from AIR

AIR Tutorials, Downloads No Comments »

A tutorial on saving user generated image from an AIR application using Encoder classes.

No hassle, Adobe already provides encoder classes to start working on :) Learn how to use encoder classes Using Adobe AIR and Flash CS4 and create Jpeg & Png’s on the fly and also learn on how to save them.

More on save user generated image from AIR  at www.thetechlabs.com

Source file available for download

Link published on request through “Post a Link”

PDF Cross-Scripting using Adobe AIR

AIR Tutorials, Downloads No Comments »

Learn how to send data directly to a PDF within AIR environment.

The project is created with Aptana and you would need Acrobat Reader 9.1 or 8.1.3

Source files available for download.

More on PDF Cross-Scripting using Adobe AIR at www.drybydesign.com

Link published on request through “Post a Link”

Adobe AIR read and write file System – Part2

AIR Tutorials, Getting Started No Comments »

In my last tutorial Part1 I discussed on basics of  file classes File, FileMode & FileStream and also showed an example on how to point the file object to the desktop and list all the files and directories available under desktop and display the same inside the list component.

In this tutorial shall try to show on how to use FileMode.READ & FileMode.WRITEand also discuss on Asynchronous and Synchronous methods.

FileStream class has both synchronous and asynchronous

In synchronous method you cannot invoke other actions at a same time. Imagine if you are loading a huge file using synchronous method you need to wait until the file is loaded to process other actions.

Whereas in asynchronous method, these methods can run in a background allowing other actions to run at the same time and when an asynchronous actions completes it can dispatch events to the listeners on the status like if the files is loaded or if the file is read etc.
Read the rest of this entry »

Adobe AIR read and write file System – Part1

AIR Tutorials, Getting Started 2 Comments »

flash.filesystem package class provides Adobe AIR developers the ability read, write and manage files and folders.

The file classes are as follows

File  This object is used to represent the path of the file or directory for further action
FileMode  This class defines string constants (READ, WRITE, APPEND, UPDATE) used in the fileMode parameter of open() and openAsync() methods of FileStream class.

Example Usage
var fileOpened:File = File.desktopDirectory.resolvePath("abc.txt");
var newfileStream:FileStream = new FileStream();
newfileStream.openAsync(fileOpened, FileMode.READ);

FileStream  FileStream is used to read and write files. A file object points to a new or existing file and this is referred to FileStream for further actions like add,modify,delete etc (Refer the above example usage)
Read the rest of this entry »

Create data driven Adobe AIR application

AIR Tutorials, Getting Started No Comments »

Nice practical hands on tutorial found on www.learnola.com for beginners on how to create data driven Adobe AIR application.

The tutorial walks you through step by step on how to use SQLite Database with adobe AIR application.

SQLite is a small C library that implements a self-contained, embeddable, zero-configuration SQL database engine. Learn more about it @ http://www.sqlite.org/

Learn more on How to create data driven Adobe AIR application

Note : We respect your content, if you would like link to your website removed,Please write us a mail for removal @ admin@codelinkers.com

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS