I have a PDF loading into an <mx:HTML> source. This works fine. However, in my multi-touch application, I need to drag/rotate/scale its wrapping container. Drag works fine. However, when it rotates/scales, the PDF disappears.
"If certain visual properties of an HTMLLoader object that contains a PDF document are changed, the PDF document will become invisible. These properties include the filters, alpha, rotation, and scaling
properties. Changing these properties renders the PDF content invisible until the properties are reset. The PDF content is also invisible if you change these properties of display object containers that contain the HTMLLoader object."
Is this still a limitation on Air 2/Hero? Is there a workaround so the container/HTML/PDF can support rotating/scaling?
I want the multi-touch wall users to be able to make the PDF bigger, rotate the container/pdf, and drag it around the wall. My drag/rotate/scale work very well on any other component, just not pdf.
Please explain why it disappears and if there is a workaround.
I never did find a solution for this. The Reader just doesn't support it. What I ended up doing back then was to use ColdFusion's CFPDF tag to automatically convert each page in the PDF to an png, then do the touch gestures on the pngs.