home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 23 / IOPROG_23.ISO / SOFT / ANJAVA.ZIP / flag / anflag.txt < prev    next >
Encoding:
Text File  |  1998-11-29  |  5.2 KB  |  144 lines

  1.  
  2.           Anfyflag - Copyright (C) by Fabio Ciucci 1996/98
  3.  
  4.  
  5. This applet can generate and animate a waving flag in realtime, and
  6. the flags of 34 nations are supported.
  7.  
  8. If the flag you are searching for is not supported by this applet,
  9. please check the new FlagLoad applet which loads any GIF/JPG flag.
  10.  
  11. This applet is fully parametrized, so you can change the nation flag and
  12. change the intensity and speed of wind.
  13.  
  14. The following 3 ".class" files must be uploaded: AnFlag.class, Lware.class
  15. and anfy.class.
  16.  
  17. Insert the <applet> tag in your html document as follows to add this applet
  18. to your page (Comments after the ";" symbol are code explanations and
  19. acceptable min/max values. They are not part of the applet language):
  20.  
  21. <applet code="AnFlag.class" width=167 height=117>  ; Name, Width, Height
  22. <param name=credits value="Applet by Fabio Ciucci (www.anfyjava.com)">
  23. <param name=regcode value="NO">         ; Registration code (if you have it)
  24. <param name=reglink value="NO">         ; URL of optional link when clicked
  25. <param name=regnewframe value="YES">    ; Reglink opened in new frame?
  26. <param name=regframename value="_blank">   ; Name of new frame for reglink
  27. <param name=statusmsg value="flag applet"> ; Statusbar message
  28. <param name=res value="1">                 ; Resolution (1-8)
  29. <param name=backR value="0">            ; RED comp. of backg. color (0-255)
  30. <param name=backG value="0">            ; GREEN comp. of backg. color (0-255)
  31. <param name=backB value="60">           ; BLUE comp. of backg. color (0-255)
  32. <param name=pattern value="8">          ; Type of drawing pattern (1-8)
  33. <param name=speed value="3">            ; Speed of wind
  34. <param name=curve value="3">            ; Curve level (1-5)
  35. <param name=wind value="8">             ; Wind intensity (0-20)
  36. <param name=nation value="1">           ; Nation (1-34)
  37. <param name=pixdensity value="3">       ; Pixels density (1-20)
  38. <param name=overimg value="NO">         ; Optional image over applet
  39. <param name=overimgX value="0">         ; Over image X offset
  40. <param name=overimgY value="0">         ; Over image Y offset
  41. <param name=memdelay value="1000">      ; Memory deallocation delay
  42. <param name=priority value="3">         ; Task priority (1..10)
  43. <param name=MinSYNC value="10">           ; Min. milliseconds/frame for sync
  44. Sorry, your browser doesn't support Java. ; Message for no java browsers.
  45. </applet>                                 ; End of applet tag
  46.  
  47.                              ---------
  48.  
  49.  
  50. The following instructions detail how to change parameters:
  51.  
  52. Note: Attempting to change the crdits parameter will disable the applet.
  53.  
  54. To activate the "reg" parameters read the shareware registration notes.
  55. In the "regcode" parameter, place the registration code you
  56. purchased from the author. If the code is correct and the applet is run from
  57. the registered domain name, you can use "link" parameters to link to a URL
  58. when the applet is "clicked".
  59.  
  60. If you set "regnewframe" to "YES", you can specify a specific frame location
  61. for the reglink:
  62.  
  63. "_blank"  : To load the link in a new blank unnamed browser window.
  64. "_self"   : To load the link into the same window the applet occupies.
  65. "_parent" : To load the link into the immediate FRAMESET parent.
  66. "_top"    : To load the link into the top body of the window.
  67.  
  68. You can also set a custom frame name, such as "myframe1".
  69.  
  70. With the "overimg" parameter you can specify the name of an image that will
  71. be painted over the applet. The best options are transparent GIF images.
  72. NOTE: Animated GIF images are supported, but will be displayed as animated
  73. only on latest browsers (Netscape 4 and Explorer 4 or newer).
  74. With "overimgX" and "overimgY" you can center the image over the applet area.
  75.  
  76. You can determine the width and height of the applet with the "width" and
  77. "height" parameter in the <applet> tag.
  78.  
  79. The parameter "res: is the resizer. However, we have found that the best
  80. value is 1, because enlarging the screen causes poor display.
  81.  
  82. You can change the background color for best results on your web page.
  83. The RGB values are same as HTML tags, but in decimal values.
  84.  
  85. The style of painting can be changed with the parameter "pattern":
  86.  
  87. 1 = small dots
  88. 2 = double dots
  89. 3 = stars
  90. 4 = stars with center hole
  91. 5 = triangles
  92. 6 = triple dots
  93. 7 = triple dots dithered 1
  94. 8 = triple dots dithered 2
  95.  
  96. The "speed" parameter will control speed of effect.
  97.  
  98. The "curve" level will change the Y perturbation intensity.
  99.  
  100. The "wind" value will change the metereologic situation: 0 = no waving,
  101. and 20 = uragan.
  102.  
  103. The most important parameter is: "nation". The applet supports 34 flags
  104. of 34 nations, which you specify with a number as follows:
  105.  
  106.  1 = Italy
  107.  2 = Spain
  108.  3 = France
  109.  4 = Ireland
  110.  5 = Austria
  111.  6 = Germany
  112.  7 = Netherlands (Holland)
  113.  8 = Belgium
  114.  9 = Luxembourg
  115. 10 = Sweden
  116. 11 = Norway
  117. 12 = Iceland
  118. 13 = Groenland
  119. 14 = Denmark
  120. 15 = Finland
  121. 16 = Poland
  122. 17 = Hungary
  123. 18 = Switzerland
  124. 19 = South Africa
  125. 20 = Russia
  126. 21 = Japan
  127. 22 = Israel
  128. 23 = Greece
  129. 24 = Usa
  130. 25 = Canada
  131. 26 = Australia
  132. 27 = New Zealand
  133. 28 = United Kingdom
  134. 29 = Argentina
  135. 30 = Peru'
  136. 31 = Venezuela
  137. 32 = Mexico
  138. 33 = Brazil
  139. 34 = Colombia
  140.  
  141.  
  142. The "pixdensity" parameter (1-20) determine the distance between plotted points.
  143.  
  144.