Search found 10 matches

by marcrock
Thu Aug 01, 2013 2:03 pm
Forum: Document API
Topic: Keyboard events restrictions
Replies: 2
Views: 6284

Re: Keyboard events restrictions

OK, thanks. I'm going to send you just now.

Regards.
by marcrock
Wed Jul 31, 2013 8:40 pm
Forum: Document API
Topic: Keyboard events restrictions
Replies: 2
Views: 6284

Keyboard events restrictions

I'm using the "Using Print2Flash Document API for ActionScript3" approach and would like to avoid any user attempt to control the Flash movie. I tried to detect if the keyboard would be pressed using: stage.addEventListener(KeyboardEvent.KEY_DOWN, detectKey); var myURL:URLRequest = new URLRequest("h...
by marcrock
Fri Jul 26, 2013 7:00 am
Forum: Document API
Topic: Scroll down through the document pages automatically
Replies: 8
Views: 10094

Re: Scroll down through the document pages automatically

I just have read everything, understood and have passed the information to my client. Thanks a lot by your cool attention and I'll be indicating your system for all my friends that need something related to what your product does, OK?

Best regards.
by marcrock
Thu Jul 25, 2013 10:09 pm
Forum: Document API
Topic: Scroll down through the document pages automatically
Replies: 8
Views: 10094

Disable printing but the user can still print the document

I have chosen the "Using Print2Flash Document API for ActionScript3 documents from Flash" for making my first work using your software. Everything goes fine now but only one thing is not working properly: I have disabled the capability of user to print when converted my client's document but when I ...
by marcrock
Thu Jul 25, 2013 3:49 pm
Forum: Document API
Topic: Disable scrolling
Replies: 4
Views: 6508

Re: Disable scrolling

Cool. No scrollbars and no dragging anymore. Just one more question: do you know how can I change the hand cursor when the user mouse over it?

Regards.
by marcrock
Thu Jul 25, 2013 1:00 pm
Forum: Document API
Topic: Disable scrolling
Replies: 4
Views: 6508

Re: Disable scrolling

Thanks by your reply. In reality this was the first thing I did but occurred a problem just after I did that: the swf loaded document seems to appear with some percentage of transparency, dimmed. The code I have used and that really stopped the scrollbar was: function OnLoaded(e:Event) { P2FDoc = P2...
by marcrock
Thu Jul 25, 2013 10:51 am
Forum: Document API
Topic: Disable scrolling
Replies: 4
Views: 6508

Disable scrolling

Please, the use of the function enableScrolling(enable) is not clear for me. Could you place a simple example, please? I'm trying it inside flash but am getting errors...

Code: Select all

function onPageLoaded(e:Event):void {
	P2FDoc.enableScrolling();
}
How to use that "enable" argument?

Thanks!
by marcrock
Wed Jul 24, 2013 8:45 am
Forum: Document API
Topic: Scroll down through the document pages automatically
Replies: 8
Views: 10094

Re: Scroll down through the document pages automatically

That's perfect! This was exactly what I wanted! :-) Great! Very cool assistance you gave me. Worked at the first attempt and this was what my client needed for now. I'm going to analyze the code for making custom external viewers but this solution you provided me works perfectly for what we're in ne...
by marcrock
Wed Jul 24, 2013 6:55 am
Forum: Document API
Topic: Scroll down through the document pages automatically
Replies: 8
Views: 10094

Re: Scroll down through the document pages automatically

Nice to know. I just have seen the documents and read all the information about. But the standard template works fine for me, I only would like to use it but adding the function you mentioned, NextPage(); but I didn't see this option nowhere. How can I do that? Use the standard template but adding t...
by marcrock
Tue Jul 23, 2013 1:19 pm
Forum: Document API
Topic: Scroll down through the document pages automatically
Replies: 8
Views: 10094

Scroll down through the document pages automatically

Is there a way as soon as the flash document appears it starts to scroll down to the following pages automatically with no need to click on the next page button? I was taking a look at the ScrollPane properties and there is one called verticalScrollPosition... would have some way to increase its val...