Main Using JFX Using Themes Reference FAQs Tech Support Contents  
  Advanced
  Up  

 
FrontLook Java Effects - Advanced Features

FrontLook Java Effects has several advanced features for experienced web developers. These interfaces are NOT formally supported by DPA Software and are made available to our customers without bug fix support. We will answer questions on these items via email to support@frontlook.com.

Additional Applet Parameter Tags
There are several features of the Java Effects applets that are accessible via the Java Effects FrontPage interface. All these applet parameters are accessible via a tag applet parameter entry in the Non-Java Browser Message / HTML field of the applet panel in the form:

<param name=ParameterName value="ParameterValue">

Additional applet parameters of this type must come before the Non-Java Browser message.

Sound on Cursor entry into the Applet:

To trigger a sound file whenever the user puts the cursor inside the applet, put the following tag in the Non Java Browser Message / HTML field of the applet panel.

<param name=MouseEnterSound value="_frontlook/mysound.au">

Where "mysound.au" is the .au sound file that will be triggered. This sound file must be in the _frontlook directory, especially in the case of disk webs. Since the Java Effects Applet interface is not involved in managing the web for this feature, you are responsible for making sure the "mysound.au" file is in the _frontlook directory.

Sets the background image tile alignment:

Sometimes when trying to make the applet background image lineup with the page background, misalignments can occur. Most of these problems can be solved by placing the applet in pixel specified table. When this fails, FrontLook Java Effects has an option that allows the specification of the pixel offset of a tiled image. This will only work when the image is tiled.

Use one of the following tags to set the tiles image pixel offset. Replace the 5 and -3 with the values you desire.

<param name=AppBGTileXOffset value=5>
or
<param name=AppBGTileYOffset value=-3>

Text Effects Applet Advanced Controls

Set Animation mode to start when user puts cursor in applet:
You can make the text animation effects trigger when the user puts his cursor in the applet. This is much like the Series 1 applet, come together with pointer. There are two modes for stop animation; pointer and pointer regress. The pointer mode, starts the animation when the user puts the cursor in the applet and then stops the animation immediatelty when the cursor leaves the applet. The Pointer regress mode, starts the animation when the cursor when the user puts the cursor in the applet and then backs the animation up to the starting point when the user removes the cursor from the animation. Some of these effects don't operate very well with some text animations and therefore it will require experimentation on your part to get the proper animation effect.

Use one of the following tags to set the animation mode.

<param name=AnimationMode value="_pointer">
or
<param name=AnimationMode value="_pointerregress">
 

JavaScript Support

You can use JavaScript to change the parameters of the applet while the applet is running. This feature is for experienced JavaScript programmers. Typically you make a JavaScript routine to interface to the applet and then call this routine using HTML control JavaScript events to effect the applet parameter dynamically.

<SCRIPT LANGUAGE=javascript>

<!--

function stopScrolling() {

DPAScroll.Pause()

}

//-->

</SCRIPT>


Where
DPAScroll is the name of the applet as denoted on the applet panel.


DPAPresent Methods

Here are the name of the DPAPresent public routines:


   Pause() - Stops the applet and puts it in manual mode. It will sequence once it has been paused.
   Play() - Puts the applet in play mode and it will begin sequencing it images.
   Begin() - Stops the applet and forces it to display the first image in the Images list.
   End() - Stops the applet and forces it to display the last image in the Images list.
   Next() - Stops the applet and forces it to display the next image in the Images list.
   Back() - Stops the applet and forces it to display the previous image in the Images list.

DPAScroll Methods

Here are the name of the DPAScroll public routines:

   Pause() - Stops the scrolling of the applet. It will not continue scrolling until a Play call is made to the applet
   Play() - Puts the applet in play mode and it will begin scrolling.
   Begin() - Stops the applet and forces it to it's initial state when it was started.


DPAImage Methods

Here are the name of the DPAImage public routines:

   SetEffectsFilter(String FilterName, String FilterDelay, String Speed, String Amount )

where FilterName is the name of the Effects plugin class without the leading "e" character.

   SetTextString( int stringnumber, String theString )

where stringnumber is the number of the string and theString is the replacement string.

DPAText Methods

Here are the name of the DPAText public routines:

   SetTextString( int stringnumber, String theString )

where stringnumber is the number of the string and theString is the replacement string.

 
 

| Copyright 2002 | DPA Software | Last updated :09/09/2002 |