Flash Dragons need Flash Player 8 installed in your browser.


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

The simplest way to insert a Flash Dragons 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="323" height="364">
    <param name="movie" value="flash_dragon_3.swf" />
    <param name=FlashVars value="animStop=0&flipH=0&skipAlphaShow=0&hidePreloader=0" />
    <param name="quality" value="high" />
    <param name="wmode" value="transparent" />
    <embed src="flash_dragon_3.swf" FlashVars="animStop=0&flipH=0&skipAlphaShow=0&hidePreloader=0" wmode="transparent" quality="high" width="323" height="364" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
  </object>

To select different dragon, change the actual swf name (in this example it is
"flash_dragon_3.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 Flash Dragons. 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 : Flash Dragons [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("flash_dragon_3.swf", "flashCompanion", "323", "364", "8", "", {animStop:"0",flipH:"0",skipAlphaShow:"0",hidePreloader:"0"}, {wmode:"transparent"});
    </script>
  </head>
  <body>
    <div id="flashCompanion"> </div>
  </body>
</html>

To select different dragon, change the actual swf name (in this example it is
"flash_dragon_3.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 Flash Dragons. More about
them in the end of this document. 



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

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



---------------------------------------------------------------------------------
FLASH DRAGONS SWF FILES & SIZES
---------------------------------------------------------------------------------

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

------------------------------------------
FILENAME                    WIDTH   HEIGHT
------------------------------------------
flash_dragon_1.swf          320     475
flash_dragon_1s.swf         214     317
flash_dragon_2.swf          328     516
flash_dragon_2s.swf         219     344
flash_dragon_3.swf          323     364
flash_dragon_3s.swf         216     243 



---------------------------------------------------------------------------------
FLASH DRAGONS 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.
flipH              if set to "1": Flash is horizontally flipped.
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".