
// Class representing info about a lecture item.
function ArticleItem (title, desc, url, dateadded) {
  this.title     = title;
  this.desc      = desc;
  this.url       = url;
  this.dateadded = dateadded;
}

/* template
  new ArticleItem('', 
               '', 
               '', 
               new Date(2003, 0, 1)),

*/

// Array of news items.
var articleItems = [
  new ArticleItem('actionscript.it interview', 
               'An interview with me by actionscript.it.',
               'actionscript.it-interview',
               new Date(2007, 9, 15)),

  new ArticleItem('german interview', 
               'An interview with me by O\'Reilly\'s german office.',
               'germaninterview2003',
               new Date(2003, 6, 15)),

  new ArticleItem('a study in flash form submission', 
               'An oreillynet article discussing how to submit a form when the enter key is pressed in Flash MX. Note Flash MX 2004\'s v2 component set has enter-key capture built in, so if you\'re using Flash MX 2004, you may want to look at the v2 components before your write your own form submission code.',
               'formsubmission',
               new Date(2003, 4, 20)),

  new ArticleItem('what is a flash mx component?', 
               'A short article for oreillynet describing the role of components in Flash MX, from both a Flasher\'s point of view and a traditional programmer\'s point of view.',
               'whatsacomponent',
               new Date(2003, 0, 21)),

  new ArticleItem('colin moock on flash mx', 
               'An interview on Flash MX by Richard Koman for oreillynet. Ok stuff, but bear in mind that it was transcribed directly from a sleepy phone call.',
               'moockonmx',
               new Date(2002, 5, 16)),

  new ArticleItem('building an address book in flash mx', 
               'A tutorial on creating an address book application using Flash UI components. Originally posted at macromedia.com\'s flash "desdev" centre.',
               'addressbook',
               new Date(2002, 2, 19)),

  new ArticleItem('the art of flash 5 preloading', 
               'A discussion of content preloading techniques for Flash 5. Originally posted at oreillynet. ',
               'art-of-preloading',
               new Date(2001, 4, 22)),

  new ArticleItem('beauty.refresh()', 
               'A discussion of Flash and web art. Originally posted at amazon.com.',
               'beauty.refresh',
               new Date(2001, 1, 12)),

  new ArticleItem('actionscripts.org interview about asdg1', 
               'An interview about the writing of ActionScript: The Definitive Guide, First Edition. Originally posted at actionscripts.org',
               'actionscripts.org-interview',
               new Date(2000, 4, 25)),


  new ArticleItem('flashkit.com interview about asdg1', 
               'An interview about the writing of ActionScript: The Definitive Guide, First Edition. Originally posted at flashkit.com.',
               'flashkit-asdg1-interview',
               new Date(2000, 1, 27)),

  new ArticleItem('streamingmediaworld video interview', 
               'An interview conducted at Flash Forward 2000 in San Francisco. Originally posted at streamingmediaworld.com.',
               'streamingmediaworld',
               new Date(2000, 1, 17))
];


