Destruct
FateRP Founder
- Feb 12, 2012
- 548
- 6
Hello, I am having problems with my client. My client doesn't got white, but it goes black. I am using RevCMS, with BcStorm.
Code:
client.php
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>{hotelName} - Client</title>
<link rel="stylesheet" href="{url}/app/tpl/skins/{skin}/styles/client.css" type="text/css">
<script type="text/javascript" src="{url}/app/tpl/skins/{skin}/js/swfobject.js"></script>
<script type="text/javascript">
var BaseUrl = "{swf_folder}";
var flashvars =
{
"client.starting" : "Please wait, {hotelname} loading",
"client.allow.cross.domain" : "1",
"client.notify.cross.domain" : "0",
"connection.info.host" : "{myip}",
"connection.info.port" : "30000",
"site.url" : "{myurl}",
"url.prefix" : "{myurl}",
"client.reload.url" : "{myurl}/client",
"client.fatal.error.url" : "{myurl}/me",
"client.connection.failed.url" : "{myurl}/me",
"external.variables.txt" : "{http://myurl/swfs/external_variables.txt}",
"external.texts.txt" : "{'http://myurl/swfs/external_flash_texts.txt}",
"productdata.load.url" : "{http://myurl/swfs/productdata.txt}",
"furnidata.load.url" : "{http://myurl/swfs/furnidata.txt}",
"use.sso.ticket" : "1",
"sso.ticket" : "{sso}",
"processlog.enabled" : "0",
"flash.client.url" : BaseUrl,
"flash.client.origin" : "popup"
};
var params =
{
"base" : BaseUrl + "/",
"allowScriptAccess" : "always",
"menu" : "false"
};
swfobject.embedSWF(BaseUrl + "/Habbam.swf", "client", "100%", "100%", "10.0.0", "{swf_folder}/expressInstall.swf", flashvars, params, null);
</script>
</head>
<body>
<div id="client"></div>
</body>
</html>