My favorites
▼
|
Sign in
gmaps-samples-flash
Sample code for the Google Maps API for Flash
Project Home
Downloads
Wiki
Issues
Source
Checkout
Browse
Changes
Source path:
svn
/
trunk
/
demos
/
MarkerXmlSearcher
/
MarkerXmlSearcher.html
r357
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<!-- saved from url=(0014)about:internet -->
<html lang="en">
<!--
Smart developers always View Source.
This application was built using Adobe Flex, an open source framework
for building rich Internet applications that get delivered via the
Flash Player or to desktops via Adobe AIR.
Learn more about Flex at http://flex.org
// -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- BEGIN Browser History required section -->
<link rel="stylesheet" type="text/css" href="history/history.css" />
<!-- END Browser History required section -->
<title></title>
<script src="AC_OETags.js" language="javascript"></script>
<!-- BEGIN Browser History required section -->
<script src="history/history.js" language="javascript"></script>
<!-- END Browser History required section -->
<style>
body { margin: 0px; overflow:hidden }
</style>
<script language="JavaScript" type="text/javascript">
<!--
// -----------------------------------------------------------------------------
// Globals
// Major version of Flash required
var requiredMajorVersion = 9;
// Minor version of Flash required
var requiredMinorVersion = 0;
// Minor version of Flash required
var requiredRevision = 28;
// -----------------------------------------------------------------------------
// -->
</script>
</head>
<body scroll="no">
<script language="JavaScript" type="text/javascript">
<!--
// Version check for the Flash Player that has the ability to start Player Product Install (6.0r65)
var hasProductInstall = DetectFlashVer(6, 0, 65);
// Version check based upon the values defined in globals
var hasRequestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
if ( hasProductInstall && !hasRequestedVersion ) {
// DO NOT MODIFY THE FOLLOWING FOUR LINES
// Location visited after installation is complete if installation is required
var MMPlayerType = (isIE == true) ? "ActiveX" : "PlugIn";
var MMredirectURL = window.location;
document.title = document.title.slice(0, 47) + " - Flash Player Installation";
var MMdoctitle = document.title;
AC_FL_RunContent(
"src", "playerProductInstall",
"FlashVars", "MMredirectURL="+MMredirectURL+'&MMplayerType='+MMPlayerType+'&MMdoctitle='+MMdoctitle+"",
"width", "100%",
"height", "100%",
"align", "middle",
"id", "MarkerXmlSearcher",
"quality", "high",
"bgcolor", "#869ca7",
"name", "MarkerXmlSearcher",
"allowScriptAccess","sameDomain",
"type", "application/x-shockwave-flash",
"pluginspage", "http://www.adobe.com/go/getflashplayer"
);
} else if (hasRequestedVersion) {
// if we've detected an acceptable version
// embed the Flash Content SWF when all tests are passed
AC_FL_RunContent(
"src", "MarkerXmlSearcher",
"width", "100%",
"height", "100%",
"align", "middle",
"id", "MarkerXmlSearcher",
"quality", "high",
"bgcolor", "#869ca7",
"name", "MarkerXmlSearcher",
"allowScriptAccess","sameDomain",
"type", "application/x-shockwave-flash",
"pluginspage", "http://www.adobe.com/go/getflashplayer"
);
} else { // flash is too old or we can't detect the plugin
var alternateContent = 'Alternate HTML content should be placed here. '
+ 'This content requires the Adobe Flash Player. '
+ '<a href=http://www.adobe.com/go/getflash/>Get Flash</a>';
document.write(alternateContent); // insert non-flash content
}
// -->
</script>
<noscript>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
id="MarkerXmlSearcher" width="100%" height="100%"
codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
<param name="movie" value="MarkerXmlSearcher.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#869ca7" />
<param name="allowScriptAccess" value="sameDomain" />
<embed src="MarkerXmlSearcher.swf" quality="high" bgcolor="#869ca7"
width="100%" height="100%" name="MarkerXmlSearcher" align="middle"
play="true"
loop="false"
quality="high"
allowScriptAccess="sameDomain"
type="application/x-shockwave-flash"
pluginspage="http://www.adobe.com/go/getflashplayer">
</embed>
</object>
</noscript>
</body>
</html>
Show details
Hide details
Change log
r296
by pamela.fox on Mar 31, 2009
Diff
Adding demos from hackathon
Go to:
/trunk/demos/LabeledShapeIcons
...s/LabeledShapeIcons/AC_OETags.js
...hapeIcons/LabeledShapeIcons.html
...ShapeIcons/LabeledShapeIcons.swf
.../demos/LabeledShapeIcons/history
...edShapeIcons/history/history.css
...ledShapeIcons/history/history.js
...eIcons/history/historyFrame.html
...peIcons/playerProductInstall.swf
.../demos/LabeledShapeIcons/srcview
...dShapeIcons/srcview/AC_OETags.js
...ns/srcview/LabeledShapeIcons.zip
...apeIcons/srcview/SourceIndex.xml
...peIcons/srcview/SourceStyles.css
...apeIcons/srcview/SourceTree.html
...hapeIcons/srcview/SourceTree.swf
...peIcons/srcview/downloadIcon.png
...ledShapeIcons/srcview/index.html
...srcview/playerProductInstall.swf
...LabeledShapeIcons/srcview/source
...urce/LabeledShapeIcons.mxml.html
...ons/srcview/source/html-template
...e/html-template/AC_OETags.js.txt
...iew/source/html-template/history
...emplate/history/history.css.html
...-template/history/history.js.txt
...mplate/history/historyFrame.html
...tml-template/index.template.html
...emplate/playerProductInstall.swf
/trunk/demos/MarkerXmlSearcher
...s/MarkerXmlSearcher/AC_OETags.js
...lSearcher/MarkerXmlSearcher.html
...mlSearcher/MarkerXmlSearcher.swf
.../demos/MarkerXmlSearcher/history
...rXmlSearcher/history/history.css
...erXmlSearcher/history/history.js
...archer/history/historyFrame.html
...os/MarkerXmlSearcher/markers.xml
...earcher/playerProductInstall.swf
.../demos/MarkerXmlSearcher/srcview
...XmlSearcher/srcview/AC_OETags.js
...er/srcview/MarkerXmlSearcher.zip
...Searcher/srcview/SourceIndex.xml
...earcher/srcview/SourceStyles.css
...Searcher/srcview/SourceTree.html
...lSearcher/srcview/SourceTree.swf
...earcher/srcview/downloadIcon.png
...erXmlSearcher/srcview/index.html
...srcview/playerProductInstall.swf
...MarkerXmlSearcher/srcview/source
Project members,
sign in
to write a code review
Older revisions
All revisions of this file
File info
Size: 4332 bytes, 121 lines
View raw file
File properties
svn:mime-type
text/html
Powered by
Google Project Hosting