load PDF inside movie clip

Contributor ,
Jun 19, 2020 Jun 19, 2020

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));
}
}

 

 

 

2020-06-19_17-51-55.png

 

 

Views

58

Likes

Translate

Translate

Report

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
Contributor ,
Jun 23, 2020 Jun 23, 2020

Copy link to clipboard

Copied

LATEST

@JoãoCésar

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?

Likes

Translate

Translate

Report

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