2019-04-25 17:52:22 +00:00
|
|
|
|
<!DOCTYPE html>
|
2021-01-10 03:36:05 +00:00
|
|
|
|
|
2019-10-06 20:32:33 +00:00
|
|
|
|
<html data-ruffle-optout>
|
2020-05-26 18:16:30 +00:00
|
|
|
|
<head>
|
|
|
|
|
<meta charset="utf-8" />
|
2021-02-17 04:39:46 +00:00
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
2020-05-26 18:16:30 +00:00
|
|
|
|
<title>Ruffle Web Demo</title>
|
2021-01-10 03:36:05 +00:00
|
|
|
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato" />
|
2021-06-11 04:30:50 +00:00
|
|
|
|
<link rel="icon" href="https://ruffle.rs/assets/favicon-32.png" sizes="32x32">
|
|
|
|
|
<link rel="icon" href="https://ruffle.rs/assets/favicon-64.png" sizes="64x64">
|
|
|
|
|
<link rel="icon" href="https://ruffle.rs/assets/favicon-180.png" sizes="180x180">
|
2020-05-26 18:16:30 +00:00
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<div id="nav">
|
|
|
|
|
<div id="title">
|
2021-01-10 03:36:05 +00:00
|
|
|
|
<a href="https://ruffle.rs/" target="_blank">
|
2020-05-26 18:16:30 +00:00
|
|
|
|
<img
|
2021-09-14 13:13:33 +00:00
|
|
|
|
src="https://ruffle.rs/assets/logo.svg"
|
2020-05-26 18:16:30 +00:00
|
|
|
|
alt="Ruffle"
|
2021-09-14 13:13:33 +00:00
|
|
|
|
data-canonical-src="https://ruffle.rs/assets/logo.svg" />
|
2020-05-26 18:16:30 +00:00
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="file-picker">
|
|
|
|
|
<div id="local-file-container">
|
2022-05-09 14:23:45 +00:00
|
|
|
|
<span id="local-file-static-label">Local SWF:</span>
|
2022-07-12 17:40:08 +00:00
|
|
|
|
<input type="file" accept=".swf,.spl" id="local-file"
|
|
|
|
|
aria-describedby="local-file-static-label" />
|
2022-05-06 13:45:38 +00:00
|
|
|
|
<label for="local-file" id="local-file-label">Select File</label>
|
2022-05-06 14:04:16 +00:00
|
|
|
|
<span id="local-file-name">No file selected.</span>
|
2020-05-26 18:16:30 +00:00
|
|
|
|
</div>
|
2021-03-26 15:17:00 +00:00
|
|
|
|
<div id="sample-swfs-container" class="hidden">
|
2020-05-26 18:16:30 +00:00
|
|
|
|
<span id="sample-swfs-label">Sample SWF:</span>
|
2022-07-12 17:40:08 +00:00
|
|
|
|
<select id="sample-swfs" aria-describedby="sample-swfs-label">
|
2021-01-10 03:36:05 +00:00
|
|
|
|
<optgroup id="anim-optgroup" label="Animations"></optgroup>
|
|
|
|
|
<optgroup id="games-optgroup" label="Games"></optgroup>
|
2020-05-26 18:16:30 +00:00
|
|
|
|
</select>
|
2021-04-15 22:12:05 +00:00
|
|
|
|
<div id="author-container" class="hidden">
|
2021-01-10 03:36:05 +00:00
|
|
|
|
<span>Author: </span><a href="#" target="_blank" id="author"></a>
|
|
|
|
|
</div>
|
2020-05-26 18:16:30 +00:00
|
|
|
|
</div>
|
2022-08-01 16:09:06 +00:00
|
|
|
|
 
|
2022-08-16 19:44:53 +00:00
|
|
|
|
<svg width="20px" id="open-modal" viewBox="0 0 416.979 416.979"><path fill="white" d="M356.004 61.156c-81.37-81.47-213.377-81.551-294.848-.182-81.47 81.371-81.552 213.379-.181 294.85 81.369 81.47 213.378 81.551 294.849.181 81.469-81.369 81.551-213.379.18-294.849zM237.6 340.786a5.821 5.821 0 0 1-5.822 5.822h-46.576a5.821 5.821 0 0 1-5.822-5.822V167.885a5.821 5.821 0 0 1 5.822-5.822h46.576a5.82 5.82 0 0 1 5.822 5.822v172.901zm-29.11-202.885c-18.618 0-33.766-15.146-33.766-33.765 0-18.617 15.147-33.766 33.766-33.766s33.766 15.148 33.766 33.766c0 18.619-15.149 33.765-33.766 33.765z"/></g></svg>
|
2023-03-31 15:45:00 +00:00
|
|
|
|
 
