Solved

problem with Text file.

Posted on 2000-03-02
8
133 Views
Last Modified: 2012-05-04
I have created a game in flash which starts by using an action script to load some variables which are then put into fields which are displayed on the screen.

I use the Load variables command. When I try the shockwave movie on my test machine it works perfectly, but when I upload the shockwave and the file to the server the text does not appear, it is as though they are not loaded.

Can anyone help with this.
0
Comment
Question by:RICHARDH
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 3

Expert Comment

by:SuperMario
ID: 2578420
Hmm, all I can think of is make sure your directories are right - have the text file in the same directory on the server as the flash movie?

-DAn
0
 

Author Comment

by:RICHARDH
ID: 2581796
This question has a deletion request Pending
0
 
LVL 3

Expert Comment

by:SuperMario
ID: 2581845
This question no longer is pending deletion
0
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
LVL 3

Expert Comment

by:SuperMario
ID: 2581846
Well please tell me if I'm right...
0
 
LVL 2

Expert Comment

by:coopa
ID: 2616328
You may want to check the case of the file as well.. In some instances hello.txt may work but Hello.TXT may not.

I have had some pretty hard to solve problems myself recently, and i found that the easiest way to solve them is to write a small test application in flash with all of the variables exposed.
0
 
LVL 4

Accepted Solution

by:
RoyKruyshaar earned 50 total points
ID: 2626866
I the reason can be that the variableFile isn't totally loaded when the movie assign the textfields.
When you make a last variable in your textfile like &test=TotallyLoaded or something like that, and than in your movie you check 'test eq 'TotallyLoaded', if not, wait until the variable is loaded.
The case-sensitive thing from coopa is also a good one!
0
 
LVL 2

Expert Comment

by:coopa
ID: 2734510
Well RICHARDH ?
0
 
LVL 4

Expert Comment

by:RoyKruyshaar
ID: 2775342
Well Richard, are you on vacation or what?

Greetings

Roy
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question