[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 141
  • Last Modified:

problem with Text file.

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
RICHARDH
Asked:
RICHARDH
  • 3
  • 2
  • 2
  • +1
1 Solution
 
SuperMarioCommented:
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
 
RICHARDHAuthor Commented:
This question has a deletion request Pending
0
 
SuperMarioCommented:
This question no longer is pending deletion
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
SuperMarioCommented:
Well please tell me if I'm right...
0
 
coopaCommented:
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
 
RoyKruyshaarCommented:
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
 
coopaCommented:
Well RICHARDH ?
0
 
RoyKruyshaarCommented:
Well Richard, are you on vacation or what?

Greetings

Roy
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 3
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now