X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f996b,f60e1ec5d71bcdf9 X-Google-Attributes: gidf996b,public X-Google-ArrivalTime: 2001-11-05 10:52:19 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!uni-erlangen.de!fu-berlin.de!uni-berlin.de!213.242.128.42!not-for-mail From: "Joaquim Almgren Gandara" Newsgroups: alt.ascii-art Subject: Re: Nerd Boy - Fan Art Date: Mon, 5 Nov 2001 19:44:52 +0100 Lines: 36 Message-ID: <9s6n4f$11c2u3$1@ID-102694.news.dfncis.de> References: <3BE5332F.9FDC7741@rz.uni-karlsruhe.de> <9s3gov$11fvgh$1@ID-102694.news.dfncis.de> <3BE55FA0.F29F4C77@rz.uni-karlsruhe.de> <9s6kb7$11djlj$1@ID-102694.news.dfncis.de> NNTP-Posting-Host: 213.242.128.42 X-Trace: fu-berlin.de 1004986319 34999235 213.242.128.42 (16 [102694]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Xref: archiver1.google.com alt.ascii-art:9692 Tried it out myself and discovered an error on my part. You can't just change one line, there are more changes needed. function Play() { ms = Delay[No]; if (go) { document.f.ta.value = A[No]; No++; if (No >= No_Pics) No = 0; } setTimeout("Play()", ms); } That works (I tried it) provided that Delay is an array. The following seems like the easiest way to do it. Delay = new Array(2000, 800, 500, 300, 300, 800, 300, 175, 175, 200, 200, 200, 200, 450, 2000, 700, 800, 800, 200, 1000, 500, 200, 300, 200, 200, 200, 200); Also, I found that for larger animations (e.g. the complete undo log of the making of a NB strip), the MakeArray() function is very time consuming. -- http://www.ite.mh.se/~joaal98/ascii ___ __ _ _ _ ________ _ / \\\ Get to work! \ \| `.| `.| `\ \ \ \ `.' \ [.[.]-\\ , \ \ \ \ \ \ \ \ \ \ \ _, \ /_ /|/ /\ \ \ \ \ \ \ \ \ \ \ \ \ (jg) {v} |= \__/`._|\_\_\_,_\__|\_\_\ \_\ #// (\