Re: swf-Datei abspielen innerhalg des PureBasic Programms
Verfasst: 20.12.2010 22:37
Hallo,
habe folgenden Stand der Sache. Rufe mit der Funktion meine Index_Start.html Seite auf:
Die Index Datei wir ordentlich angezeigt, wenn ich jedoch auf den Hotspot drücke, wird der swf player extern aufgerufen, obwohl wenn ich die Page aufrufe der Player in der Seite läuft.
Das Problem liegt wahrscheinlich in der HTML Seite.
Gruss ... Velindos
habe folgenden Stand der Sache. Rufe mit der Funktion meine Index_Start.html Seite auf:
Code: Alles auswählen
URL$="C:\Index_Start.html"
WebGadget(#myWork_Gadget, 5, 0, 494, 164, "C:\index.html", #PB_Image_Border)
Code: Alles auswählen
<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<link rel=File-List href="index-Dateien/filelist.xml">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
b\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>Leer</title>
<style>
<!--
/* Formatdefinitionen */
ol
{margin-top:0in;
margin-bottom:0in;
margin-left:.25in;}
ul
{margin-top:0in;
margin-bottom:0in;
margin-left:.25in;}
@page
{size:8.2673in 11.6923in;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="4098" fill="f" fillcolor="white [7]"
strokecolor="black [0]">
<v:fill color="white [7]" color2="white [7]" on="f"/>
<v:stroke color="black [0]" color2="white [7]">
<o:left v:ext="view" color="black [0]" color2="white [7]"/>
<o:top v:ext="view" color="black [0]" color2="white [7]"/>
<o:right v:ext="view" color="black [0]" color2="white [7]"/>
<o:bottom v:ext="view" color="black [0]" color2="white [7]"/>
<o:column v:ext="view" color="black [0]" color2="white [7]"/>
</v:stroke>
<v:shadow color="#ccc [4]"/>
<v:textbox inset="2.88pt,2.88pt,2.88pt,2.88pt"/>
<o:colormenu v:ext="edit" fillcolor="blue [1]" strokecolor="black [0]"
shadowcolor="#ccc [4]"/>
</o:shapedefaults><o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1"/>
</o:shapelayout></xml><![endif]-->
</head>
<body link="#0066FF" vlink="#6633CC" style='margin:0'>
<div style='position:absolute;width:5.1611in;height:1.6819in'>
<!--[if gte vml 1]><v:rect id="_x0000_s1034" href="file:///C:\mymovie.swf.swf"
style='position:absolute;left:0;top:0;width:370.5pt;height:120pt;z-index:3;
mso-wrap-distance-left:2.88pt;mso-wrap-distance-top:2.88pt;
mso-wrap-distance-right:2.88pt;mso-wrap-distance-bottom:2.88pt' filled="f"
fillcolor="white [7]" strokecolor="black [0]" o:cliptowrap="t">
<v:fill color2="white [7]"/>
<v:stroke color2="white [7]">
<o:left v:ext="view" color="black [0]" color2="white [7]"/>
<o:top v:ext="view" color="black [0]" color2="white [7]"/>
<o:right v:ext="view" color="black [0]" color2="white [7]"/>
<o:bottom v:ext="view" color="black [0]" color2="white [7]"/>
<o:column v:ext="view" color="black [0]" color2="white [7]"/>
</v:stroke>
<v:shadow color="#ccc [4]"/>
<v:path insetpenok="f"/>
<v:textbox inset="2.88pt,2.88pt,2.88pt,2.88pt"/>
</v:rect><![endif]--><![if !vml]><span style='position:absolute;z-index:3;
left:-1px;top:-1px;width:496px;height:162px'><a href="file:///C:\mymovie.swf.swf"><img
border=0 width=496 height=162 src="index-Dateien/image298.gif" v:shapes="_x0000_s1034"></a></span><![endif]>
</div>
</body>
</html>
Gruss ... Velindos