SWX: SWF Data Format

Icon

SWX is the native data format for Adobe Flash. This blog is about all things SWX, SWX RPC, SWX PHP and the SWX APIs (Flickr, Twitter, etc.)

Release notes for SWX PHP RC1

  • SWX RPC: MAY BREAK EXISTING APPS, read these instructions for updating your applications to SWX PHP RC1! Root data type can be any supported data type (bool, int, float, string, associative array/object, array)
  • SWX PHP: Flash 6 support. SWX PHP created SWX files work with Flash 6+.
  • SWX PHP: E_NOTICE errors are no longer returned to Flash but ignored. (Thanks to Alex Tur for reporting this.)
  • SWX PHP: Start page simplified with links to swxformat.org and online documentation.
  • SWX PHP: Added SWX RPC data type tests to the start page.
  • SWX PHP: The SWX RPC data type tests on the start page now automatically detect the gateway URL and display the gateway URL on successful completion.
  • SWX ActionScript Library: Changed event constant values to lowercase on ExternalAsset class.
  • SWX ActionScript Library: LoadManager broadcasts PROGRESS events when a new item in the queue starts to load.
  • SWX ActionScript Library: Updated to compile under Flash 6.
  • Flickr API: Implemented the full official Flickr API.
  • Flickr API: getUserPhotos() no longer makes unnecessary API call to urls_getUserPhotos. Uses the NSID instead.
  • Flickr API: getUserPhotos() renamed to swxGetUserPhotos(). All SWX Flickr API extensions now start with "swx" to separate them from the official Flickr API methods.
  • Flickr API: Added file upload script.
  • Flickr API: swxGetUserPhotos and swxPhotosGetRecent now return info on total number of pages.
  • Twitter API: addFriends() returns correct response code. Patch courtesy of Folkert.
  • Twitter API: Updated all methods to the latest official Twitter API.
  • Twitter API: Deprecated addFriend, removeFriend in favor of new friendship methods in official Twitter API.
  • Twitter API: Added getFans() alias for followersWhoAreNotFriends() method.
  • Twitter API: Updated leaveFriend() and followFriend() methods. They now return the correct status with the latest Twitter screens.
  • Twitter API: Added notifications() method for turning notifications for a friend on or off.
  • Data Analyzer: Details and history panel widths now grow when horizontal divider is moved.
  • Data Analyzer: Added web site links for documentation, etc.
  • Data Analyzer: Now displays all supported root data types correctly.
  • Data Analyzer: Resumes following data streams after the history is cleared even if user was viewing historic data previously.
  • Data analyzer: The open/close tree controls are now enabled/disabled according to the root data type.
  • Service Explorer: The method tree now has focus by default and the method dropdown does not lose focus on selection. Keyboard navigation of app should be much easier.
  • Service Explorer: The methods drop-down no longer scrolls up with the parameters.
  • Service Explorer: Added web site links for documentation, etc.
  • Sample applications: Updated simple_flickr.fla to use the new Flickr API methods.
  • Sample applications: Updated all sample applications to RC1 and tested.
  • Sample applications: All sample applications now use the public SWX gateway by default to ensure that they work regardless of whether there is a properly configured local SWX PHP instance.
  • Sample applications: Added miniflickr Flash Lite application.
  • MiniFlickr: Users can no longer go to a non-existing page.
  • MiniFlickr: Existing thumbnail overlay from previous screen does not display on new screens.
  • MiniFlickr: Focusrect is now correctly aligned.
  • MiniFlickr: Pages are correctly centered horizontally.
  • MiniFlickr: Controls display properly on details screen.
  • MiniFlickr: Main page load indicator now displays while quickly scrolling pages.

Comments are closed.