Search the Community
Showing results for tags 'bitmap'.
-
visitmexico.bvkdev1.com When the cover image (SVG clip path) is tweened to reveal the next cover image, sometimes there will be jank. This is especially true on high-res devices. On normal-res devices the jank is far less noticable, but still poses a problem. What can I do to reduce jank when tweening image over image? My assumption is there is not much more that can be done, as I'm already making the top layer render as its own layer in the GPU via 3D CSS acceleration, and the items that are tweening over one another are made up of complex image data. Most sites I see that make it to awwwards have solid colors tween over their content before tweening in another image or content section. Can what I'm doing be done with consistent 60fps? If so, what am I not doing? Thank you in advance for any insight. visitmexico.bvkdev1.com
-
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 ??? } ...
- 5 replies
-
- loadermax
- load pdf file
-
(and 2 more)
Tagged with: