Avatar
💡
  • I made the switch from Windows to OS X about 3 months ago. I have absolutely loved it and have not had any problems except for one thing. I have not been able to find a good editor to write ActionScript code.

    I had been using JEdit, but it is a little to slow and a little too Java for my liking. The other night, I came across the SE|PY editor project.

    Created Thu, 12 Feb 2004 12:08:01 +0000
  • Just a quick fyi. I have updated my ActionScript 2 Atom class.

    You can find more info on the latest changes, and well as view the class here.

    Created Thu, 12 Feb 2004 12:04:01 +0000
  • I have posted a new version of my Atom ActionScript class. This is version .20 and has a number of changes:

    • Supports all elements and attributes specified in Atom spec .03
    • Utilizes W3CDateTime class

    I am still calling this a beta, because I am thinking about some major re-factoring. Right now it does not support non-Atom names spaces, and is not constructed in a way that would make it easy to extend to add this functionality. I am trying to figure out how to make it easy to extend in order to add custom name space support.

    Created Mon, 09 Feb 2004 12:23:01 +0000
  • Just a quick reminder that I am hold a contest for the best Central themed desktop wallpaper. There are already a bunch of entries, but the deadline is not until Friday, so there is still plenty of time to make a submission. (Plus, you could win an Xbox!).

    You can find more information here.

    Created Mon, 09 Feb 2004 12:14:01 +0000
  • I am getting ready to release a beta of an ActionScript class to load, parse and manipulate Atom feeds.

    Here is another simple example that I put together, to help test some of the APIs.

    Here is the code:

    import com.macromedia.data.Atom;
    
    var a:Atom = new Atom();
    
    a.addEventListener("onAtomLoad", this);
    entryTree.addEventListener("change", this);
    
    entryField.html = true;
    titleField.setStyle("borderStyle", "none");
    titleField.setStyle("fontSize", 20);
    descriptionField.setStyle("borderStyle", "none");
    
    var entries:Array;
    
    //event broadcast once the Atom feed has been loaded
    function onAtomLoad(eventObj:Object):Void
    {
    	titleField.text = a.getFeedTitle()["value"];
    	descriptionField.text = a.getFeedTagline()["value"];
    
    	entries = a.entries;
    	var len:Number = entries.length;
    
    	//build the XML nodes for the Tree component
    	var treeXML:String = "<node label=\"Entries\">";
    	for(var i:Number = 0; i < len; i++)
    	{
    		treeXML += "<node label=\""+entries[i].title.value+"\"  index=\""+i+"\" isBranch=\"true\"/>";
    	}
    	treeXML += "</node>";
    
    	entryTree.dataProvider = treeXML;
    	entryTree.setIsOpen(entryTree.getTreeNodeAt(0), true);
    
    	entryTree.selectedNode = entryTree.getTreeNodeAt(0).getTreeNodeAt(0);
    	change({target:entryTree, type:"change"});
    }
    
    function change(eventObj:Object):Void
    {
    	var index:Number = Number(eventObj.target.selectedItem.attributes.index);
    
    	entryField.text = entries[index].content.value;
    }
    
    a.load("http://www.markme.com/mesh/atom.xml");
    
    Created Sun, 08 Feb 2004 12:13:01 +0000
  • We have released an update that addresses some issues with the video exporter and media components in Flash MX 2004 Pro.

    You can download the update from here.

    You can find more information in the readme.

    Created Fri, 06 Feb 2004 12:50:01 +0000
  • As part of the ActionScript 2 Atom class that I am putting together, I have created an ActionScript class that represents a W3CDateTime string. This is the format that Atom uses to represent dates.

    A beta of the class and simple usage example is included below. If you have any questions or suggestions (especially parsing optimizations), or find any bugs, please post them in the comments.

    Here is a simple example of the class in use:

    actionscript Created Fri, 06 Feb 2004 12:47:01 +0000
  • I am going to be heading down to Sydney in a couple of weeks for the MXDU conference. It is shaping up to be an awesome conference with some of the top developers in the world.

    I will be doing a session and a birds of a feather on Central, maybe helping out with one of the keynotes, and most importantly, hanging around with other developers.

    Anyways, if you are going to be in the southern hemisphere in a couple of weeks, you can’t afford to miss the conference.

    Created Fri, 06 Feb 2004 12:15:01 +0000
  • I am putting together an ActionScript 2 class to represent and parse Atom feeds. I have put together an early alpha version of the class, but wanted to get some feedback on it before I continue work on it.

    Alpha .22: (Feb.12 2004)

    • Refactored to make it easier to extend and add support for custom namespaces
    • User cannot add nodes
    • tag attributes are now placed in attributes object for element.
    • TODO: check case sensitivity in switch statements
    • TODO: check if namespace is added tags : atom:element
    • TODO: optimize parse functions
    • TODO: document api
    • TODO: wrap in MXP file for distribution

    Alpha .20:

    Created Thu, 05 Feb 2004 12:34:01 +0000
  • I have put together a very simple example that uses the Atom ActionScript API Alpha that I am working on.

    This lists the all of the entries contained within my Atom.xml feed.

    Here is the code:

    import com.macromedia.data.Atom;
    
    var a:Atom = new Atom();
    
    a.addEventListener("onAtomLoad", this);
    
    //event broadcast once the Atom feed has been loaded
    function onAtomLoad(eventObj:Object):Void
    {
    	var  entries:Array = a.entries;
    	var len:Number = entries.length;
    
    	//build the XML nodes for the Tree component
    	var treeXML:String = "<node label=\"Entries\">";
    	for(var i:Number = 0; i < len; i++)
    	{
    		treeXML += "<node label=\""+entries[i].title.value+"\" isBranch=\"\"/>";
    	}
    	treeXML += "</node>";
    
    	entryTree.dataProvider = treeXML;
    	entryTree.setIsOpen(entryTree.getTreeNodeAt(0), true);
    }
    
    a.load("http://www.markme.com/mesh/atom.xml");
    
    Created Thu, 05 Feb 2004 12:13:01 +0000