Home
eMail

If you're seeing something other than Verdana, the Font is Graublau Sans Web by FDI fonts.info

Example Files
Updated 11/13/2009

The "Yahoo Map" Example:

The JavaScript/ActionScript bridge is a powerful way to connect a Rich Media SWF Annotation (SWF RMA) with other widgets on the PDF page. Simple, self contained SWF RMAs are easy to implement, just add them to the PDF page and they do whatever it is that they were designed to do. Typically, these don't interact with the PDF page they are placed on. In order to create a more interactive experience between the SFW RMA and the other PDF widgets, the author would need to understand what functions are exposed in the SWF and add some JavaScript to the PDF file to full take advantage of them. They would also need to know the internal name or array position of the specific RMA in order to call functions in it; not easy to parse if there are several RMAs on a page.

Some clever AcrtionScript programing can mke this task easier for the document authors who may know nothing about ActionScript or JavaScript. The example file below has an "authoring" mode. It creates buttons and adds the code for you; no fussing with document level scripts or JavaScript actions.

To add a pin to the map and create a button in the PDF file that will be associated with that location do the following...

  1. Click on the "Tools" button in the upper right of the map. A small panel should open up.
  2. Enter a label for your location
  3. Enter an address on the next line
  4. Click "Add" - The map should zoom to that location and add a button to the PDF document. Look for the button near the bottom left corner of the map.

To set the default zoom level and location..

  1. Use the + and - signs to zoom in and out.
  2. Use the mouse to pan.
  3. Click "Set Default" and that's the view that will show up when the file is first opened.
  4. You can turn your button transparent by clicking that button.
  5. Click "Tools" again to close the panel.

Because the SWF RMA is creating the buttons for you, there's no need to add any JavaScript yourself. It just works.

If you want to try this RMA in your own PDF files, create the RMA with the following URL.

http://pdfdevjunkie.host.adobe.com/rma/Acrobat_YahooMap.swf

Use the URL rather than downloading and embedding the SWF. I'll be making improvements to the code and as a linked RMA, your file will simply start working better with each update.

CorporateHeadquartersEurope.pdf

Comments: