jeudi 5 janvier 2017

Actionscript-3 file access from SWF embedded into PDF

My SWF accesses a text file with the following code.

var myTextLoader:URLLoader = new URLLoader();
myTextLoader.addEventListener(Event.COMPLETE, onLoaded);
myTextLoader.load(new URLRequest("C:\\Users\\Chris\\Desktop\\moves.txt"));

I have now embedded my SWF inside a PDF and it stops working, is there a way to do this?

Aucun commentaire:

Enregistrer un commentaire