Archive for July, 2007

E4X: Watch Your Namespace…

Saturday, July 21st, 2007

When using the new XML object in ActionScript 3 and parsing the data with E4X, if your XML data has a “xmlns” attribute- you may have a difficult time getting any accessible data out of it. The infuriating thing is that the process will fail silently without throwing any errors, returning null, undefined, or anything else…

The way around this is to explicitly let Flash know what namespace you are intending to use:

1
2
namespace xspf = "http://xspf.org/ns/0/";
use namespace xspf;

In this case, I am importing XSPF playlist data for an audio project.

DUVAGAII PDF Presentation

Friday, July 13th, 2007

One thing which is really unfortunate (but necessary) about the DUVAGA project is that all major functionality is not available to the public. We have developed some really nice tools and a good workflow but no one outside of a class setting has access to any of these materials due to copyright restrictions.

Back in June, we put together a short, written overview of the system for the VRA Bulletin. Since we are also lacking in basic instructional overviews for users, I applied some screen captures of the various features along with text from the bulletin in a PDF document.

Red5: Nice Alternative to Flash Media Server

Wednesday, July 11th, 2007

I’ve put off experimenting with Red5 until today as I’m quite happy with Adobe’s solution (Flash Media Server) and Red5 is still deep in beta-land at the time of this writing.

I was able to install the server on Windows Vista and had a custom FLV stream piggybacked in a preconfigured sample application directory running in about 40 minutes. The structure is not entirely different from FMS, but is drastic enough to cause me a bit of confusion. For example, with FMS applications, you have an application directory within which are normally a “main.asc” file to configure the app, and a “streams” folder which contains any media content. With Red5, it seems there is a bit more to it: a variety of different files/filetypes to configure and very little documentation on how to start a simple video stream from scratch. In fact, I could not get anything going myself, and had to resort to a piggyback approach using a preconfigured application directory.

Aside from the initial confusion, I do see Red5 as a great product and attribute most of my difficulties to differences in the FMS framework. I’ll probably continue to experiment with the current release but am hoping for better documentation in the future. When this server reaches 1.0, I would love to give it another shot!