home *** CD-ROM | disk | FTP | other *** search
/ ftp.anonawest.com / ftp.anonawest.com.tar / ftp.anonawest.com / firewks / firewks.txt < prev    next >
Text File  |  2013-02-25  |  7KB  |  175 lines

  1.  
  2.           Anfy Fireworks - Copyright (C) by Fabio Ciucci 1999-2002
  3.  
  4.  
  5. INTRODUCTION.
  6.  
  7. This applet adds a fireworks animation to a selected image as either a 
  8. foreground or background layer. The image may be very dark or solid black
  9. in colour.
  10.  
  11. **************************************************************************
  12.  
  13. NECESSARY FILES.
  14.  
  15. Apart from an optional sound file, and/or background and/or foreground
  16. images, the following 3 files must be uploaded:
  17.  
  18. firewks.class
  19. firewk.class
  20. Lware.class
  21.  
  22. Plus, you may want ot upload firewks.jar for speedy loading on recent 
  23. browsers.
  24.  
  25. **************************************************************************
  26.  
  27. EXAMPLE.
  28.  
  29. Insert the <applet></applet> tag in your html document as follows to add
  30.  this applet to your page (Comments after the ";" symbol are code 
  31. explanations and acceptable min/max values. They are not part of the 
  32. applet language):
  33.  
  34.  
  35. <applet archive="firewks.jar" code="firewks.class" width="320" height="208">
  36. <param name="credits" value="Applet by Fabio Ciucci (www.anfyteam.com)">
  37. <param name="regcode" value="NO">         ; Registration code (if you have it)
  38. <param name="reglink" value="NO">         ; Optional URL link when the applet
  39.                                           is "clicked"
  40. <param name="regnewframe" value="YES">       ; Reglink opened in new frame?
  41. <param name="regframename" value="_blank">   ; Name of new frame for reglink
  42. <param name="statusmsg" value="Fireworks">   ; Statusbar message
  43. <param name="boomsound" value="boom.au">     ; Optional sound file or "NO"
  44. <param name="maxfireworks" value="3">        ; Number of fireworks at same time
  45. <param name="fireworkspower" value="800">    ; Fireworks explosion power
  46. <param name="fireworksdensity" value="200">  ; Fireworks drawn density
  47. <param name="fireworksduration" value="160"> ; Fireworks time duration
  48. <param name="gravity" value="250">           ; Gravity; speed of free fall
  49. <param name="backimage" value="NO">          ; Background image
  50. <param name="bgcolor" value="000133">     ; Background colour in hex rrggbb format
  51. <param name="overtext" value="NO">        ; Fireworks over text? ("YES", "NO")
  52. <param name="overimg" value="NO">        ; Optional image over applet
  53. <param name="overimgX" value="0">        ; Over image X offset
  54. <param name="overimgY" value="0">        ; Over image Y offset
  55. <param name="memdelay" value="1000">     ; Memory deallocation delay
  56. <param name="priority" value="3">        ; Task priority (1..10)
  57. <param name="MinSYNC" value="10">        ; Min. milliseconds/frame for sync
  58. Sorry, your browser doesn't support Java. ; Message for no java browsers.
  59. </applet>                              ; End of applet tag
  60.  
  61.                              
  62. ****************************************************************
  63.  
  64. PARAMETER DESCRIPTIONS
  65.  
  66.  
  67. The following instructions describe the meaning of the available 
  68. parameters for this applet:
  69.  
  70. [Specify the applet and its size]
  71.  
  72. <applet archive="firewks.jar" code="firewks.class" width=320 height=208>
  73.  
  74. The size of the applet has to be identical to that of the background
  75. or foreground image, if present.
  76.  
  77. [Credit parameter]
  78.  
  79. <param name=credits value="Applet by Fabio Ciucci (www.anfyteam.com)">
  80.  
  81. Attempting to change the credit parameter will disable the applet.
  82.  
  83. [Registration parameters]
  84.  
  85. <param name=regcode value="NO">         ; Registration code 
  86.  
  87. To activate the reg parameters, read the shareware registration notes.
  88. In the "regcode" parameter, place the registration code you purchased 
  89. from us. If the code is correct and the applet is run from the registered
  90.  domain name, "link" parameters will be enabled and the applet will be
  91. linked to an associated URL when it mouse-clicked.
  92.  
  93. <param name=reglink value="NO">         ; Optional URL link
  94. <param name=regnewframe value="YES">       ; Reglink opened in new frame?
  95.  
  96. If you set "regnewframe" to "YES", you can specify a specific frame location
  97. for the reglink:
  98.  
  99. "_blank"  : To load the link in a new blank unnamed browser window.
  100. "_self"   : To load the link into the same window the applet occupies.
  101. "_parent" : To load the link into the immediate parent frame.
  102. "_top"    : To load the link into the top body of the window.
  103.  
  104. <param name=regframename value="_blank">   ; Name of new frame for reglink
  105.  
  106. You can also set a custom frame name, such as "mainpage".
  107.  
  108. <param name=statusmsg value="Fireworks">   ; Statusbar message
  109.  
  110. Here, you set the statusbar message, which is displayed at the bottom
  111. of a browser window, when you mouse-over the applet.
  112.  
  113. [Sound]
  114.  
  115. <param name=boomsound value="boom.au">     ; Optional sound file or "NO"
  116.  
  117. This applet allows you to set a sound file. The default is a sound effect
  118. for fireworks. You can set your own .au file in place of the default
  119. one; otherwise place "no" for the parameter. 
  120.  
  121. [Fireworks setting]
  122.  
  123. <param name=maxfireworks value="3">        ; Number of fireworks at same time
  124.  
  125. With the "maxfireworks" parameter, you determine the maximum number of
  126.  fireworks present on screen at one time.
  127.  
  128. <param name=fireworkspower value="800">    ; Fireworks explosions power
  129.  
  130. With "fireworkspower" you determine the speed of propagation of explosion.
  131.  
  132. <param name=fireworksdensity value="200">  ; Fireworks density
  133.  
  134. With "fireworksdensity" you determine the number of dots in each explosion.
  135. Higher values require higher CPU power and slow down the effect.
  136.  
  137. <param name=fireworksduration value="160"> ; Fireworks time duration
  138.  
  139. The duration of fireworks is determined by the "fireworksduration" parameter.
  140.  
  141. <param name=gravity value="250">           ; Gravity
  142.  
  143. This "gravity" parameter controls how fast fireworks fall down. Well, I know
  144. in real world, gravity is a constant.
  145.  
  146. <param name=backimage value="image.jpg"> ; Background image
  147.  
  148. Here, you can set a background image. 
  149.  
  150. <param name=bgcolor value="000133">     ; Background colour in hex rrggbb format
  151.  
  152. Or, paint the background in a solid colour defined by a hexadecimal number in
  153. a popular RRGGBB format. This parameter is valid only when the background image 
  154. is absent, otherwise ignored.
  155.  
  156. <param name=overtext value="NO">        ; Fireworks over text? ("YES", "NO")
  157.  
  158. The "overtext" determines if fireworks can overwrite scrolltext.
  159.  
  160. [Overlay image]
  161.  
  162. <param name=overimg value="NO">           ; Optional image over applet
  163. <param name=overimgX value="0">           ; Over image X offset
  164. <param name=overimgY value="0">           ; Over image Y offset
  165.  
  166.  
  167. With the "overimg" parameter you can specify the name of an image that will
  168. be shown over the applet. The best options are transparent GIF images.
  169.  
  170. NOTE: Animated GIF images are supported, but will be displayed as animated
  171. only on latest browsers (Netscape 4 and Explorer 4 or newer).
  172. With "overimgX" and "overimgY" you can position the image over the applet area.
  173.  
  174.  
  175.