From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/5877 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: still fieldstack problem Date: Mon, 15 Oct 2001 09:58:45 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20011015095654.03486718@server-1> References: <01101220460201.01154@levana> <01101220460201.01154@levana> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035396442 5370 80.91.224.250 (23 Oct 2002 18:07:22 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:07:22 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Patrick Gundlach In-Reply-To: <01101223011303.01154@levana> Xref: main.gmane.org gmane.comp.tex.context:5877 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:5877 At 11:01 PM 10/12/2001 +0200, Patrick Gundlach wrote: >Good night... > >Well, it seems to be a kind of initialization problem. > >% output=pdf >\setupinteraction[state=start] >\setupcolors[state=start] >\definesymbol[step1][A]\definesymbol[step2][B]\definesymbol[step3][C] >\definefieldstack > [anim] > [step1, step2, step3] > [framecolor=red]%frame=off] >\starttext >\fieldstack[anim] >\goto{setb}[JS(Set_Field{anim,2})] \goto{next}[JS(Walk_Field{anim})] >\stoptext > >If I click on setb first, the next button works. How can I initialize this >field properly? \setupinteraction[openaction=ResetForm] is an option, but unfortunately it differs per viewer (5 is different from 4 and somehow at adobe they cannot decide on what to initialize in what order: fields / javascript / document; has to do with threading the tasks] Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com -------------------------------------------------------------------------