Skip to content
Sections
Personal tools
You are here: Home » Collaboratories » hyperscope-wiki » TechSpecs
Views

TechSpecs

last edited 4 years ago by sheranian_r

Engelbart 80th Birthday Archive by Rebecca Sheranian
Project Technical Specs
© 2005 R. Sheranian

  1. Flash Structure:
    · Flash MX 2004
    · 1 swf file
    · 2 scenes, one for the archive and one for the credits
    · The photos, titles, video controls, and transcript box are all embedded in Flash
    · The videos and transcripts are stored externally and loaded into flash using Action Script to call the files through XML.

  2. Videos:
    · stored externally
    · .flv files. (There are also .mov files in the folder although these were only used to create the .flv files and are not necessary for the project to run)
    · All the videos are stored in a local folder called video.

  3. Text Files (transcripts):
    · The transcripts are all created as text files with Unicode encoding and are stored in a local folder called transcript.

  4. XML
    · encoding = [?xml version="1.0" encoding="iso-8859-1"?]?
    · xml structure (all tags are represented by bracets because opencourse will not display html tags also code does not keep correct format in opencourse)
    [interviews]?
    [interviews name = "crane"]?
    [transcript]? transcript / transcript_name.txt [/transcript]?
    [video]? video/video_name.flv [/video]?
    [/interviews]?
    [/interviews]?

  5. Action Script
    · 2.0
    · code (note: code does not keep correct format in opencourse)
    //load xml with:
    xmlData = new XML();
    xmlData.ignoreWhite = true;
    xmlData.onLoad = loaded;
    xmlData.load("name_of_doc.xml");
    //create function to load text from xml
    getTranscript = function (myTranscript) {
    theTranscript = new LoadVars?();
    theTranscript.datastring = "";
    theTranscript.onLoad = function(success) {
    if (success) {
    // what to do with the data
    transcript_txt.text = theTranscript.datastring;
    //create function for video connection
    var nc = new NetConnection?();
    nc.connect(null);
    var ns = new NetStream?(nc);
    videoCon.attachVideo(ns);

//inside buttons call data from xml
comments /(comments are the transcripts)/= xmlData.firstChild.childNodes[1]?.childNodes[0]?.firstChild.nodeValue;
video = xmlData.firstChild.childNodes[1]?.childNodes[1]?.firstChild.nodeValue;

  1. Scalability:
    This project can easily be scaled. Add new video and transcripts and then add a node to the xml doc and in actionscript add the node to the script inside the new button.

Facilities

 Wiki

 -- Support related --
 Help
 Forums
 Issues
« July 2009 »
Su Mo Tu We Th Fr Sa
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  
 
 


NSF logo NSDL Logo Acrossworld logo iMorph logo Powered by Plone Zope logo