<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4522.1800" name=GENERATOR></HEAD>
<BODY 
style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; FONT: 10pt verdana; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none">
<DIV><SPAN class=252141405-04042001><FONT face=verdana>&lt; The problem to 
know&nbsp;what is you're aim here What do you wan't to do 
exactly?</FONT></SPAN></DIV>
<DIV><SPAN class=252141405-04042001>&lt;</SPAN></DIV>
<DIV><SPAN class=252141405-04042001></SPAN>&nbsp;</DIV>
<DIV><SPAN class=252141405-04042001><FONT face=verdana>Its graphics and 
animation data to be used with JavaScript functions&nbsp;that drive&nbsp;DHTM 
and SVG (Scalable Vector Graphics). It is probably a lot like Flash and we will 
output to that as well but I assume Flash uses its own encoding/decoding format. 
There is really no limit to how much data you could have so compacting it as 
much as possible is important. At this point we don't want to get into streaming 
but I suppose there is no reason why the data could not be sent in packets. At 
the moment just putting it into a file (could even be in the HTML or SVG file if 
that makes sense) and then using a standard JavaScript operation to read it. 
Decoding or parsing should not be a problem for us if we can find and read 
it.</FONT></SPAN></DIV>
<DIV><SPAN class=252141405-04042001><FONT size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=252141405-04042001><FONT size=2>Thanks<BR><BR>Steve 
White<BR>www.VirtualMechanics.com<BR>www.DHTMLMagic.com<BR>www.SVGMagic.com<BR>www.IMSWebTips.com</FONT> 
</DIV></SPAN>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT 
  face=Tahoma>-----Original Message-----<BR><B>From:</B> 
  javascript-admin@LaTech.edu [mailto:javascript-admin@LaTech.edu]<B>On Behalf 
  Of </B>BEKIM BACAJ<BR><B>Sent:</B> Tuesday, April 03, 2001 5:58 
  PM<BR><B>To:</B> javascript@LaTech.edu<BR><B>Subject:</B> Re: [Javascript] 
  Passing data<BR><BR></FONT></DIV>
  <DIV>Hi, Steve!</DIV>
  <DIV>The problem to know&nbsp;what is you're aim here</DIV>
  <DIV>What do you wan't to do exactly?</DIV>
  <DIV>Yes you can put anything in a .txt file. But how do you load it, and what 
  type of data do you need.</DIV>
  <DIV>JS has a FileSysObject that can read files, and also write to 
