These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Combine Flash RMA and 3D annotation

ekschperte
Registered: Jun 12 2010
Posts: 29
Answered

Hey,

I am trying to combine a Flash tab menu (RMA) and a 3D annotation within PDF. This link should visualize my idea:
http://stevenbirr.bplaced.net/filemanager/FlashAnd3DAnnotationMockup.png
I have a flash tab menu as RMA (swf file) and a 3D annotation (u3d file). When I click on tab 1 of the menu, the flash content should be visible (some buttons, texfields...). When I click on tab 2, the 3D annotation should be visible. Is it possible to manage that in Acrobat 3D and/or with JavaScript?

I am working with iText (http://itextpdf.com/) - a free java pdf library. My idea was, to place the 3D annotation over the flash menu - which works for me. The annotation is laying over the Flash menu. When I click with right mouse on the scene, the scene zooms in. BUT: When I click with left mouse button, nothing happens (no selection event). Obviously, because the RMA flash menu in the background is triggering the left mouse button click. :-(

Is there a way to get my mockup working? The "only" thing I have to do is, activating/deactivting the 3D annotation within the Flash RMA and to handle the mouse events correctly...

Greets,
Steven

My Product Information:
Acrobat Standard 9.3.1, Windows
UVSAR
Expert
Registered: Oct 29 2008
Posts: 1357
In theory it would be possible, in practice it's probably not worth the effort to implement - not only will it be complex to control the mouse events for two stacked and simultaneously-active RMAs, it's likely to work differently for each reader.

Although you can place rich media annotations on layers (OCGs), you can only do it with third-party plugins. Also when activated, an RMA draws to the display driver, so can often ignore stacking orders imposed by the PDF structure. There's also no simple way to terminate the event bubble from a mouse click so it stops at the first layer.
ekschperte
Registered: Jun 12 2010
Posts: 29
Ok, thank you for your kind response. I made a second mockup, which bases on the following link: http://blogs.adobe.com/pdfdevjunkie/play_the_same_video_from_any_p.php
Here is my second mockup:
http://stevenbirr.bplaced.net/filemanager/FlashAnd3DAnnotationMockup2.png
My idea: To prevent combining of the flash RMA and the 3D annotation, I will try to use two pdf pages to insert each annotation on page 1 and 2 (see the image). Also there should be a second flash RMA in a floating window which appears on every page. Do you think, that could be managed? I need the floating window with a defined with and height (300*400px). And: Can I set the position of the window initially or with JS? And if not, what is the initial position?
Proobably that could be a way to prevent merging both annotations and handling the click events...
UVSAR
Expert
Registered: Oct 29 2008
Posts: 1357
You can define the width and height of a floating window when you create the annotation (it automatically uses the Stage size of the SWF), but there is no way to control the position - it will [u]always[/u] open in the top right corner of the screen.