Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Actionscript 2 to load external text file only works on some machines

New Here ,
Feb 23, 2017 Feb 23, 2017

Thanks for reading.

I am creating an intranet page for the company I work for using adobe flash cs6 and actionscript 2.

I have a button which when clicked loads an external html formatted text file and displays it on the page.

This works perfectly on some computers but on others the word 'undefined' is displayed instead of the contents of the file. All the computer I've tried this on are running windows 7 and internet explorer 11 (I have tried google chrome also). The machine I have with flash cs6 on it works when debugging through flash, but does not work when I publish to an HTML file.

The code I am using is as follows...

myData = new LoadVars(); 
myData
.onLoad = function() { list.html=true;
list
.htmlText = this.Links; };
myData
.load("Published_Finished_Drawings.txt"); }

I am assuming this is a windows/ie setting issue but any help would be greatly appreciated!

TOPICS
ActionScript
1.3K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 25, 2017 Feb 25, 2017
LATEST

use your developer tools in ie to debug.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines