Skip to main content
Participating Frequently
April 13, 2010
Question

Dynamic text "undefined" wfen published. SWF-works fine . ????

  • April 13, 2010
  • 1 reply
  • 1862 views

Hello,

my problem is :

I have some DYNAMIC TEXT wich is in MClip, and about 30 external Tekst.txt files, wich should be loaded onRelease some button. Everything is working just fine in swf, but when I embeded it in index.html, .txt files doesent loading. Insted of text, I get the "undefined" labelI .Same is on server. I tried everything and still have a problem. I tried to copy a txt files in all possible  folders, embeded fonts,  .... I see  that the others had a similar problem, so if anyone has a solution to  answer ...
Thank you all!

This topic has been closed for replies.

1 reply

Ned Murphy
Legend
April 13, 2010

Where is the swf file relative to the html file?

Participating Frequently
April 13, 2010

It is located in a separate foledru,  but I tried to put them in the same folder, changed the path of loading  text and I had no results ...

Ned Murphy
Legend
April 13, 2010

What works when testing in the Flash interface will not work when you test in a browser when you have the swf and html files in separate folders.  If you are placing the swf file in a different folder than the html file that you embed it into, the paths to any files that the swf loads has to be specified as if the swf is in the html file's folder.

Another thing you might need to give attention to is allowing time for files to load.  What loads quickly when testing locally can take much longer to load when dealing things thru browsers/servers.  So you may need to build in some means for managing around load times.