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

load PDF inside movie clip

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

130

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
Engaged ,
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?

Votes

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