Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

can't find problem in Flash file

need help from anyone good with Flash

3:34 pm on Jun 2, 2004 (gmt 0)

New User

10+ Year Member

joined:May 17, 2004
votes: 0

I have a Flash file that someone else created for me. I discovered, because my site's bandwidth was going crazy, that the movie was repeatedly calling a nonexistent file called site_title.txt. I got the source file from the contractor, and did find the reference to site_title.txt. It was in Scene 1, Layer 11: Frame 2:

loadVariablesNum("site_title.txt", 0);

I have removed this line of code, saved the file (simply did "Save As...") and put it back up.

But somehow my logs show that, for the one day I had it up, I again got hits to site_title.txt.

Does anybody know how I can look through the file to see if that file reference is somewhere else too? I have looked through the debugger's output, and all the Actions frame by frame. I'll be happy to email the source file to anyone that might be able to help.


7:07 pm on June 2, 2004 (gmt 0)

Full Member

10+ Year Member

joined:Feb 4, 2004
votes: 0

There is a possibility that someone is returning to your site and the flash movie playing in their browser is actually cached on their hard drive. However, that doesn't answer you question.
Open the .fla file.
from the application menu:
select "Window" > "Movie Explorer" to open the movie explorer dialog box

In the "Movie Explorer" dialog:
select "show action scripts" and deselect everything else, this will give you a list of all action scripts in your file.

8:07 pm on June 2, 2004 (gmt 0)

New User

10+ Year Member

joined:May 17, 2004
votes: 0

Thanks for the help!

This is what I see:

Frame 1

Frame 2

Frame 3
if (myText == "") {

Frame 4

I don't see anything about site_title.txt, obviously. Hmm.

I don't think it can be a caching problem, since I saved my revised version under a different filename.

Anybody, anybody?

2:28 pm on June 3, 2004 (gmt 0)

Junior Member from CA 

10+ Year Member

joined:Nov 3, 2003
votes: 0

You say that you simply did a "Save As".

If this is all you did you only saved the .fla or source file. You still need to compile or publish it to make an .swf (File->Publish or CRTL+F12). I guess be sure to check the properties of the .swf for the last modified date before you upload it to be sure the changes took effect.

Not sure if this is redundant, but you only have to upload the .swf and not the .fla to your server.

Hope this helps.