| eBay Flash SDK Resources: Flex Developer Guide | Flash Developer Guide | eBay ActionScript 3 Library Reference | | eBay Flash Developer Center |
The eBay Flex/Flash SDK is a set of ActionScript 3 libraries that you can use to develop applications with either Adobe's Flex or Flash tools. Since many developers use Adobe's Flex Builder 2 IDE for Flex development, and Adobe's Creative Suite 3 tool for Flash development, the SDK includes separate Developer Guides and Tutorials for Flash and Flex users.
This SDK provides ActionScript packages, classes, and types that you can use to create widgets or applications. The ActionScript libraries are the same for both Flash and Flex environments. The samples for each implementation, however, are different, because of different development methods in each environment.
Version 2.2 of the eBay Flex/Flash SDK is based on eBay Shopping Web Services release 549. See the eBay Shopping Web Services Release Notes for information about the changes and updates associated with a specific release of the Shopping API.
The eBay Flex/Flash SDK requires Flash Player Version 9. Version 2.2 of the eBay Flex/Flash SDK has been tested on and is supported for the following browsers and IDEs:
This version of the JavaScript SDK contains five new calls, two new samples, and a timeout retry method that will automatically re-submit a failed call.
The following calls from the eBay Shopping API have been added to the JavaScript SDK:
The following samples (applications that use Shopping API calls) have been added to the JavaScript SDK:
The Timeout Retry capability has been added as part of the JavaScript SDK 2.2. To use this feature, you just need to pass in a RetryConfig object when you are creating the Shopping object. RetryConfig has the following configurable parameters:
The following is an example of these parameters:
var shoppingConfig:Object = {appId:'YouAppID'};
var retryConfig:Object = {enable: true, timeoutPeriod: 1000, retryInterval: 200, retryCount: 3};
var service:Shopping = new Shopping(shoppingConfig, retryConfig);
Note that if you do not pass in the retryConfig object and the specified parameters, default
values will be used.
The eBay Flex/Flash SDK 2.2 is backward compatible with the Flex/Flash Toolkit 2.1. It is not compatible with the Flex/Flash Toolkit 1.0.
We recommend that you download the latest version of the Flex/Flash SDK and use the samples as an example of how to use each Shopping API call. If you are having trouble migrating custom code that you created with the Flex/Flash Toolkit 1.0, please contact eBay's Developer Technical Support.
The eBay Flex/Flash SDK Download contains everything you need to create your own eBay
Flex/Flash widgets. The download (eBayShoppingSDK_Flex_Flash_2.2.full.zip) file includes the following items:
Src, contains all the
ActionScript source code.
WDKASLib.swc, is a package containing all the compiled code
needed to interact with the eBay Shopping API, store data, and handle error conditions. This file
is located within the Lib directory.
Concepts directory, and the API
Documentation is located in the ASDoc directory as well as online in the Flash Developer Center).
If you don't want to refer to the samples as you code, you can download the smaller
eBayShoppingSDK_Flex_Flash_2.2.zip package.
This section contains instructions about using the Flex/Flash SDK within each specific development environment.
Once you have downloaded and unzipped the contents of the SDK, follow these steps to get started:
You need an AppID to use the eBay Shopping API. Joining is easy and it's FREE!
See the Flex Developer Guide and the Tutorials for more detailed set-up procedures.
Once you have downloaded and unzipped the contents of the SDK, follow these steps to get started:
You need an AppID to use the eBay Shopping API. Joining is easy and it's FREE!
C:\Program Files\Adobe\Adobe Flash CS3\en\Configuration\ComponentsSee the Flash Developer Guide and the Tutorials for more detailed set-up procedures.
Back to topVisit the eBay Flash Developer Center for more information and links for current documentation and support.
For a current list of known issues, see System Announcements and the Knowledge Base.
The eBay Flex/Flash SDK is licensed under the terms of the Common Development and Distribution License ("CDDL"). A copy of the CDDL, COMMON DEVELOPMENT AND DISTRIBUTION LICENSE.doc, is included within the SDK. Please review the license before using the eBay Flex/Flash SDK.
See the following sites for more information:
Open Source Initiative OSI - Common Development and Distribution License (CDDL)
(http://www.sun.com/cddl/)
Common Development and Distribution License (CDDL) Information
(http://www.opensource.org/licenses/cddl1.php)
In order to leave a comment in this section, you must view the Readme via the eBay web site: http://developer.ebay.com/DevZone/Flex/docs/readme.html.
© 2008 eBay Inc. All rights reserved.
eBay and the eBay logo are registered trademarks of eBay Inc.
All other brands are the property of their respective owners.