PDA

View Full Version : standalone player vs flash player browser plugin


emagist
10-16-2006, 08:44 PM
I have an swf file that loads some variables from an external text file. Also it loads into itself (into an movie clip, actually) an external swf which resides on the same level on the server. The second swf needs those variables.
Everything works fine when export the movie or when playing in standalone player, but when including in an html file, the variables seems not to be loaded.
I know it is rather general but...any suggestions?

leonthelion
10-29-2006, 06:39 AM
When you load the HTML file, is that in a local server environment or just by opening the file from its folder in your browser? Is your aim to oneday upload this to the web or distribute on a CD? If the former, try uploading or creating a local web server on your machine to test. If for CD distribution, a projecter would be a safer option, unless you must use a browser to display the movie.

In the case of a browser on a CD, if it's working in your projector, it should work the same from any folder. Be sure you are targeting the file to open RELATIVELY from inside flash (ie: "../images/file.txt" as opposed to "c:\windows\user\desktop\flash\file.txt") this will allow you to move it anywhere.

Your post is about a week old, but if you are still having issues, please let me know and post some code examples to see :D