【来自KEVIN HOYT】【代码下载】【强烈推荐】Samples Updated for AIR Beta 3 | Kevin Hoyt

导读:


我只说两件事:第一件事是这篇文章提供了很多的AIR源代码下载。


第二件事就是下载的地址是: available for download.


Every new update to Adobe AIR means one thing for me - a lot of additional work. When I first started putting together samples for the AIR Pocket Guide,it never occurred to me that I’d have to revisit them time and again. What started as a couple dozen examples has also Now grown to be over forty (40) AIR samples,to include a number of full applications. That being said,I’m happy to announce that the samples update for AIR Beta 3 is complete,and are available for download.
  Accessing data in the embedded sqlite database
  Updating data in the sqlite database
  Asynchronously reading text from a local file
  Creating basic custom chrome
  Connecting to the sqlite database
  Adding custom window controls to custom chrome
  Encoding a PNG using a Flash library
  Full sqlite database example (create,read,update,delete)
  Selecting a directory
  Encoding a PNG using a JavaScript encoder
  Selecting a file from the local disk
  Dragging files into an AIR application
  Applying Flash filters to HTML content
  Creating a full screen window
  Getting a list of files from the system clipboard
  Testing connectivity to an HTTP endpoint
  Save images of Yahoo! Maps to local disk as PNG
  Custom chrome example using assets from Meebo
  Selecting multiple files from disk
  Creating a new native window
  Drag complex content from AIR to native resource
  Putting files on the system clipboard
  Remembering user login with AIR encrypted local store
  Using Flash Remoting from JavaScript
  Scaling down a selected image
  Determining the dimensions of an image
  Capturing web cam images for a slideshow
  Testing connection to any socket endpoint
  Playing a sound file
  Simple stopwatch application with custom chrome
  Storing data in a sqlite database
  Synchronously reading a text file from disk
  Creating database tables in a sqlite database
  Creating a temporary file
  Dragging text from the system into an AIR application
  Extracting the EXIF thumbnail from a JPEG image
  Uploading a file in the background
  Creating a basic popup window
  Writing text content to a local file
  Reading XML data using XMLHttpRequest (XHR)
  1 comment
  Keeto O.Dec 21
  One of the things that I really haven’t resolved in Beta 3 is dragging files into an AIR app that contains a classic sandBox. I’ve posted on the forums but I really didn’t find (or get) any answers.
  With your example,it seems that dragging files from the desktop to the app seems pretty straightforward. But when you couple it with the classic sandBox–urgh! Just plain urgh.
  In the prevIoUs beta,I Could set up my app inside the classic sandBox like how you setup yours in you sample. When a ondrop event is fired from within the classic sandBox,the handler function (also inside the classic sandBox) will be able to get the filelist (through event.dataTransfer.getData) and process each file. But because of the new security implementations,this doesn’t work anymore and fires a FilePathAccess error.
  Sorry if this is getting long,but I find it stupid that I can’t access the file list or even pass it to a function inside through the parentSandBoxBridge for processing. Yeah,I kNow that the classic sandBox should be able to access the API directly–but how are we going to handle drag events if we have a classic sandBox iframe set to 100% width and 100% height? It seems impossible and stupid.

本文转自
http://blog.kevinhoyt.org/2007/12/18/samples-updated-for-air-beta-3/

相关文章

SQLite架构简单,又有Json计算能力,有时会承担Json文件/RES...
使用Python操作内置数据库SQLite以及MySQL数据库。
破解微信数据库密码,用python导出微信聊天记录
(Unity)SQLite 是一个软件库,实现了自给自足的、无服务器...
安卓开发,利用SQLite实现登陆注册功能