Merge pull request #6 from urbalazs/flash

Flash has EOL and no longer supported by the browsers
master
Hypolite Petovan 2 years ago committed by GitHub
commit 46ef41508e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 0
      mahjongg/lang/C/messages.po
  2. 35
      mahjongg/mahjongg.php
  3. BIN
      mahjongg/mahjongg.swf
  4. BIN
      sniper/100x100.gif
  5. BIN
      sniper/100x100.jpg
  6. BIN
      sniper/100x75.jpg
  7. BIN
      sniper/100x80.jpg
  8. BIN
      sniper/120x90hotshotsniper.jpg
  9. BIN
      sniper/125x125.jpg
  10. BIN
      sniper/140x90.jpg
  11. BIN
      sniper/150x150.jpg
  12. BIN
      sniper/160x86.gif
  13. BIN
      sniper/180x135.jpg
  14. BIN
      sniper/250x180.jpg
  15. BIN
      sniper/300x200.jpg
  16. BIN
      sniper/300x300.jpg
  17. BIN
      sniper/32x32.jpg
  18. BIN
      sniper/335x185.jpg
  19. BIN
      sniper/60x60.jpg
  20. BIN
      sniper/64x64.gif
  21. BIN
      sniper/70x45.jpg
  22. BIN
      sniper/70x60.jpg
  23. BIN
      sniper/73x80.jpg
  24. BIN
      sniper/75x57.jpg
  25. BIN
      sniper/80x60.jpg
  26. BIN
      sniper/80x70.jpg
  27. BIN
      sniper/80x80hotshotsniper.jpg
  28. BIN
      sniper/81x67.jpg
  29. 11
      sniper/description_etc.txt
  30. 15
      sniper/hotshotsniper.html
  31. BIN
      sniper/hotshotsniper.swf
  32. 0
      sniper/lang/C/messages.po
  33. 38
      sniper/sniper.php

@ -0,0 +1,35 @@
<?php
/**
* Name: Mah Jongg
* Description: Ancient Chinese puzzle game that never gets old.
* Version: 1.0
* Author: Holger Froese
*/
use Friendica\Core\Hook;
function mahjongg_install() {
Hook::register('app_menu', 'addon/mahjongg/mahjongg.php', 'mahjongg_app_menu');
}
function mahjongg_app_menu($a,&$b) {
$b['app_menu'][] = '<div class="app-title"><a href="mahjongg">Mahjongg</a></div>';
}
function mahjongg_module() {}
function mahjongg_content(&$a) {
$o .= <<< EOT
<br><br>
<p align="left">
<embed src="addon/mahjongg/mahjongg.swf" quality="high" bgcolor="#FFFFFF" width="800" height="600" name="mahjongg" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
<br><br>
<b>Simply locate the matching tiles and find a way to clear them from the board as quickly as possible.
A timer at the top of the screen keeps track of how you are doing.</b><br>
</p>
EOT;
return $o;
}

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

@ -0,0 +1,11 @@
Description:
Shoot the targets with your sniper rifle!
Instructions:
Use your mouse to aim and shoot. Press R or Shift to Reload Press Space to use your Scope.
Dimensions:
620x480

@ -0,0 +1,15 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>hotshotsniper</title>
</head>
<body bgcolor="#000000">
<!--url's used in the movie-->
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
<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="620" height="480" id="hotshotsniper" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="hotshotsniper.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><embed src="hotshotsniper.swf" quality="high" bgcolor="#000000" width="620" height="480" name="hotshotsniper" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</body>
</html>

Binary file not shown.

@ -0,0 +1,38 @@
<?php
/**
* Demo addon for adding various types of Flash games to Friendica.
* In this case we're using "Hot Shot Sniper" by FlashGames247
*
* Name: Sniper
* Description: Basic demonstration of flash game addons for Friendica
* Version: 1.0
* Author: Mike Macgirvin <http://macgirvin.com/profile/mike>
*/
use Friendica\Core\Hook;
use Friendica\DI;
function sniper_install() {
Hook::register('app_menu', 'addon/sniper/sniper.php', 'sniper_app_menu');
}
function sniper_app_menu($a,&$b) {
$b['app_menu'][] = '<div class="app-title"><a href="sniper">Hot Shot Sniper</a></div>';
}
function sniper_module() {}
function sniper_content(&$a) {
$baseurl = DI::baseUrl()->get() . '/addon/sniper';
$o .= <<< EOT
<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="620" height="480" id="hotshotsniper" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="$baseurl/hotshotsniper.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><embed src="$baseurl/hotshotsniper.swf" quality="high" bgcolor="#000000" width="620" height="480" name="hotshotsniper" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
EOT;
return $o;
}
Loading…
Cancel
Save