Simple question I think

Status
Not open for further replies.

musicformedia

New Member
Hi guys,
Can anyone tell me one thing. I bought this file:
Advanced XML Video Gallery - FlashDen

Can it be put into a html page?

I was sure it could be when I bought it, but it comes with a jscript object, so I don't know what to do with it... :(

The files I usually buy like this just come with a .swf file and xml file which you can edit and stick into a html page

Need some help here if anyone can shed some light on it cheers

Just need to know, can I put it into a html page, and whats the code to embed it?
 

johned

New Member
Is the jscript called swfobject ? if so just put it in the same folder your running the script from. I use monoslideshow which is xml based and is cool. There are loads of settings and you can get realy creative with it..
 

johned

New Member
sorry you said video gallery i was talking about photo gallerys.. You will need a script to embed it. Does the site you purchased it from not have some sample code ?
 

musicformedia

New Member
hmm well it contains:

- Gallery 1, gallery 2, and gallery 3 folders (all with just sample videos and photos in them)

- Advanced video gallery (.fla file)

- content.xml file

- help file

- index.html...ah! This one has some code in it :)

Code:
<html>
<head>
<title>Advanced XML Video Gallery</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script type="text/javascript" src="swfobject.js"></script>
<link rel="shortcut icon" href="Favicon.ico" type="image/x-icon" />
</head>
<body bgcolor="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" scroll="no">
	<div id="flashcontent">
		<strong>You need to upgrade your Flash Player.</strong>
	</div>
	<script type="text/javascript">
		var so = new SWFObject("preview.swf", "sotester", "100%", "100%", "8", "#000000");
		so.addParam("allowFullScreen", "true");
		so.addParam("scale", "noscale");
		so.addParam("menu", "false");
		so.write("flashcontent");
	</script>
</body>
</html>

So I presume I have to embed it as a script into html by using all the above part without the <body> and <html> tags is that right?

Sorry I've never done this before lol :)

And thanks for the help
 
Status
Not open for further replies.
Top