Topic: Need to condense files into a single swf file

I use a website building company that does not have FTP and I can create a page with flash files but I need just one swf file and can not load all of the files I created in Tiltviewer. Is there a way to create a single swf that will work?
Thanks.

Re: Need to condense files into a single swf file

Great Feedback on more than 110 Views!

The swf-File of TiltViewer does NOT or will NOT contain any of Your Pictures AT ALL!

Sorry, but most probably you do not unterstand how TiltViewer works...

Re: Need to condense files into a single swf file

Roland,
I hope you are trying to be helpful and not just condescending to someone who may not be as knowledgeable as you are about this technology. I have gone through a lot of the related posts on the forums and did not see this question.

Re: Need to condense files into a single swf file

jdlphotos,
You use a "website building company". What is a "website building company"?

You "can create a page with flash files". I can not, because I am not familiar with Flash.

Just describe Your problem(s) more detailed.

"can not load all of the files I created in Tiltviewer". IMHO TiltViewer does not create any (new) file at all?

Regards
Roland

Re: Need to condense files into a single swf file

Roland,
I use a company that has an easy to build website service where one does not have to know html in order to create a website. It is a 'plug and play' system where you can upload images, files, etc to create webpages. I can upload swf files to the site to create flash pages but when I use tiltviewer I get a file that has the following files in it: .xml, .html, .js, .swf plus a file with the images in it. I'm asking if there is a way to create a single .swf file with all of these files compressed into it?

The webpage that tiltviewer creates has a file name that has .fileloc suffix and my system will not accept that either.

I'm not sure how I get all of these file names and you say that TV does not create any files.

Re: Need to condense files into a single swf file

jdlphotos,

try this:
- create a new folder on your harddisk, name it "roland"

- copy three pictures (jpg) into this rolandfolder

- rename this three pictures to

one.jpg
two.jpg
three.jpg

- copy swfobject.js and TiltViewer.swf into this rolandfolder

- run notepad.exe and copy the following lines in it:

<?xml version="1.0" encoding="UTF-8"?>
<tiltviewergallery>
<photos>
<photo imageurl="one.jpg" showFlipButton="true">
<title>first photo</title>
<description></description>
</photo>
<photo imageurl="two.jpg" showFlipButton="true">
<title>second photo</title>
<description></description>
</photo>
<photo imageurl="three.jpg" showFlipButton="true">
<title>third photo</title>
<description></description>
</photo>
</photos>
</tiltviewergallery>

- save it into the rolandfolder and name it mygallery.xml

- run again notepad.exe and copy the following lines in it:

<?xml version="1.0" encoding="UTF-8"?>
<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>This gallery is from jdlphotos</title>
<script type="text/javascript" src="swfobject.js">
</script>
<style type="text/css">   
    /* hide from ie on mac \*/
html {height: 100%;
overflow: hidden;}
#flashcontent {height: 100%;}
    /* end hide */
body {height: 100%;
margin: 0;
padding: 0;
background-color: #000000;
color: #ffffff;
font-family:sans-serif;
font-size:14;}
a {color:#cccccc;}
</style>
</head>
<body>
<div id="flashcontent">TiltViewer benoetigt JavaScript und den neuesten Flash-Player.
<a href="http://www.macromedia.com/go/getflashplayer/">Den neuesten Flash-Player gibt es hier.</a>
</div>
<script type="text/javascript">
var fo = new SWFObject("TiltViewer.swf", "viewer", "100%", "100%", "9.0.28", "#000000");
fo.addVariable("useFlickr", "false");
fo.addVariable("xmlURL", "mygallery.xml");
fo.addVariable("maxJPGSize", "640");
fo.addVariable("enableSounds", "false");
fo.addVariable("useReloadButton", "false");
fo.addVariable("columns", "3");
fo.addVariable("rows", "3");
fo.addVariable("frameColor", "0xFFFFFF");
fo.addVariable("backColor", "0xFFFFE1");
fo.addVariable("bkgndInnerColor", "0x333333");
fo.addVariable("bkgndOuterColor", "0x000000");
fo.addParam("allowFullScreen", "true");
fo.write("flashcontent");           
</script>   
</body>
</html>

- save it into the rolandfolder and name it index.htm

- run your browser and open index.htm of your rolandfolder to see your gallery.

If you want to publish your gallery to the internet, you have to upload these seven files:

one.jpg
two.jpg
three.jpg
swfobject.js
TiltViewer.swf
mygallery.xml
index.htm

Good luck!

And *NO*, it is not possible to condense these seven files into one swf-file.

Regards
Roland