Advertisement

08.20.2008 at 04:37AM PDT, ID: 23662722 | Points: 500
[x]
Attachment Details

Text file not loading into swf on server side

Asked by Tukly in Web Services, Application Servers, Web Servers

Hi there

The problem I am having is that my site works fine locally on my machine (Windows Vista) but does not work when I upload it to my server (Linux). When it is uploaded and viewed (http://www.koudstaal.co.za/index.swf ) it loads the swf content but doesn't pull in the text file that is responsible for the navigation buttons.

The funny thing is that the same files work here http://www.thevaleriesolanas.be/welcome/index.swf (Not sure what server this is) but not here http://www.koudstaal.co.za/index.swf (Linux)

I have established that the swf and flash file is working and that text and links inside flash are correct, refer to http://www.experts-exchange.com/Software/Photos_Graphics/Web_Graphics/Macromedia_Flash/ActionScript/Q_23656475.html#a22268079

Any ideas?Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
container0.source = "mainMenu.txt";
container0.line._visible = false;
function spawnContainer (Xpos, source, level) {
	if (level < levelsOpen)
		for (var c = levelsOpen; c > level; c--)
			this["container"+c].removeMovieClip();
	levelsOpen = level;
	duplicateMovieClip("container0", "container" + level, level);
	this["container" + level].source = source;
	this["container" + level]._x = Xpos + 150;
	content._x = 10000;
}
 
function placeContent (source, level) {
	trace(level + " : " + levelsOpen);
	if (level - 1 < levelsOpen)
		for (var c = levelsOpen; c > level - 1; c--)
			this["container" + c].removeMovieClip();
	levelsOpen = level - 1;
	content.container.loadMovie(source + "/content.swf");
	content._x = this["container" + levelsOpen]._x + 150;
	content.myLevel = levelsOpen + 1;
}
 
function zone (level) {
	if (currentZone != level) {
		currentZone = level;
		this["container" + currentZone].mList._alpha = 150;
		for (var c = 0; c < levelsOpen + 1; c++) {
			if (c != currentZone) {
				this["container"+c].mList._alpha = 40
				//content._alpha = 20;				
			}
		}
	}
}
stop();
 
Loading Advertisement...
 
[+][-]10.06.2008 at 11:13AM PDT, ID: 22652762

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628