When you want to use the "show" control in FlAniS, it is necessary to provide
some HTML and JavaScript. The "show" control will provide a "call-back" to the
environment by calling:
flanis_show(file)
where the "file" is the filename of the file that contains the image that is being displayed
when the user clicks the "show" control button. Note that if the "image_base" parameter was
used, then this parameter will also include that information (pre-pended to the filename).
Your HTML and JavaScript must look something like this:
Untitled Document
And just to be complete: in this example the "configuration file" (test.cfg) looks like this:
# config file for testing the "show" control button
controls=startstop, looprock, speed, step, zoom, refresh, show
bottom_controls=toggle
bottom_controls_tooltip=Click on frame square to remove from animation; click again to add
it back
image_preserve=0,589,800,600
auto_refresh=10
filenames=image0.jpg, image1.jpg, image2.jpg, image3.jpg, image4.jpg, image5.jpg, image6.jpg, image7.jpg
pause_percent=250
backcolor=0xFFFFFF