interactive pdf

Previous topic - Next topic

zero82

hi,

I'm looking for a way how documents created in scribus to convert it to pdf. The pdf file have to do is when i push a checkbox a graphic should be hidden. I have used the following Javascript. The code is correct, because the hide is working with a text frame. But the same code works not with pictures. What am I doing wrong? Do I have to set something else, so he hides the graphic?

Here the code:

var tF1 = this.getField("bild")
if (event.target.value == "Yes") {
tF1.display = display.hidden
}
else {
tF1.display = display.visible
}


thx
z