Skip to content

Commit 1d77f82

Browse files
Initial commit
1 parent 8d660ee commit 1d77f82

File tree

3 files changed

+45
-0
lines changed

3 files changed

+45
-0
lines changed

FlashHTTPRequest.swf

1.41 KB
Binary file not shown.

flashhttprequest.js

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.html

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8"/>
5+
<script src="flashhttprequest.js"></script>
6+
<script>
7+
// Ensure all FlashHTTPRequests are done via window.onload as we need to hook the Flash object
8+
window.onload = function() {
9+
FlashHTTPRequest.open('GET', 'http://example.com/', '', 'alert' );
10+
FlashHTTPRequest.open('POST', 'http://example2.com/POST/', 'test=test&var2=test', 'alert' );
11+
}
12+
</script>
13+
</head>
14+
<body>
15+
<div id="flashBridge"></div>
16+
</body>
17+
</html>

0 commit comments

Comments
 (0)