【来自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/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值