?
Solved

problem with Text file.

Posted on 2000-03-02
8
Medium Priority
?
138 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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 200 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

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

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 how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.
Suggested Courses

752 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