Highlighted

load PDF inside movie clip

Participant ,
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

34

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

load PDF inside movie clip

Participant ,
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

35

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
Jun 19, 2020 0
Participant ,
Jun 23, 2020

Copy link to clipboard

Copied

@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
Reply
Loading...
Jun 23, 2020 0