| 1 |
<?xml version="1.0"?> |
| 2 |
<SlideShow> |
| 3 |
<!-- |
| 4 |
Configuration file template for SlideShow.swf |
| 5 |
|
| 6 |
SlideShow.swf can display life and static PNG/JPEG/GIF image files from |
| 7 |
remote servers or residing on the same server as the app itself. |
| 8 |
|
| 9 |
Pass this file to SlideShow.swf using the `xml=<configuration file>' |
| 10 |
FlashVar. |
| 11 |
|
| 12 |
**NOTE**: For security reasons of Flash Player, the configuration file and |
| 13 |
SlideShow.swf must reside on the same web server or be both embedded into |
| 14 |
the PDF. Different web servers or the combination of web server location |
| 15 |
and embedding into the PDF throws a security error. |
| 16 |
|
| 17 |
An image definition starts with <Img [attributes]> and ends with </Img>. |
| 18 |
All attributes in the opening <Img [attributes]> tag are optional: |
| 19 |
|
| 20 |
live="<refresh interval in [s]>" for live remote image |
| 21 |
rot90="<integer number>" initial rotation by number*90° |
| 22 |
|
| 23 |
Inside an image definition, at least one <URL [attributes]>...</URL> |
| 24 |
element is required. The attributes are optional. More than one URL may be |
| 25 |
given to provide image files at various resolutions. The best one fitting |
| 26 |
within the current display size will be chosen dynamically. In the case of |
| 27 |
multiple URLs, the actual resolution of each image should be told using the |
| 28 |
|
| 29 |
size="<width>x<height>" |
| 30 |
|
| 31 |
attribute, which specifies the image file dimensions in pixels. |
| 32 |
|
| 33 |
Some servers generate bitmap graphics at arbitrary resolution upon request. |
| 34 |
In such cases, one or both of the attributes |
| 35 |
|
| 36 |
width="<width pattern>" height="<height pattern>" |
| 37 |
|
| 38 |
may be given in the opening URL tag. <width pattern> and <height pattern>, |
| 39 |
if present in the URL string, will be substituted with the current display |
| 40 |
dimensions. |
| 41 |
|
| 42 |
An image URL, given between <URL> and </URL>, can be absolute, that is, |
| 43 |
starting with 'http://...', or relative to the location of SlideShow.swf. |
| 44 |
|
| 45 |
The <caption>...</caption> element inside the image definition is optional. |
| 46 |
--> |
| 47 |
<Img live="3"> <!-- Live image, refreshed every 3 seconds --> |
| 48 |
<caption>Mow-the-lawn simulation (live remote image).</caption> |
| 49 |
<URL>http://1.618034.com/corner-icon.png</URL> |
| 50 |
</Img> |
| 51 |
<Img> <!-- remote image with dynamic size URL --> |
| 52 |
<caption>"An algorithm must be seen to be believed." (Donald E. Knuth) |
| 53 |
Remote image URL with dynamic size that is reloaded while resizing the display.</caption> |
| 54 |
<URL width="@@@@@">https://openclipart.org/image/@@@@@px/svg_to_png/137407/1304882618.png</URL> |
| 55 |
</Img> |
| 56 |
<Img> <!-- remote image with multiple URLs of different resolution --> |
| 57 |
<caption>CTAN lion drawing by Duane Bibby. Thanks to www.ctan.org. |
| 58 |
Remote image with URLs at various resolutions ("responsive image").</caption> |
| 59 |
<URL size="200x178" > |
| 60 |
http://mirrors.ibiblio.org/CTAN/macros/latex/contrib/media9/doc/files/ctan_lion_200.png</URL> |
| 61 |
<URL size="400x355" > |
| 62 |
http://mirrors.ibiblio.org/CTAN/macros/latex/contrib/media9/doc/files/ctan_lion_400.png</URL> |
| 63 |
<URL size="800x710" > |
| 64 |
http://mirrors.ibiblio.org/CTAN/macros/latex/contrib/media9/doc/files/ctan_lion_800.png</URL> |
| 65 |
<URL size="1200x1065"> |
| 66 |
http://mirrors.ibiblio.org/CTAN/macros/latex/contrib/media9/doc/files/ctan_lion_1200.png</URL> |
| 67 |
</Img> |
| 68 |
<Img rot90="3"> <!-- static image with URL relative to SlideShow.swf location --> |
| 69 |
<caption>Static embedded image file with initial rotation of 3x90°. |
| 70 |
Press "r" or "R" to change orientation.</caption> |
| 71 |
<URL>files/cubeposter.png</URL> |
| 72 |
</Img> |
| 73 |
</SlideShow> |