In version of Acrobat/Reader prior to 8.1 (possibly prior to 8.0), you could've built a form with a drop down list that had a Change event where you would get the URL associated with the selected item and set it on an image field and the image field would automatically load the new image. This is no longer the case with Acrobat/Reader 8.1, likely due to security reasons. The only way to load an image into an image field is to click on it in Acrobat/Reader and select a file or specify a URL.
Because of this, you really only have one workaround which is to create a series of image fields or static images (the "image" object in the Object Library palette) and hide them all. Then, in the drop down list's Change event, check the value of the new selected item using the xfa.event.newText property and, depending on the item that was picked, make the correct image visible by setting its presence property to "visible".
If your drop down list has item text and value data, xfa.event.newText will contain the item text data for the item that was selected. You can get the associated item value data by using the drop down list's boundItem method:
this.boundItem(xfa.event.newText)
This will return the item value data pertaining to the item text data.
Stefan Cameron obtained his bachelor's degree with Honors in Computer Science at the University of Ottawa and is a Computer Scientist working on Adobe's LiveCycle server products, in particular on LiveCycle Designer ES for the past 5 years.
Because of this, you really only have one workaround which is to create a series of image fields or static images (the "image" object in the Object Library palette) and hide them all. Then, in the drop down list's Change event, check the value of the new selected item using the xfa.event.newText property and, depending on the item that was picked, make the correct image visible by setting its presence property to "visible".
If your drop down list has item text and value data, xfa.event.newText will contain the item text data for the item that was selected. You can get the associated item value data by using the drop down list's boundItem method:
this.boundItem(xfa.event.newText)
This will return the item value data pertaining to the item text data.
Stefan Cameron obtained his bachelor's degree with Honors in Computer Science at the University of Ottawa and is a Computer Scientist working on Adobe's LiveCycle server products, in particular on LiveCycle Designer ES for the past 5 years.