Fantasy Web Clocks need Flash Player 8 installed in your browser.


---------------------------------------------------------------------------------
EMBED FLASH :: Set-Up Tutorial
---------------------------------------------------------------------------------

The simplest way to insert a Fantasy Web Clock into your HTML files is to include
the Flash <object> tag in the <body> of your document (web page).

Below is an example <object> tag, assuming that both your HTML file and Flash
file are in the same directory:

  <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="370" height="480">
    <param name="movie" value="fantasy_web_clock_4.swf" />
    <param name=FlashVars value="animStop=0&clockStyle=0&skipAlphaShow=0&hidePreloader=0" />
    <param name="quality" value="high" />
    <param name="wmode" value="transparent" />
    <embed src="fantasy_web_clock_4.swf" FlashVars="animStop=0&clockStyle=0&skipAlphaShow=0&hidePreloader=0" wmode="transparent" quality="high" width="370" height="480" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
  </object>

To select different clock skin, change the actual swf name (in this example it is
"fantasy_web_clock_4.swf") to a different one. You'll also need to set the right
width and height for the Flash swf file to load correctly. List of swf files with
corresponding sizes is in the end of this document.

Also, there are some FlashVars used as settings for the clock. More about them in
the end of this document. 



---------------------------------------------------------------------------------
SWFObject :: Set-Up Tutorial
---------------------------------------------------------------------------------

For this tutorial you'll need swfobject.js downloaded from
http://code.google.com/p/swfobject/
and placed in the <head> of your document (web page).

Below is an example html code, assuming that this HTML file, javascript file and
Flash file are in the same directory:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
  <head>
    <title>Example : Fantasy Web Clocks [DragonLeaves.eu]</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <script type="text/javascript" src="swfobject.js"></script>
    <script type="text/javascript">
      swfobject.embedSWF("fantasy_web_clock_4.swf", "flashClock", "370", "480", "8", "", {animStop:"0",clockStyle:"0",skipAlphaShow:"0",hidePreloader:"0"}, {wmode:"transparent"});
    </script>
  </head>
  <body>
    <div id="flashClock"> </div>
  </body>
</html>

To select different clock skin, change the actual swf name (in this example it is
"fantasy_web_clock_4.swf") to a different one. You'll also need to set the right
width and height for the Flash swf file to load correctly. List of swf files with
corresponding sizes is in the end of this document.

Also, there are some Flash variables used as settings for the clock. More about
them in the end of this document.



---------------------------------------------------------------------------------
ACTIONSCRIPT LOADMOVIE  :: Set-Up Tutorial
---------------------------------------------------------------------------------

It is possible for a Fantasy Web Clock to be placed into a Flash-based web site
via actionscript loadMovie() function. To use the clock settings, declare the
settings variables in _root before loading the swf file, like in following
example:
_root.animStop      = "0";
_root.clockStyle    = "0";
_root.skipAlphaShow = "0";
_root.hidePreloader = "0";
_root.createEmptyMovieClip("myClip", _root.getNextHighestDepth());
_root.myClip.loadMovie("fantasy_web_clock_4.swf");



---------------------------------------------------------------------------------
CLOCK SWF FILES & SIZES
---------------------------------------------------------------------------------

You'll need to set the right file name and size for a swf file to load correctly.

------------------------------------------
FILENAME                    WIDTH   HEIGHT
------------------------------------------
fantasy_web_clock_1.swf     310     447
fantasy_web_clock_1s.swf    210     300
fantasy_web_clock_2.swf     441     304
fantasy_web_clock_2s.swf    294     201
fantasy_web_clock_3.swf     320     549
fantasy_web_clock_3s.swf    213     366
fantasy_web_clock_4.swf     370     480
fantasy_web_clock_4s.swf    247     320 



---------------------------------------------------------------------------------
CLOCK SETTINGS
---------------------------------------------------------------------------------

To change settings, send variables with corresponding names to Flash on load.

---------------------------
SETTINGS NAME      FUNCTION
---------------------------
animStop           if set to "1": Flash is not animated (but clock still works).
clockStyle         if set to "1": Alternative clock style is used.
skipAlphaShow      if set to "1": Flash starts without smooth alpha opening.
hidePreloader      if set to "1": Preloader is hidden.

All settings have a default value of "0".