The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> How to image background behind swf file?
NeveN11
post Jun 7 2013, 03:12 PM
Post #1





Group: Members
Posts: 1
Joined: 7-June 13
Member No.: 19,260



Hello,
I've gotta problem, I need to place image or background from web behind swf file.
Now when the swf file is running is white background. I'm gona put the code of it.


<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>XXXXXXXXXXXXXXXXXX</title>
</head>
<body leftMargin="0" topMargin="0" rightMargin="0" bottomMargin="0"> <center>
<script type="text/javascript" src="swfobject.js"></script>
<div id="flashcontent">
To view xxxxxxxxxx properly, Flash Player 9.0.28 or later version is needed.
Please download the latest version of <a href="http://www.adobe.com/go/getflashplayer" target="_blank">Flash Player</a> and install it on your computer.
</div>

<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("twviewer.swf", "sotester", "500", "400", "9.0.0", "#FFFFFF");
so.addParam("allowNetworking", "all");
so.addParam("allowScriptAccess", "always");
so.addParam("allowFullScreen", "true");
so.addParam("scale", "noscale");
//<!-%% Share Mode %%->
so.addVariable("lwImg", "resources/web01_vXXXs-01-small.jpg");
so.addVariable("lwBgColor", "255,255,255,255");
so.addVariable("lwBarBgColor", "255,255,255,255");
so.addVariable("lwBarColor", "255,0,255,0");
so.addVariable("lwBarBounds", "100,320,300,8");
so.addVariable("lwlocation", "0");
so.addVariable("lwShowLoadingPercent", "true");
so.addVariable("lwTextColor", "255,0,0,0");
so.addVariable("iniFile", "config_Web01.bin");
so.addVariable("progressType", "0");
so.addVariable("swfFile", "");
so.addVariable("percentType", "0");
so.addVariable("sizeFile", "filesize.txt");
so.addVariable("href", location.href);
so.write("flashcontent");
// ]]>

So can somebody help me, I hope yes.
Thanks for understending.
Very best,
NeveN

This post has been edited by NeveN11: Jun 7 2013, 03:16 PM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 18th April 2024 - 05:59 AM