home *** CD-ROM | disk | FTP | other *** search
/ Chip 1999 September / Chip_1999-09_cd.bin / internet / JSLib / applets / 0112 / parametry.txt < prev   
Text File  |  1997-12-31  |  7KB  |  163 lines

  1. This applet can generate and animate in realtime a waving flag.
  2. The flags of 34 nations are supported.
  3. If the flag you are searching for is not supported by this applet,
  4. please check the new FlagLoad aplet, that can load any GIF/JPG flag.
  5. Remember that are needed both Anflag.class , Lware.class and anfy.class.
  6. You must upload these 3 .class files and insert the <applet> tag on your
  7. html document to add this applet to your page.
  8. This applet is fully parametrized, so you can change flag setting the
  9. one of your nations, and change the intensity and speed of wind.
  10. Here an example of what you have to write in the html (the things anfter
  11. the ; are comments with min-max values acceptet):
  12.  
  13.  
  14. <applet code="AnFlag.class" width=167 height=117>  ; Name, Width, Height
  15. <param name=credits value="Applet by Fabio Ciucci (www.anfiteatro.it/java.html)">
  16. <param name=regcode value="NO">         ; Register code (if you have it)
  17. <param name=reglink value="NO">         ; URL where go optionally when clicked
  18. <param name=regnewframe value="YES">    ; Reglink opened in new frame?
  19. <param name=regframename value="_blank"> ; Name of new frame for reglink
  20. <param name=statusmsg value="flag applet">  ; Statusbar message
  21. <param name=res value="1">             ; Resolution (1-8)
  22. <param name=backR value="0">           ; RED comp. of backg. color (0-255)
  23. <param name=backG value="0">           ; GREEN comp. of backg. color (0-255)
  24. <param name=backB value="60">          ; BLUE comp. of backg. color (0-255)
  25. <param name=pattern value="8">         ; Type of drawing pattern (1-8)
  26. <param name=speed value="3">           ; Speed of wind
  27. <param name=curve value="3">           ; Curve level (1-5)
  28. <param name=wind value="8">            ; Wind intensity (0-20)
  29. <param name=nation value="1">          ; Nation (1-34)
  30. <param name=textscroll value="flagscr.txt"> ; File for scrolltext or "NO"
  31. <param name=textoffset value="140">         ; Txtscroll y offset
  32. <param name=textspeed value="1">          ; Txtscroll speed
  33. <param name=textfont value="Arial">       ; Txtscroll font name
  34. <param name=textbold value="NO">          ; Txtscroll bold ("YES" or "NO")
  35. <param name=textsize value="24">          ; Txtscroll font size
  36. <param name=textshadow value="YES">       ; Txtscroll shadow ("YES" or "NO")
  37. <param name=TextColR value="200">         ; Txtscroll color (red component)
  38. <param name=TextColG value="255">         ; Txtscroll color (green component)
  39. <param name=TextColB value="190">         ; Txtscroll color (blue component)
  40. <param name=TextSColR value="20">         ; Txtscroll shadow col. (red c.)
  41. <param name=TextSColG value="20">         ; Txtscroll shadow col. (green c.)
  42. <param name=TextSColB value="50">         ; Txtscroll shadow col. (blue c.)
  43. <param name=TextJumpAmp value="0">        ; Txtscroll jump aplitude
  44. <param name=TextJumpSpd value="0">        ; Txtscroll jump speed
  45. <param name=TextSineAmp value="0">        ; Txtscroll sineshape amplitude        
  46. <param name=TextSineSpd value="0">        ; Txtscroll sineshape movement
  47. <param name=TextSineAngle value="0">      ; Txtscroll sineangle / pixel  
  48. <param name=memdelay value="1000">        ; Memory deallocation delay
  49. <param name=priority value="3">           ; Task priority (1..10)
  50. <param name=MinSYNC value="10">           ; Min. milliseconds/frame for sync
  51. Sorry, your browser doesn't suppor Java.  ; Message for no java browsers.
  52. </applet>                                 ; End of applet tag
  53.  
  54.                              ---------
  55.  
  56.  
  57. Here detailed instructions about how to change parameters:
  58.  
  59.  
  60. The credits parameter can't be changed otherwise the applet will not work.
  61.  
  62. To activate the reg parameters read the shareware registration notes.
  63. In the "regcode" parameter you have to place the registration code you
  64. purchase from the author. If it is correct and the applet is run from the
  65. registered domain name, you can use "reglink" parameter, where you can specify
  66. an URL where bring user when the applet is clicked.
  67. If you set to "YES" regnewframe, you can specify a frame where load the
  68. reglink:
  69.  
  70. "_blank"  : To load the link in a new blank unnamed browser window.
  71. "_self"   : To load the link into the same window the applet occupies.
  72. "_parent" : To load the link into the immediate FRAMESET parent.
  73. "_top"    : To load the link into the top body of the window.
  74.  
  75. Otherwise the frame name, for example "myframe1".
  76.  
  77. The parameter res is the resizer, but I think in this applet the best value
  78. is 1, because enlarging screen cause worst and slower effect.
  79.  
  80. You can change the background colour for best results over your web page,
  81. the RGB values are same as HTML tags, but in decimal values.
  82.  
  83. The style of painting can be changed with the parameter "pattern":
  84.  
  85. 1 = small dots
  86. 2 = double dots
  87. 3 = stars
  88. 4 = stars with central hole
  89. 5 = triangles
  90. 6 = triple dots
  91. 7 = triple dots dithered 1
  92. 8 = triple dots dithered 2
  93.  
  94. The "speed" parameter will control speed of effect.
  95.  
  96. The "curve" level will change the Y perturbation intensity.
  97.  
  98. The "wind" value will change the metereologic situation: 0 = no waving,
  99. and 20 = uragan.
  100. Be careful... you have to manually set the width and height in <applet>
  101. tag, following this table:
  102.  
  103. wind=0    ->    width=151 height=101
  104. wind=1    ->    width=153 height=103
  105. wind=2    ->    width=155 height=105
  106. wind=3    ->    width=157 height=107
  107. wind=4    ->    width=159 height=109
  108. wind=5    ->    width=161 height=111
  109. wind=6    ->    width=163 height=113
  110. wind=7    ->    width=165 height=115
  111. wind=8    ->    width=167 height=117
  112. wind=9    ->    width=169 height=119
  113. wind=10   ->    width=171 height=121
  114. wind=11   ->    width=173 height=123
  115. wind=12   ->    width=175 height=125
  116. wind=13   ->    width=177 height=127
  117. wind=14   ->    width=179 height=129
  118. wind=15   ->    width=181 height=131
  119. wind=16   ->    width=183 height=133
  120. wind=17   ->    width=185 height=135
  121. wind=18   ->    width=187 height=137
  122. wind=19   ->    width=189 height=139
  123. wind=20   ->    width=191 height=141
  124.  
  125. I am sorry of this, but browsers does not resize() the applet.
  126.  
  127. The most important parameter is: "nation". The applets supports 34 flags
  128. of 34 nations, that you can specify with a number. Here the list:
  129.  
  130.  1 = Italy
  131.  2 = Spain
  132.  3 = France
  133.  4 = Ireland
  134.  5 = Austria
  135.  6 = Germany
  136.  7 = Netherlands (Holland)
  137.  8 = Belgium
  138.  9 = Luxembourg
  139. 10 = Sweden
  140. 11 = Norway
  141. 12 = Iceland
  142. 13 = Groenland
  143. 14 = Denmark
  144. 15 = Finland
  145. 16 = Poland
  146. 17 = Hungary
  147. 18 = Switzerland
  148. 19 = South Africa
  149. 20 = Russia
  150. 21 = Japan
  151. 22 = Israel
  152. 23 = Greece
  153. 24 = Usa
  154. 25 = Canada
  155. 26 = Australia
  156. 27 = New Zealand
  157. 28 = United Kingdom (England)
  158. 29 = Argentina
  159. 30 = Peru'
  160. 31 = Venezuela
  161. 32 = Mexico
  162. 33 = Brazil
  163. 34 = Colombia