files.</DIV>
  <DIV>The split is a command used in strings, why do you need it for?</DIV>
  <DIV>Be more specific!</DIV>
  <DIV>Regards</DIV>
  <DIV><BR></DIV>
  <BLOCKQUOTE 
  style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
    <DIV style="FONT: 10pt Arial">----- Original Message -----</DIV>
    <DIV 
    style="BACKGROUND: #e4e4e4; FONT: 10pt Arial; FONT-COLOR: black"><B>From:</B>&nbsp;Steve 
    White</DIV>
    <DIV style="FONT: 10pt Arial"><B>Sent:</B>&nbsp;Tuesday, April 03, 2001 
    11:37 PM</DIV>
    <DIV style="FONT: 10pt Arial"><B>To:</B>&nbsp;javascript@LaTech.edu</DIV>
    <DIV style="FONT: 10pt Arial"><B>Subject:</B>&nbsp;RE: [Javascript] Passing 
    data</DIV>
    <DIV><BR></DIV>I am not familiar with Split() but I assume that it is some 
    type of string<BR>parser. If so the problem I am trying to figure out is how 
    do I pass the<BR>data? If I have a SCRIPT in a HTML file how do I include 
    the code or can I<BR>just put it in a .txt file and read it. Does js even 
    have a Read File<BR>operation?<BR><BR>I need to get a good reference 
    book.<BR><BR>Thanks<BR><BR>Steve 
    White<BR>www.VirtualMechanics.com<BR>www.DHTMLMagic.com<BR>www.SVGMagic.com<BR>www.IMSWebTips.com<BR><BR>-----Original 
    Message-----<BR>From: javascript-admin@LaTech.edu 
    [mailto:javascript-admin@LaTech.edu]On<BR>Behalf Of TomMallard<BR>Sent: 
    Tuesday, April 03, 2001 2:23 PM<BR>To: javascript@LaTech.edu<BR>Subject: Re: 
    [Javascript] Passing data<BR><BR><BR>If you used ASCII and kept your 
    key=value pairs it would make parsing it out<BR>on the client pretty simple 
    with split().<BR><BR>Just a thought,<BR><BR>tom<BR>----- Original Message 
    -----<BR>From: "Ian Turner" &lt;ian.turner@romseyassoc.com&gt;<BR>To: 
    &lt;javascript@LaTech.edu&gt;<BR>Sent: Tuesday, April 03, 2001 9:26 
    AM<BR>Subject: RE: [Javascript] Passing data<BR><BR><BR>&gt; Certainly the 
    latter is possible. Though your parsing routine might be<BR>&gt; complex and 
    therefore large in its own right.<BR>&gt; It could be done as a server side 
    include file or by putting a string into<BR>&gt; the HTML 
    file.<BR>&gt;<BR>&gt; All the best<BR>&gt; Ian<BR>&gt;<BR>&gt; -----Original 
    Message-----<BR>&gt; From: javascript-admin@LaTech.edu 
    [mailto:javascript-admin@LaTech.edu]On<BR>&gt; Behalf Of Steve White<BR>&gt; 
    Sent: 03 April 2001 16:47<BR>&gt; To: javascript@LaTech.edu<BR>&gt; Subject: 
    [Javascript] Passing data<BR>&gt;<BR>&gt;<BR>&gt; We generate large graphic 
    data structures to be processed by our included<BR>js<BR>&gt; code. I would 
    like to reduce the size of the data as much as possible.<BR>&gt;<BR>&gt; 
    Instead of passing the data as variable assignments it would be better 
    to<BR>&gt; pass it as binary or if that is not possible at least as a 
    sequence of<BR>ASCII<BR>&gt; values. So instead of:<BR>&gt;<BR>&gt; 
    Mctl[2][0].dis=0;<BR>&gt; Mctl[2][0].cout=43431132;<BR>&gt; 
    Mctl[2][0].rgb1=33593818;<BR>&gt; Mctl[2][0].rgb2=10066329;<BR>&gt; 
    Mctl[2][0].lwid=0;<BR>&gt; Mctl[2][1] = new Array();<BR>&gt; 
    Mctl[2][1].sclx=1.00;<BR>&gt; Mctl[2][1].scly=1.00;<BR>&gt; 
    Mctl[2][1].rot=-91.00;<BR>&gt; Mctl[2][1].tim=363;<BR>&gt; 
    Mctl[2][1].dis=238;<BR>&gt; Mctl[2][1].cout=43431132;<BR>&gt;<BR>&gt; I 
    could do something like:<BR>&gt;<BR>&gt; 0, 
    43431132,33593818,10066329,0,1.00,1.00,91.00,363,238,43431132;<BR>&gt;<BR>&gt; 
    Can JavaScript be used to read an attached binary or ASCII file? Or 
    could<BR>it<BR>&gt; be included within the SVG/HTML document as a huge 
    string and then parsed<BR>&gt; following the onload event?<BR>&gt;<BR>&gt; 
    Thanks<BR>&gt;<BR>&gt; Steve White<BR>&gt; www.VirtualMechanics.com<BR>&gt; 
    www.DHTMLMagic.com<BR>&gt; www.SVGMagic.com<BR>&gt; 
    www.IMSWebTips.com<BR>&gt;<BR>&gt;<BR>&gt; 
    _______________________________________________<BR>&gt; Javascript mailing 
    list<BR>&gt; Javascript@LaTech.edu<BR>&gt; 
    http://www.LaTech.edu/mailman/listinfo/javascript<BR>&gt;<BR>&gt;<BR>&gt; 
    _______________________________________________<BR>&gt; Javascript mailing 
    list<BR>&gt; Javascript@LaTech.edu<BR>&gt; 
    http://www.LaTech.edu/mailman/listinfo/javascript<BR>&gt;<BR><BR><BR>_______________________________________________<BR>Javascript 
    mailing 
    list<BR>Javascript@LaTech.edu<BR>http://www.LaTech.edu/mailman/listinfo/javascript<BR><BR><BR>_______________________________________________<BR>Javascript 
    mailing 
    list<BR>Javascript@LaTech.edu<BR>http://www.LaTech.edu/mailman/listinfo/javascript<BR>
    <DIV></DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>