Adobe released Flash builder 4.7 last week, got several new features.
Release features
For more information, see Organize imports statements.
For more information, see Quick Assist.
http://helpx.adobe.com/flash-builder/release-note/flash-builder-4-7-release-notes.html
豆瓣提供了丰富的API, 在Flex中可使用WebService快速调用。
读取指定用户收藏过的图书:
FlashPlayer 11开始原生支持JSON:
Native JSON (JavaScript Object Notation) Support — Allows ActionScript developers to take advantage of high performance native parsing and generation of JSON-formatted data.
— http://helpx.adobe.com/x-productkb/multi/release-notes-flash-player-11.html
在Flex SDK 4.6中已有顶级类: JSON。
如果使用旧的SDK, 则可以as3corelib:
An ActionScript 3 Library that contains a number of classes and utilities for working with ActionScript? 3. These include classes for MD5 and SHA 1 hashing, Image encoders, and JSON serialization as well as general String, Number and Date APIs.
不过看起来已经有两年多没有更新了。 swc下载地址: https://github.com/mikechambers/as3corelib/downloads
SDK4.6与As3CoreLib中JSON Class的method name略有不同。
代码:
private function onJSONLoad(event:ResultEvent):void { var rawData:String = String(event.result); var rawResult:Object = JSON.parse(rawData); var books:Array = (rawResult.collections as Array); var dp:ArrayCollection = new ArrayCollection(books); dataGridBooks.dataProvider = dp; }
在GitHub上查看完整代码:https://github.com/DavidGuoliang/DoubanAnalytics/blob/master/src/DouBanJson.mxml
Hi all,
I wrote a small Flex tool for parsing column names to SQL format, for example:
when I want to select those fields:
ColumnName |
ACCOUNT |
SECURITYEXCHANGE |
ORDREFNO |
ORDERID |
BUYSELL |
I need to copy those fields into my SQL editor, and put “,” for each of them, it’s boring and waste time, So I wrote a Flex tool, which can parse the fields into:
1: Added comma:
ACCOUNT,
SECURITYEXCHANGE,
ORDREFNO,
ORDERID,
BUYSELL
2: Added quotation marks and comma:
‘ACCOUNT’,
‘SECURITYEXCHANGE’,
‘ORDREFNO’,
‘ORDERID’,
‘BUYSELL’
Hope it can save your time if you are doing such kind of SQL jobs.
Get the tool: http://liguoliang.com/wp-content/uploads/2012/11/ParseStrForSQL.swf
October 8, 2012 — Beta 2 of Flash Builder 4.7 is now available. This release introduces integrated support for profiling Flash content via the upcoming Project Monocle.
Download the Flash Builder 4.7 Game Development beta 2
Key features for Flash Builder 4.7 include:
We are excited to announce the availability of Flash Builder 4.7 beta. Flash Builder 4.7 adds support for Flash Player 11.4 and AIR 3.4, as well as support for the new Apache Flex 4.8 SDK.
With full support to the new Flash Player 11.4 ActionScript Concurrency (ActionScript workers) feature, which helps developers create more responsive games and apps by offloading tasks and computations to background workers. Game content is more responsive as these workers run concurrently to leverage more machine resources while helping to avoid UI freezes and other events that slow down game play. Click here to learn more about Flash Player 11.4 and AIR 3.4 new features.
Flash Builder 4.7 beta improves AIR for iOS app development workflows with support for USB debugging, ad-hoc app deployment, and support for the iOS simulator. Click here to learn more about these new capabilities.
Screenshot of iOS feature in Flash Builder 4.7 beta
Continuing on our previously stated commitment to Flex and the development of Flex, we have contributed Flex SDK to the Apache Foundation. Flash Builder 4.7 supports Apache Flex 4.8 in addition to Adobe Flex 4.6 and Adobe Flex 3.6. For information on how to get Apache Flex SDKs for use in Flash Builder, seehttp://www.adobe.com/go/apacheflex_download.
Please report any issue you may experience together with reproducible steps here. We look forward to your feedback on Flash Builder 4.7 beta and suggestions on how we can further empower you to build great apps and games.
from:http://blogs.adobe.com/flex/2012/08/flash-builder-4-7-beta-is-here.html
// Proudly powered by Apache, PHP, MySQL, WordPress, Bootstrap, etc,.