dtrace
07-18-2007, 09:51 PM
http://leereedy.com/sourcy/track/true.html
Basically, I'm losing my mind on this issue. I have a splash page (true.html)that automatically launches a full screen pop up (southafrican.html).
I didn't want the 'click to activate' thing, so i tried using the swf object method, but I guess something is wrong, cause it is doing something random on IE right now. I can hear the audio, but can't see anything. It works on firefox and safari (for PC). If you have a mac, please let me know if it is working on that.
The following is the code I'm using, and would be grateful for any help.
Also, do I still need to use the active run content thingy? What does that even do?
The true.html ....(splash page).
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>whygod</title>
</head>
<center>
<body bgcolor="#ffffff">
<!--url's used in the movie-->
<a href="javascript:NewWindow=window.open('southafrican.htm l','newWin','width='+screen.availWidth+',height='+ screen.availHeight+',left=0,top=0,toolbar=No,locat ion=No,scrollbars=No,status=No,resizable=No,fullsc reen=No'); NewWindow.focus(); void(0);"></a>
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
<script type="text/javascript" src="flashobject.js"></script>
<div id="flashcontent" style="width: 550px; height: 400px"></div>
<script type="text/javascript">
var fo = new FlashObject("whygod.swf", "animationName", "550", "400", "8", "#FFFFFF");
fo.addParam("allowScriptAccess", "sameDomain");
fo.addParam("quality", "high");
fo.addParam("scale", "noscale");
fo.addParam("loop", "false");
fo.write("flashcontent");
</script>
</body>
</center>
</html>
----------------------------------
The pop up...(southafrican.html)
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>myfile</title>
</head>
<center>
<BODY bgcolor="#000000" MARGINHEIGHT="0" MARGINWIDTH="0" TOPMARGIN="0" LEFTMARGIN="0" RIGHTMARGIN="0" BOTTOMMARGIN="0" SCROLL="NO">
<body bgcolor="#000000">
<script type="text/javascript" src="flashobject.js"></script>
<div id="flashcontent" style="width: 100%; height: 100%"></div>
<script type="text/javascript">
var fo = new FlashObject("myfile.swf", "animationName", "100%", "100%", "8", "#FFFFFF");
fo.addParam("allowScriptAccess", "sameDomain");
fo.addParam("quality", "high");
fo.addParam("scale", "noscale");
fo.addParam("loop", "false");
fo.write("flashcontent");
</script>
<!--url's used in the movie-->
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
</body>
</center>
</html>
-----------------------
Basically, I'm losing my mind on this issue. I have a splash page (true.html)that automatically launches a full screen pop up (southafrican.html).
I didn't want the 'click to activate' thing, so i tried using the swf object method, but I guess something is wrong, cause it is doing something random on IE right now. I can hear the audio, but can't see anything. It works on firefox and safari (for PC). If you have a mac, please let me know if it is working on that.
The following is the code I'm using, and would be grateful for any help.
Also, do I still need to use the active run content thingy? What does that even do?
The true.html ....(splash page).
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>whygod</title>
</head>
<center>
<body bgcolor="#ffffff">
<!--url's used in the movie-->
<a href="javascript:NewWindow=window.open('southafrican.htm l','newWin','width='+screen.availWidth+',height='+ screen.availHeight+',left=0,top=0,toolbar=No,locat ion=No,scrollbars=No,status=No,resizable=No,fullsc reen=No'); NewWindow.focus(); void(0);"></a>
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
<script type="text/javascript" src="flashobject.js"></script>
<div id="flashcontent" style="width: 550px; height: 400px"></div>
<script type="text/javascript">
var fo = new FlashObject("whygod.swf", "animationName", "550", "400", "8", "#FFFFFF");
fo.addParam("allowScriptAccess", "sameDomain");
fo.addParam("quality", "high");
fo.addParam("scale", "noscale");
fo.addParam("loop", "false");
fo.write("flashcontent");
</script>
</body>
</center>
</html>
----------------------------------
The pop up...(southafrican.html)
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>myfile</title>
</head>
<center>
<BODY bgcolor="#000000" MARGINHEIGHT="0" MARGINWIDTH="0" TOPMARGIN="0" LEFTMARGIN="0" RIGHTMARGIN="0" BOTTOMMARGIN="0" SCROLL="NO">
<body bgcolor="#000000">
<script type="text/javascript" src="flashobject.js"></script>
<div id="flashcontent" style="width: 100%; height: 100%"></div>
<script type="text/javascript">
var fo = new FlashObject("myfile.swf", "animationName", "100%", "100%", "8", "#FFFFFF");
fo.addParam("allowScriptAccess", "sameDomain");
fo.addParam("quality", "high");
fo.addParam("scale", "noscale");
fo.addParam("loop", "false");
fo.write("flashcontent");
</script>
<!--url's used in the movie-->
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
</body>
</center>
</html>
-----------------------