American Audio DCD-PRO240 Manuel d'utilisateur Page 112

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 250
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 111
Freeway Reference: Working with Multimedia
112
112
Java applets
Java is a programming language developed by Sun Microsystems. Java is not to
be confused with JavaScript, a separate language. Java is platform independent,
which means the same program file (or “Java applet”) will run on any computer
or browser that has Java capability. Java applets can function as graphic items,
incorporate animation and interactivity or perform other useful tasks. Many
applets available for download provide the same functionality that might
otherwise be obtained using JavaScript Actions or Flash movies.
It is worth noting that execution of Java applets can require a great deal of
system resources on the visitor’s machine, and some browsers ship with the
Java support disabled by default. If the applet fails to run for any reason, the
visitor may just be left looking at a blank gray box on their screen with no
explanation of what has gone wrong.
Java applets can be imported into a box in Freeway just like any other content. You can add additional parameters to the applet in the
Extended dialog on the Item menu. The applet parameters are inserted in the Parameters section of this dialog. If there is a large
number of parameters, it might be best to insert a Markup box in Freeway and paste the code in there. You will need to upload the
applet separately to the web server. For more information about adding markup, see Extending the code generated for specific items on page
213.
There are three issues to be aware of when using Java applets:
• Java applets often need to be stored in the same folder as the HTML file that refers to them. This means that you should probably
make sure that you have selected the With HTML files option for the Resources in the Document Setup dialog.
• Java applets may require additional files to be uploaded to your site. You will need to upload these files separately to the server, as
Freeway will not know about them. See Dedicated FTP tools on page 142 for more information.
• Java applets can sometimes be locked so they only work from specific domains. Testing an applet which has this security feature may
not work as expected unless the test site is published to a server that is online.
• Java applets normally can’t be renamed. If you rename them you will probably find that they will not run.
You can find out more about Java technologies by visiting the Java.com web site).
Other types of non-standard web content
There are other types of non-standard web content (ie, items and file types which are not just simple text and graphic content which,
although not specifically classed as “multimedia” that we should perhaps mention here. Below are some additional file types which are
often used in web design.
PDF
PDF (Portable Document Format) is an Adobe format for electronic documents. Electronic documents created as PDF files can be
transferred via the web for viewing and printing locally. Older browsers required specific Adobe plug-ins to offer full functionality, but
all modern browser can now handle PDF files so they can be displayed within the browser window and/or downloaded to the visitor’s
computer.
Using Freeway you can offer visitors a link on a web page which can download the PDF or view it within a browser window (if their
browser supports this). To do this, you should read through the KnowledgeBase articles on the Link to PDF Action (see: http://www.
softpress.com/kb/questions/340/ (to offer the link as an HTML text link) and the Graphic Link to PDF Action (to offer the link as a
graphic item, such as a button).
Note: It is very important to note that drawing a graphic item on your page and then importing a PDF file (or dragging and dropping a
PDF file onto a Freeway page) will not offer the PDF for download or viewing in a browser. Because Freeway supports the importing of
PDFs as graphic file types, using those methods will simply import the first page of a PDF file and then, by default, Freeway will output
the graphic as a JPEG by default. Because of this, if you want to specifically offer a PDF file for download or viewing in a browser, you
must use one of the above Link to PDF Actions.
Scalable Vector Graphics (SVG)
SVG is an XML-based vector graphics format developed by Adobe in association with the World Wide Web Consortium. In many ways
similar to Flash, SVG supports layers, transparency, raster effects, and scripting. Currently, SVG has not been widely adopted, but is still
used occasionally as an alternative to Flash animations.
Most mainstream browsers require a plug-in to support SVG. However, native support for the standard is in Firefox 1.5 and above and
various other Mozilla-based browsers (see
http://www.croczilla.com/svg). For more information about SVG, see
http://www.adobe.com/svg/
An SVG file can be imported into an HTML box, but Freeway will treat it as pass-through plug-in content. As such, there is little control
over the published output from within Freeway.
Vue de la page 111
1 2 ... 107 108 109 110 111 112 113 114 115 116 117 ... 249 250

Commentaires sur ces manuels

Pas de commentaire