forked from fieldOfView/krpano_fovplugins
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added compiled version, examples and make file
- Loading branch information
1 parent
ae7559a
commit 94f469b
Showing
6 changed files
with
101 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<html> | ||
<head> | ||
<title>fieldofview krpano plugins - textfieldex plugin example</title> | ||
<style> | ||
body{ font-family:Arial, Helvetica, sans-serif; font-size:10px; color:#FFFFFF; background-color:#000000; margin:0; padding:0; } | ||
* html, * html body{ overflow: hidden; } | ||
a{ color:#AAAAAA; text-decoration:underline; } | ||
a:hover{ color:#FFFFFF; text-decoration:underline; } | ||
</style> | ||
</head> | ||
<body> | ||
|
||
<div id="krpanoDIV"> | ||
<noscript><table width="100%" height="100%"><tr valign="middle"><td><center>ERROR:<br><br>Javascript not activated<br><br></center></td></tr></table></noscript> | ||
</div> | ||
|
||
<script type="text/javascript" src="../../../swfkrpano.js"></script> | ||
|
||
<script type="text/javascript"> | ||
// <![CDATA[ | ||
|
||
var swf = createswf("../../../krpano.swf", "krpanoSWFObject", "100%", "100%"); | ||
swf.addVariable("xml", "autosize.xml"); | ||
swf.embed("krpanoDIV"); | ||
|
||
// ]]> | ||
</script> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<krpano version="1.0.8"> | ||
<events name="console" /> | ||
|
||
<preview type="grid(cube,16,16,512,0xCCCCCC,0xFFFFFF,0x999999);" details="16" /> | ||
|
||
<plugin name="test" url="../../textfieldex.swf" | ||
align="center" autosize="left" autowidth="true" | ||
html="Hello world" | ||
css="p{color:#000000;font-family:Arial;font-size:14px}" | ||
background="true" backgroundcolor="0xddddff" borderwidth="0" | ||
shadow="5" shadowalpha="0.25" shadowblur="5" | ||
multiline="false" editable="true" | ||
/> | ||
</krpano> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<html> | ||
<head> | ||
<title>fieldofview krpano plugins - textfieldex plugin example</title> | ||
<style> | ||
body{ font-family:Arial, Helvetica, sans-serif; font-size:10px; color:#FFFFFF; background-color:#000000; margin:0; padding:0; } | ||
* html, * html body{ overflow: hidden; } | ||
a{ color:#AAAAAA; text-decoration:underline; } | ||
a:hover{ color:#FFFFFF; text-decoration:underline; } | ||
</style> | ||
</head> | ||
<body> | ||
|
||
<div id="krpanoDIV"> | ||
<noscript><table width="100%" height="100%"><tr valign="middle"><td><center>ERROR:<br><br>Javascript not activated<br><br></center></td></tr></table></noscript> | ||
</div> | ||
|
||
<script type="text/javascript" src="../../../swfkrpano.js"></script> | ||
|
||
<script type="text/javascript"> | ||
// <![CDATA[ | ||
|
||
var swf = createswf("../../../krpano.swf", "krpanoSWFObject", "100%", "100%"); | ||
swf.addVariable("xml", "console.xml"); | ||
swf.embed("krpanoDIV"); | ||
|
||
// ]]> | ||
</script> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<krpano version="1.0.8"> | ||
<events name="console" onxmlcomplete="showlog()" /> | ||
<action name="execute"> | ||
call(plugin[commandline].text); | ||
set(plugin[commandline].html,); | ||
</action> | ||
|
||
<preview type="grid(cube,16,16,512,0xCCCCCC,0xFFFFFF,0x999999);" details="16" /> | ||
|
||
<plugin name="commandline" url="../../textfieldex.swf" | ||
align="bottom" width="100%" height="20" x="0" y="150" | ||
html="set(view.vlookat,-45)" | ||
css="p{color:#ffffff;font-family:Courier;font-size:10px}" | ||
background="true" backgroundcolor="0x000000" backgroundalpha="0.6" borderwidth="0" | ||
multiline="false" editable="true" | ||
onsubmit="execute();" | ||
/> | ||
<plugin name="call" url="../../textfieldex.swf" children="false" | ||
align="bottomright" width="40" height="20" y="150" | ||
html="CALL" | ||
css="p{color:#ffffff;font-family:Courier;font-size:10px}" | ||
background="false" borderwidth="0" zorder="1" | ||
onclick="execute();" | ||
/> | ||
</krpano> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
mxmlc -target-player=10.0.0 -use-network=false -static-link-runtime-shared-libraries=true -output=..\textfieldex.swf src\textfieldex.as | ||
pause |