Updated: flensedCore, CheckPlayer, flXHR

getify | CheckPlayer, Flash, flXHR, flensed | Monday, August 18th, 2008

A major update has been released which affects all 3 flensed projects, flensedCore, CheckPlayer, and flXHR. All users are encouraged to upgrade as soon as possible.

Here’s a run-down of the major things to note (more details can be found in the documentation and release-notes for each project):

  • Both CheckPlayer and flXHR have been tested thoroughly on a wide spread of browsers and platforms. The pass/fail notes can be found here: flensed Documentation
  • A new test-suite tool is available for easy testing of CheckPlayer and flXHR in various browser environments. The tool can be found here: flensed Test Suites
  • CheckPlayer now supports two new events, SWF_TIMEOUT and SWF_EI_READY. The timeout is an optional setting that times-out a non-responsive loading request of a SWF asset. The EI-ready is an optional SWF ExternalInterface callback function to check for availability/initialization on the loaded SWF (since the EI takes some time to be ready after a SWF is fully loaded). Both events tie into the DoSWF callback function feature, which allows your code to respond definitively when either of these events occur, and either load a new SWF asset or display other alternative content.
  • flXHR now supports the username/password parameters to the open() method call, which if non-empty, will create an ‘Authorization’ header and append it to the request.
  • flXHR now has a new feature called ‘instancePooling’. Essentially, this feature is most useful when integrating flXHR with Ajax frameworks (jQuery, Dojo, etc). The feature instructs flXHR to keep references to flXHR instances around, and when new instantiation requests come in, if a suitable idle (already-used) instance is available, to re-use that by sending back its reference, instead of the time/memory penalty of creating a new instance. This should greatly improve the performance of flXHR in a multiple-request environment, especially with JS frameworks.
  • Both CheckPlayer and flXHR have undergone some significant polishing in terms of code clean up, proper memory management, robust asset loading, etc.
  • Lastly, flXHR has received a major security upgrade. Details of this security change are far too intricate for this post, and will instead be handled in a separate post and in dedicated pages. These writeups are forthcoming very shortly. The short story is that (what we deem as) a security ‘hole’ in Adobe Flash Player’s cross-domain policy model was identified and reported to Adobe, and is pending a response from their engineers.

    But rather than wait for a future plugin update, flXHR’s code has *temporarily* (hopefully!) been augmented with code to attempt to plug the hole in the best way possible. The change in behavior that authors will now see is that the cross-domain policies will be enforced more strictly, in that both the flXHR.swf’s originating domain *and* the URL domain of the HTML page that hosts the flXHR.swf will be checked for cross-domain authorization (before, only the SWF’s domain is checked).

Please update flensedCore (to v0.2), CheckPlayer (to v0.7) and flXHR (to v0.6) as soon as possible to take advantage of the bug fixes, security updates, and new features! Join us in the forums and in our google-group mailing list for more information and answers to any questions you may have!

CheckPlayer updates

getify | CheckPlayer, flensed | Sunday, August 3rd, 2008

CheckPlayer v0.6-alpha7 has now been released. It has several new helpful features, and several bug fixes.

The “DoSWFCallback” parameter of DoSWF() has changed to “options”. This parameter is backwards compatible so it can still be a function callback reference. But alternatively, it can now be an object that has one or more of several properties on it to take advantage of some additional features. They are:

  1. “swfCB” : this specifies the callback function to receive the SWF embed status events as before.
  2. “swfTimeout” : this specifies a number of milliseconds to wait after a SWF is embedded but hasn’t started downloading. If the timeout triggers, and “swfCB” is defined, it will be notified with the “SWF_TIMEOUT” event status value.
  3. “swfEICheck” : this specifies an ExternalInterface callback function to test for on the loaded SWF. When the callback is detected and ready, the “swfCB” function will be notified with the “SWF_EI_READY” event status value.

There were also a number of minor bug fixes implemented, including memory management improvements. All users are encouraged to upgrade.  In addition, CheckPlayer is now nearly complete in terms of testing and features and is about ready to be declared 1.0 full release ready.

CheckPlayer v0.6-alpha7 is available for download here:  http://checkplayer.flensed.com/download.php

Please contact the email list (http://groups.google.com/group/flensed) or post in the forums (http://checkplayer.flensed.com/discuss.php) if you have any questions or suggestions.  Now is your chance to make any suggestions for changes before CheckPlayer makes its move to 1.0 final release readiness!

flXHR and CheckPlayer… updated

getify | CheckPlayer, flXHR, flensed | Friday, July 4th, 2008

flXHR v0.5-alpha7 and CheckPlayer v0.6-alpha6 have been tested together and fully operate in all supported OS’s and browsers. There were LOTS of problems introduced (mainly into flXHR) as a result of changes made to both which I failed to keep properly sync’d and tested, since the two are co-related.

If you are using either project, please make sure you have updated to these newest versions to make sure that you are not operating with non-functioning code.

FYI: flXHR v0.6 is coming soon, maybe by the end of the weekend. There are several new features which will be built around this new stable, tested base of the code, and leveraging the new CheckPlayer functionality.


Page 3 of 4« First...234