March 16th, 2010 | Category: zjnz.com
Hi, I have build a simple text loader for a site. When I run the swf locally, everything runs fine. The strange thing is, when i upload the file to my server, the text file refuses to be loaded.
http://www.glel.carleton.ca/home.php
the textreader is at the bottom right of the page, just above the glel printing services icon.
I have tried some other loaders from other sites and they have with weird functionality as well (they work locally but not online)
any help will be appreceiated.
Shiftylooks like the text file might not even be loading? may want to make sure that the text file is right next to the html or php file that the swf is getting loaded into. Could be a scope issue like that. What ever path you're using to locate the text file, might want to try an absolute path: just to make sure its finding the file to load: "http://www.glel.carleton.ca/mytextfile.txt" Also, and not for certain on this, but wonder if file permissions may have something to do with it, if that text file is "locked" and can't be readable based on the file's permissions that get set when uploading that file to your server. Hope this helps...I've had similar issues with loading external text.... if you are loading into a component, alot of times it loads the component first and then the text file (since the component is usually more kb than the txt). What I have done, which is kinda of a sloppy workaround is to load the component and then like 10 frames later load the text file... not sure if this helps, but its the only way I got it to work....#If you have any other info about this subject , Please add it free.# |
|
edit