Flash MX

  • Thread starter milefile
  • 8 comments
  • 534 views
10,832
I recently got and started learning Flash 6. I did the "lessons" and am now going through the "tutorial." I'm kinda confused about one part and wondering if anyone can answer this question.

I am making a dynamic text field. The text is coming from a .txt file in the tutorial folder. I am told to type in the path to the file. The tutorial does not tell me the path so I go and look and see that it is C:/Program Files/Macromedia/Flash MX/Tutorials/Assets/copy.txt (or something like that, I'm at work now so I can't double check it).

The first couple times I typed in the path and tested the movie the text did not load and a box popped up saying "error loading" or something to that effect. After messing with it some more the error message didn't come back bu tht etext is still not loading.

I feel pretty stupid not being able to handle a simple path, but I thought maybe someone could see migh error right off and save me some time.

And maybe this thread could be like The Flash Thread. I'm sure I'll run into more snags.

Thanks.
 
It might be one of two things.

1.) It may use relative paths. In other words, lets say that flash file resides in the directory "c:\flash\projects\" and the text file is located in "c:\flash\projects\text\text.txt". The relative path would assume that where the flash file resides is the root directory, therefore the path to the text file would be \text\text.txt.

2.)It may need absolute paths. When running dos commands, you need to include your file's path in quotations. Example: If the path is: C:\DOCUME~1\ALLUSE~1\BLUEONION.EXE, you may have to type it as: "c:Documents and Settings\All users\Desktop\blueonion.exe"


To simplify your path conventions, keep all file and foldernames in the path all lowercase, and limit it to 8 character lengths with no spaces.

Hope this helps...
 
Haven't had another go since Pako's advice but hope to tonight. It is hard. But it seems like it's so only due to how powerful it is. I remember when Photoshop was a complete mystery to me, and HTML, too. I'm no expert at either but if I could be that proficient in Flash I'd be a happy camper.
 
Yeah Photoshop I stuck at cause I enjoyed it but Flash it aint hook on me! - I never liked learning another language! (Actionscript/Javascript)
 
Back