ondras82
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by ondras82
-
-
Hello,
I need load PDF file and show as bitmap in Flash (AS3).
I found this code in documentation, but I don´t know how transform byteArray to bitmap?Can somebody help me please?
var loader:BinaryDataLoader = new BinaryDataLoader("files/dum.pdf",{name:"filePDF",requireWithRoot:this.root,estimatedBytes:6800});loader.load();var files:Array = ["files/dum.pdf"];LoaderMax.registerFileType("pdf", BinaryDataLoader);LoaderMax.activate([binaryDataLoader]);var queue:LoaderMax = LoaderMax.parse(files,{onProgress:progressHandler,onComplete:completeHandler,onChildFail:childFailHandler});queue.load();function completeHandler(event:LoaderEvent):void{var byteArray:ByteArray = LoaderMax.getContent("filePDF");// I need bitmap from the PDF file ???}...
Load PDF file
in Loading (Flash)
Posted
And is there way how to show loaded PDF file?