|
|
|
|
|
<svg id="reload-swf" width="20px" viewBox="0 0 489.711 489.711"><path fill="white" d="M112.156 97.111c72.3-65.4 180.5-66.4 253.8-6.7l-58.1 2.2c-7.5.3-13.3 6.5-13 14 .3 7.3 6.3 13 13.5 13h.5l89.2-3.3c7.3-.3 13-6.2 13-13.5v-1.6l-3.3-88.2c-.3-7.5-6.6-13.3-14-13-7.5.3-13.3 6.5-13 14l2.1 55.3c-36.3-29.7-81-46.9-128.8-49.3-59.2-3-116.1 17.3-160 57.1-60.4 54.7-86 137.9-66.8 217.1 1.5 6.2 7 10.3 13.1 10.3 1.1 0 2.1-.1 3.2-.4 7.2-1.8 11.7-9.1 9.9-16.3-16.8-69.6 5.6-142.7 58.7-190.7zm350.3 98.4c-1.8-7.2-9.1-11.7-16.3-9.9-7.2 1.8-11.7 9.1-9.9 16.3 16.9 69.6-5.6 142.7-58.7 190.7-37.3 33.7-84.1 50.3-130.7 50.3-44.5 0-88.9-15.1-124.7-44.9l58.8-5.3c7.4-.7 12.9-7.2 12.2-14.7s-7.2-12.9-14.7-12.2l-88.9 8c-7.4.7-12.9 7.2-12.2 14.7l8 88.9c.6 7 6.5 12.3 13.4 12.3.4 0 .8 0 1.2-.1 7.4-.7 12.9-7.2 12.2-14.7l-4.8-54.1c36.3 29.4 80.8 46.5 128.3 48.9 3.8.2 7.6.3 11.3.3 55.1 0 107.5-20.2 148.7-57.4 60.4-54.7 86-137.8 66.8-217.1z"/></svg>
|
2020-05-26 18:16:30 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2022-07-12 17:40:08 +00:00
|
|
|
|
<div id="main" aria-label="Select a demo or drag an SWF">
|
2021-03-26 15:17:00 +00:00
|
|
|
|
<div id="overlay" class="hidden"></div>
|
2021-01-22 02:16:39 +00:00
|
|
|
|
</div>
|
2022-08-16 19:44:53 +00:00
|
|
|
|
<div id="metadata-modal" class="modal">
|
2022-08-01 16:09:06 +00:00
|
|
|
|
<div class="modal-content">
|
2022-08-16 19:44:53 +00:00
|
|
|
|
<span class="close" id="close-modal">×</span>
|
2022-08-01 16:09:06 +00:00
|
|
|
|
<table id="metadata">
|
2022-08-03 13:28:49 +00:00
|
|
|
|
<tr>
|
|
|
|
|
<td>Uncompressed Length</td>
|
|
|
|
|
<td><span class="metadata" id="uncompressedLength">Loading</span></td>
|
|
|
|
|
</tr>
|
2022-08-01 16:09:06 +00:00
|
|
|
|
<tr>
|
|
|
|
|
<td>SWF Version</td>
|
|
|
|
|
<td><span class="metadata" id="swfVersion">Loading</span></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>FP Version</td>
|
|
|
|
|
<td><span class="metadata" id="flashVersion">Loading</span></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>ActionScript 3</td>
|
|
|
|
|
<td><span class="metadata" id="isActionScript3">Loading</span></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>Total Frames</td>
|
|
|
|
|
<td><span class="metadata" id="numFrames">Loading</span></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>Frame Rate</td>
|
|
|
|
|
<td><span class="metadata" id="frameRate">Loading</span></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>SWF Width</td>
|
|
|
|
|
<td><span class="metadata" id="width">Loading</span></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>SWF Height</td>
|
|
|
|
|
<td><span class="metadata" id="height">Loading</span></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>SWF Background Color</td>
|
|
|
|
|
<td><input class="metadata" type="color" id="backgroundColor" disabled value="#FFFFFF"></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
2022-07-27 21:02:17 +00:00
|
|
|
|
</div>
|
2021-02-17 04:39:46 +00:00
|
|
|
|
<script src="index.js"></script>
|
2020-05-26 18:16:30 +00:00
|
|
|
|
</body>
|
|
|
|
|
</html>
|