Jump to content

Need someone with a understanding of Visual Studio / .ASP Websites

Hello! 

I have this website that's a bit dated its all written in ASP (Which is not my strong suit) A big part of this website is done in Flash/Silverlight (believe me I know...) however I need to get the site working enough to show the content to a couple people. 
 
Currently, when you go to the flash page it asks if you want to allow Flash to run. when I click to allow the page goes black and no content appears. this only happened after I received the website. when it was hosted elsewhere it seemed to at least load this page. What config could be doing that? 
 

Here is the main Index.html for that page :   

I don't see anything that stands out as being misconfigured. but like I said ASP is something I rarely deal with. 

Spoiler

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<link rel="alternate" type="application/rss+xml" title="Sitemap" href="sitemap.xml"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>True View Live</title>
<!-- MooTools Scripts -->
<script type="text/javascript" src="_js/mootools.js"></script>
<script type="text/javascript" src="_js/mootools_more.js"></script>
<!-- /MooTools Scripts -->
<script type="text/javascript" src="js/swfobject.js"></script>
<script type="text/javascript" src="js/swfaddress.js"></script>
<script type="text/javascript">
function BuildIframe(WebAddress,cxOffset,cyOffset) {
var DivIframe = $("IframeContainer");
var mb = $(document.body);
var ifc = new Element("div", {
"id": "ifcDiv"
});
DivIframe.setStyle("margin-top",cyOffset);
var ifr = new IFrame("iframe", {
id: "IframeID",
src: WebAddress,  
frameborder: "0",
"scrolling" : "no"
 
});
 
ifr.inject(ifc);
ifc.inject(DivIframe)
DivIframe.setStyle("display", "block");
window.addEvent('resize',MoveMovie);
 
}
function MoveMovie() {
 
}
function DestructIframe()  {
var DivIframe = $("IframeContainer");
if ($("ifcDiv")) {
$("ifcDiv").dispose();
}
DivIframe.setStyle("display", "none");
}
</script>
<script type="text/javascript">
var params = {
quality: "high",
scale: "noscale",
wmode: "window",
allowscriptaccess: "always",
bgcolor: "#000000"
};
var flashvars = {};
var attributes = {id:"flashcontent"};
swfobject.embedSWF("main.swf", "flashcontent", "100%", "1060", "8.0.0", "expressInstall.swf", flashvars, params, attributes);
</script>
<style type="text/css">
    /*hide from ie on mac\*/
    #flashcontent {
        width: 100%;
        height: 1060px;
    }
    /* end hide */
    body {
background-color:#000000;
font-family:Arial, Helvetica, sans-serif;
color:#CCCCCC;
        margin: 0;
        padding: 0;
    }
a {
color:#FF9900;
}
#alternateContent{
margin:0 auto 0 auto;
text-align:center;
width:500px;
}
 
#IframeContainer {
position: absolute;
width: 100%;
height: 400;
display: none;
z-index: 99;
line-height: 0;
margin: auto;
}
#ifcDiv {
border: 0;
padding: 0;
z-index: 100;
background-color: #000;
width:920px;
height: 400px;
line-height: 0;
margin: auto;
}
#IframeID {
width: 920px;
height: 395px;
border: 0;
}
</style>
</head>
<body>
<div id="IframeContainer"></div>
<div id="flashcontent">
<div id="alternateContent">
            <h1><img src="_img/index_logo.jpg" alt="TrueViewLive" width="352" height="126" /></h1>
           
        
<div id="noflash">
<p><strong>This site requires the latest version of the Flash player</strong></p>
   <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" border="0" /></a></p>
  <p>You can  <a href="index.html?detectflash=false">bypass the detection</a> if you wish if you<br /> 
      think you hit this error by mistake.</p>
      
        <p>Feel free to email us with any questions or 
      problems <br />
      you may be experiencing  <a href="mailto:info@TrueViewLive.com">info@TrueViewLive.com</a></p>
</div>
        </div>
</div>
 
    <script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-339588-40");
pageTracker._trackPageview();
</script>
 
<!-- Start of StatCounter Code -->
<script type="text/javascript">
var sc_project=5793162; 
var sc_invisible=1; 
var sc_security="46afa33a"; 
</script>
 
<script type="text/javascript"
src="http://www.statcounter.com/counter/counter.js"></script><noscript><div
class="statcounter"><a title="tumblr stats"
href="http://www.statcounter.com/tumblr/"
target="_blank"><img class="statcounter"
src="http://c.statcounter.com/5793162/0/46afa33a/1/"
alt="tumblr stats" ></a></div></noscript>
<!-- End of StatCounter Code -->
</body>
</html>

 

 
 

index1.html

I  have GameServer`s And VOIP servers the only price is that you have fun on them. 

Link to comment
Share on other sites

Link to post
Share on other sites

I know i did not give allot of info if you need me to provide any info lmk 

I  have GameServer`s And VOIP servers the only price is that you have fun on them. 

Link to comment
Share on other sites

Link to post
Share on other sites

remember that path in Visual Studio of a web project run in a random folder somewhere in the system32 or system (x64). UAC can block some content and your security options. You might not have read access of something like that on that folder. Try putting the file in a path where you have full rights (usually my documents is the best place) and hardcode the path to the swf file like "c:\users\[whatever]\my documents\..." you get the idea. Then try. If it works you know it's security of UAC. If not you need to check with other browsers. Specially flash i would not recommend using Chrome or Dolphin. I am having lots of loading issues with both of these browser but when that happen i don't see the black zone like you do.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×