What is an ActionScript extension?<br />Provide a transparent way to extend ActionScript (Flash, Flex, AIR) desktop applic...
Reasons to write an ActionScript extension include the following:<br />	•A native code implementation provides access to d...
Actionscript based applications usually have an attractive appearance and several graphic features. They also are relative...
Objectives<br />Design a simple communication protocol (RPC-based) for allowing message exchanging between ActionScript an...
Actionscript extension architecture<br />
Upcoming SlideShare
Loading in …5
×

Developing actionscript native extensions

1,150 views
1,059 views

Published on

Published in: Technology
2 Comments
0 Likes
Statistics
Notes
  • Thank you Sunil.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • This topic was pretty new to most of the developers in the meeting and it was prepared and presented by Sunil Ratada in a very informative and fantastic way. Kudos to Sunil.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

No Downloads
Views
Total views
1,150
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
6
Comments
2
Likes
0
Embeds 0
No embeds

No notes for slide

Developing actionscript native extensions

  1. 1. What is an ActionScript extension?<br />Provide a transparent way to extend ActionScript (Flash, Flex, AIR) desktop applications capabilities using technologies with native capabilities (Java, C#, C++, Python, etc). On the other hand, provides a easy way to create rich GUIs for existing desktop applications, built with any of these technologies.<br />An ActionScript extension <br />is a combination of:<br />•ActionScript classes.<br />•Native code. Native code is defined here as code that executes outside the runtime. <br />For example, code that you write in C is native code.<br />
  2. 2. Reasons to write an ActionScript extension include the following:<br /> •A native code implementation provides access to device-specific features. These device-specific features are not available in the built-in ActionScript classes, and are not possible to implement in application-specific ActionScript classes. The native code implementation can provide such functionality because it has access to device-specific hardware and software.<br /> •A native code implementation can sometimes be faster than an implementation that uses only ActionScript.<br /> •A native code implementation allows you to reuse existing code.<br />
  3. 3. Actionscript based applications usually have an attractive appearance and several graphic features. They also are relatively simple to construct. But they are limited by the flash player sandbox for security reasons. Therefore, several low level features (e.g. OS integration, shell commands and other) are not available on this kind of application.<br />Technologies like Java and C++ have a lot of capabilities for data manipulation, peripherals handling, OS integration and more. But they don't offers an efficient and productive way to build rich GUIs.<br />
  4. 4. Objectives<br />Design a simple communication protocol (RPC-based) for allowing message exchanging between ActionScript and Native code.<br />Develop a framework to implement the above protocol in the actionscript side.<br />Develop Native side frameworks to implement the protocol.<br />Develop tools for helping development and deployment processes.<br />Design a basic architecture for this kind of application.<br />Develop a base infra-structure layer for allowing the construction of native libraries (e.g. File System, Registry, USB, Bluetooth, etc) using this infra-structure.<br />
  5. 5. Actionscript extension architecture<br />

×