adobe

How to load images and fragments dynamically in LiveCycle Designer forms?

北战南征 提交于 2019-12-06 15:10:24
问题 I've created a couple of shared templates (.xdp) which will be shared among several clients. Obviously, each client has their own logo and I'd like to set the logo upon form generation. I've managed to change the logo dynamically although I'm not sure if my approach is good. In the xml datasource I've got this element: <ClientID>SomeNumber</ClientId> In the form itself I set the image href with this javascript code: SomeHiddenTextField::calculate HeaderLogo.value.image.href = $record.ClientID

Adobe Flex Mobile - TextArea refuses to scroll on Android, StageWebView won't scroll at all

喜欢而已 提交于 2019-12-06 14:51:40
I'm trying to make the Spark TextArea component automatically scroll down as text is added to it. When the TextArea is first populated, the vertical scrollbar is at the bottom. But if I append more text, it just outright refuses to scroll. Its working on the iOS platform, but it won't on Android!! I've tried doing the following, according to the example found here: http://devgirl.org/2010/12/16/automatically-scroll-flex-mobile-textarea/ StyleableTextField(TextArea1.textDisplay).htmlText += textHTML; StyleableTextField(TextArea1.textDisplay).scrollV++; I've also tried the following two lines of

Signed PDF verification in Origami with an Adobe PKCS#7 certificate

拟墨画扇 提交于 2019-12-06 13:37:58
Summarized and clarified: Using origami, extracting a certificate from a signed pdf (signed within e.g. Adobe Reader) I cannot verify the signature: origami = Origami::PDF.read(File.open('/path/to/file.pdf', 'r')) pdf_signature = origami.signature[:Contents] cert = OpenSSL::PKCS7.new(pdf_signature).certificates.first origami.verify(trusted_certs: [cert]) #=> false As far as I can tell, this should always be true. So maybe Adobe uses a different byte range that it takes a SHA of when signing the PDF? How do I get that verify to work? If it's any help, after tiptoing through the changes on

How to communicate 'externally' between Adobe Animate CC animations?

杀马特。学长 韩版系。学妹 提交于 2019-12-06 13:16:19
From the script in the html page, I'm trying to control what happens in the Adobe Animate CC animations I've created. For example, here you'll see a script that doesn't work that's trying to tell the ship animation to gotoAndPlay(5). Anyhow, the ship animation is not responding to that. I'm guessing it's because I'm not addressing/naming it correctly. Help me talk to my animations. See the code below. <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Lets talk to each other</title> <script src="http://code.createjs.com/easeljs-0.8.1.min.js"></script> <script src="http://code.createjs

Password Protection of PDF Files

元气小坏坏 提交于 2019-12-06 12:10:18
问题 We have a requirement to protect PDF files using a password. Are there any Java-based, open source tools which will help us in this regard? 回答1: I would recommend using the iText java PDF library. Inside iText, there is a class called PdfEncrypter which should let you password protect a PDF file. 回答2: You can easily make the Password protected pdf file in java......to do so you will require two addtional jar/lib bctsp-jdk16-1.46.jar and bcprov-jdk16-1.46.jar along with the itextpdf-5.2.1.jar.

C# HTML to PDF code for use in a service (on a server)

醉酒当歌 提交于 2019-12-06 11:20:00
I'm looking for some C# code to create a .PDF document on a server from an HTML page that is rendered. The structure and content of the HTML that I want to convert to .PDF is pretty simple (DIV, TABLE, IMAGE, etc.) so I need code that will: Create a document that is savable by the client browsing (after they click Save As .PDF) Process a stream of HTML and convert it into .PDF Handle adding images into the document Specify the resolution (?) of the document - it will be something I would want to be print quality (high DPI and the images I embed would be high resolution) I have seen many

Flash CS4 + SQLITE

大憨熊 提交于 2019-12-06 10:38:57
问题 I'm looking for some information regarding using SQLITE with AIR in Flash CS4, I cannot find any good examples, they're all built for Flex (which I don't want to use). Can anyone give me some basic examples of how to do this with Flash CS4 or direct me to some code examples / tutorials? I cannot find any anywhere... 回答1: Here is an example from: http://www.flashmove.com/forum/showthread.php?t=34778 import flash.data.SQLResult; import flash.filesystem.File; import flash.data.SQLStatement;

How can I add javascript to a PDF document to count the number of checked boxes and enter the value into a textbox area?

谁说我不能喝 提交于 2019-12-06 10:21:55
问题 So I have a PDF doc that has 25 check boxes called "cb1" through "cb25". I would like to be able to count the number of boxes that are checked and put that count into a text box area called "Points". I'm not very familiar with either JS or PDF form creation but from what I've been able to dig up I think I'm close to getting it to work. I have added the following code to the document level: function CountCheckBoxes(aFieldsNames) { // count field names that have been selected var count = 0; //

AEM sightly how to reuse variables

╄→гoц情女王★ 提交于 2019-12-06 09:06:09
can I use variables in another file that I'm including? in my HTL (file1.html) I have: <sly data-sly-test.myVar="${properties.myVarFromDialog}"></sly> <sly data-sly-include="/file2.html"></sly> Can I use myVar in file2.html ? I'm not getting any value. Is there a way of getting that value from file1.html to use in file2.html You should use data-sly-template for this. You can define templates in a separate file and can pass in parameters. For an explanation on templates check the following documentation link http://docs.adobe.com/docs/en/aem/6-0/develop/sightly.html#template Firstly, for the

Is there a way to fake file on file sistem or Write a file that visible only to my EXE file

守給你的承諾、 提交于 2019-12-06 08:19:13
问题 Ok i wrote and application that use Adobe ActiveX control for displaying PDF files. Adobe ActiveX control load files only from file system. So i nead to feed a file path to this control. Problem is that i don't want to store PDF files on file system. Event temporary! I wan't to store my PDF files only in memory , and i want to use Adobe ActiveX control. So i nead: 1) A way to fake file on a file system. So this control would "think" that there is a file, but would load it from memory 2) A way