Skip to main content
CodeDeveloperOM
Inspiring
June 19, 2020
Question

load PDF inside movie clip

  • June 19, 2020
  • 1 reply
  • 196 views

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

 

 

 

 

 

    This topic has been closed for replies.

    1 reply

    CodeDeveloperOM
    Inspiring
    June 23, 2020

    @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?