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 | [EMAIL PROTECTED]
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
-------------------------------------------------------------------------