Copy link to clipboard
Copied
open the file in Movie clip >>> apk
import flash.utils.Dictionary;
import flash.media.StageWebView;
import flash.desktop.NativeApplication;
import flash.events.MouseEvent;
import flash.filesystem.File;
loadpdf.addEventListener(MouseEvent.CLICK, openpdf);{
var urlpdf:Dictionary = new Dictionary();
this.sitpdf.urlpdf[loadpdf] = "../test.pdf";
function openpdf(e:MouseEvent):void
{
var url:String = urlpdf[e.currentTarget];
if (url)
this.sitpdf.navigateToURL(new URLRequest(url));
}
}
Copy link to clipboard
Copied
https://github.com/joao-cesar/adobe/tree/master/animate%20cc/as3/load_pdf
I found this but i want to show the file pdf
Inside the app ??
Can you help me Please?