question about API

Using Print2Flash Document API
Post Reply
cambazz
Posts: 1
Joined: Tue May 27, 2008 8:09 am

question about API

Post by cambazz » Tue May 27, 2008 8:15 am

Hello,

I need to show documents in an interactive manner. I need to perform to different kinds of operations.

First:
I need to be able to insert stuff to pdf. Highlight certain words programmatically, or maybe just put an icon right next to a word. Basically anything to do with content.

Second:
User interactivity. User must be able to highlight, or select words, and somehow I like to submit those to my server.


Is it possible?

Best Regards,
-C.B.

staff
Posts: 267
Joined: Sat Dec 15, 2007 4:48 pm

Re: question about API

Post by staff » Sun Oct 19, 2008 3:34 am

To achieve this you need to embed Print2Flash documents into your AS2 Flash movie as described here: http://print2flash.com/help/UsingDocume ... mFlash.php Then you may obtain a reference to the page MovieClip objects using getPage Document API function and do anithing with this object a standard MovieClip class allows: draw content on its surface, highlight words, add images, etc. Also you may find useful this forum topic for highlighting words: http://print2flash.com/forum/viewtopic. ... =115&p=264
To submit information to the server, you may use standard ActionScript capabilities: LoadVars class, etc.

Post Reply