adobe

How do I keep my mobile AIR application on landscape mode?

自作多情 提交于 2019-12-11 18:36:48
问题 I can't seem to find any way to force it to go landscape mode all the time. When I go to MyApp-app.xml and edit the <aspectRatio></aspectRatio> tags to landscape , only the main view is landscaped. If I navigate to the second view, it turns back to portrait . Any help? 回答1: You can set it on Properties of the Document. Go to File>Publish Settings> Click on Configuration Player ("Air for Android", "Air for iOS", "Flash Player 11", etc). Now, mark the "Auto Orietation". Like this: Now, save,

How to get IP Address of client machine from Adobe Interactive forms?

守給你的承諾、 提交于 2019-12-11 18:19:33
问题 I would like to know how can i grab the IP address of Client machine using SAP Interactive Forms by Adobe? UPDATE : I tried the following script but it still doesn't work <script contentType="application/x-javascript" src="http://l2.io/ip.js?var=myip" type="text/javascript"> data.subform.TextField1.rawValue = myip;</script> Can someone update me on this? Best Wishes. 回答1: Unless the printing programm passes the information into the form, you probably can't. The Adobe Document Service has not

1120: Access of undefined property _stop

一个人想着一个人 提交于 2019-12-11 17:33:24
问题 i am having problem in creating a video player in flash via as3, the problem is that whenever i try to compile the project, the compiler error shows: 1120: Access of undefined property _stop. 1120: Access of undefined property _pause. 1120: Access of undefined property _play. 1180: Call to a possibly undefined method Button. 1120: Access of undefined property _prev. 1180: Call to a possibly undefined method Button. 1120: Access of undefined property _next. And this keeps on going as much i've

How do mx.graphics.codec.JPEGEncoder and com.adobe.images.JPGEncoder relate to each other?

你。 提交于 2019-12-11 16:56:57
问题 Basically that's the question - how do mx.graphics.codec.JPEGEncoder and com.adobe.images.JPGEncoder relate to each other? 回答1: The former is included in the Flash Player 10.1 ActionScript core library, while the latter is part of as3corelib, an open source ActionScript library. Both are developed and distributed by Adobe, and the API seems to be identical (at least at first glance) so my guess is they compiled the functionality of the as3corelib class into the core library. Have a look at

Use regular expressions to find variables matching certain criteria

爱⌒轻易说出口 提交于 2019-12-11 16:52:37
问题 I want to use regular expression in Notepad++ to find expressions as follows: form1.subform[0].linestatus1.rawValue or form1.subform.linestatus1.rawValue or, the general pattern is as follows (Adobe LiveCycle FormCalc expression): element1.element2[index1].element3[index2].element4.element_n.propName where the [index1] and [index2] are optional. Also, the match should exclude the following (Adobe LiveCycle JavaScript expression): xfa.resolveNode("form1.subform.linestatus1").rawValue xfa

ActionScript 3.0: load an image programatically

感情迁移 提交于 2019-12-11 16:50:07
问题 I'm developing an Blackberry Playbock app with ActionScript 3.0. I'm very very new with this. I have the following project structure (I'm using Adobe Flash Builder "Burrito"): project | src | assets | images On image folder I have several PNGs images that I want to load programmatically. How can I do that? And What GUI component I must use to show an image? 回答1: This example loads one image and uses buttons to change it: // create a Loader object to hold things that you will load var myLoader

Why is one of these two itext 7 signed and validated document is not valid with Adobe DC reader?

眉间皱痕 提交于 2019-12-11 16:19:02
问题 I've two pdf documents certified (signed and validated with the same mechanism based on Itext 7 ) and when i use adobe reader DC to check their validity, only one has the green mark. the good one: https://1drv.ms/b/s!AkF6t4TavwMvgxWaidlUqvPvHH1r the bad one: https://1drv.ms/b/s!AkF6t4TavwMvgxQCMdGY61S1EvUh Regards David L 回答1: This is not an Adobe bug, it's a feature. (And an iText bug) When Adobe performs the cryptographic validation, it will also perform additional checks to see if a

How to encrypt database SQLite using Adobe AIR 2.0

吃可爱长大的小学妹 提交于 2019-12-11 16:12:45
问题 i just wanna ask how to encrypt database using adobe air 2.0. I found some codes using Adobe air 1.5. here the codes: // Include AIRAliases.js to use air.* shortcuts var conn = new air.SQLConnection(); conn.addEventListener(air.SQLEvent.OPEN, openHandler); conn.addEventListener(air.SQLErrorEvent.ERROR, errorHandler); var dbFile = air.File.applicationStorageDirectory.resolvePath("DBSample.sqlite"); var encryptionKey = new air.ByteArray(); encryptionKey.writeUTFBytes("Some16ByteString"); //

Flashbuilder 4.5 Android Camera restarting my application

孤者浪人 提交于 2019-12-11 15:38:22
问题 I'm working with FlashBuilder 4.5 and trying to make an app for Android that uses the camera function. It works fine on iOS, but in Android, I am able to take the picture using the android Camera UI, but anything I do after that (hit cancel, or Accept), it restarts my application. I am taken to the splash screen and the app starts over. I do not have any sort of Event.DEACTIVATE listeners going on. I did, but I have them commented out. I am able to click Home, to return to the "desktop" of

ITextSharp include all pages from the input file

旧城冷巷雨未停 提交于 2019-12-11 14:09:30
问题 I used the following code by using itextsharp library to add text to a pdf.(got the code from link ITextSharp insert text to an existing pdf Dim reader As New PdfReader(oldFile) Dim size As iTextSharp.text.Rectangle = reader.GetPageSizeWithRotation(1) Dim document As New iTextSharp.text.Document(size) ' open the writer Dim fs As New FileStream(newFile, FileMode.Create, FileAccess.Write) Dim writer As PdfWriter = PdfWriter.GetInstance(document, fs) document.Open() ' the pdf content Dim cb As