adobe

Calculate WMTS layer map extent with GeometryService

有些话、适合烂在心里 提交于 2019-12-25 08:50:07
问题 I have WMTS background layer, a WMS Layer and an array of points in a graphic layer. The points have wgs84latlng coordinates that are used to calculate the extent of the map. NOT WORKING: When calculating the extent with a GeometryService the the wms layer is nicely projected on top of it only it's position is shifted upwards and not corresponding with the GeometryService calculated position of the points in the GraphicsLayer... service: <esri:GeometryService id="geometryService" concurrency=

InDesign CS5 Script: Why is `#targetengine` not working correctly?

☆樱花仙子☆ 提交于 2019-12-25 05:06:02
问题 I understand that the declaration #targetengine "myEngineName" would be used for InDesign to remember global variables (found information on this here: http://incom.org/post/89818). However, this was still not enough for it to remember global variables as it still throws an error regarding the global variable imgs : Error Number: 30476 Error String: "if(imgs[i].itemLink != null)" could not be completed because the object no longer exists. ...or something like that anyway. It doesn't like that

Adobe CQ Image Coponent fileName

最后都变了- 提交于 2019-12-25 04:48:33
问题 I created a new Adobe CQ 5.6.1 Project using the Maven archetype, then created a page component, and a cq:Page that uses that page component as the sling:resourceType . The page component has a <cq:include path="par" resourceType="foundation/components/parsys" /> and the design for that par has the attribute components="[/libs/foundation/components/image,/libs/foundation/components/download]" Everything is fine, I can load the page, in the sidekick I see the Image and Download components and

How to get Json object in JSP scriptlet coming from Servlet

拟墨画扇 提交于 2019-12-25 02:50:25
问题 I'm new to Adobe CQ. I'm not even sure how to put this question I've to populate a dropdown dynamically,the dropdown should call a JSP which will have JSON response object in scriptlet, Jsp should get the Json object from a servlet. my jsp should look like below format: dropdownpopulate.jsp <%@ page import="com.day.cq.wcm.api.WCMMode, com.day.cq.wcm.api.components.DropTarget%> <% [ {key1,value1}, {key2,value2}, {key2,value3} ] %> So planning to use the following jquery in my jsp : <script> $

Adobe AIR lag on high resolution Android devices

对着背影说爱祢 提交于 2019-12-25 02:28:41
问题 I have made an app which works well on iOS but has performance problems on Android. I have noticed that on older devices such as galaxy s2 with a low screen resolution, the app is fine. It only lags on the new hd devices such as the galaxy s4 and nexus 4. Are high screen resolutions causing the devices to lag? Does anyone know what I can do to find out how to fix this? It's really strange because it's only on the new devices. 回答1: Not sure why it is happening on the S4 since it has a decent

IOS AIR app still running when the iphone is locked?

此生再无相见时 提交于 2019-12-25 02:05:59
问题 I just made a simple game with flash professional 6.0 and the adobe AIR 4.4 SDK for iPhone. The problem is that when I lock the iphone pressing the power button, the screen switches off as usual, but the music of the game still sounds. If I exit the game pressing the home button it exits fine. Is only when locking the phone with the app opened. 回答1: Try add listeners for the events Event.DEACTIVATE on your main class and Event.EXITING on NativeApplication.nativeApplication . On the events

Printing pdf's without opening the print dialogbox

坚强是说给别人听的谎言 提交于 2019-12-25 01:08:29
问题 I have created a function for printing pdf's through adobe reader. It all works fine but I am unable to suppress the print dialog box. What I want is to print the file directly through the printer without the print dialog box popping up. This is the function for printing but the print dialog pops up everytime it is called. I am doing a batch pdf printing so I don't want it pop every time. public static bool PrintPDFs(string pdfFileName) { try { var proc = new Process { StartInfo = {

Omniture - Is it possible to count number of clicks per special tagged link?

◇◆丶佛笑我妖孽 提交于 2019-12-25 00:07:20
问题 I'm trying to figure out is it possible to track number of clicks per special links via Omniture.js (s_code.js) . For example - Set of links should have something like tag_1 , others tag_2 etc.: <a href="#" data-tag="tag_1">Menu link 1</a> <a href="#" data-tag="tag_1">Menu link 2</a> <a href="#" data-tag="tag_1">Menu link 3</a> <div class="some-wrapper"> <a href="#" data-tag="tag_2">Some button</a> </div> On click I need to +1 for special tag, that's way counting number of clicks per

Adobe pdf printer doesn't creating the pdf file

纵饮孤独 提交于 2019-12-24 22:52:06
问题 I'm creating an add-in in Revit 2017. The addin will export drawing sheets to PDF files. So, whenever I try to export the sheet a dialog box appears to choose the location to save. I tried to turn off the Prompting programmatically by adding a key to the Windows registry (as described in Adobe documentation page 15-16). Now, the prompting got turned off and now I'm facing an issue. The issue is the Adobe Printer got stuck while creating the pdf file . See the below image: The PDF creating

Create submenu in context menu

独自空忆成欢 提交于 2019-12-24 18:13:22
问题 Is it possible to create submenu in context menu (right click menu) in Adobe Flex? Menu1 > - Menu1.1 - Menu1.2 Menu2 > - Menu2.1 - Menu2.2 - Menu2.3 回答1: No; it is one of the current limitation; I believe of the Flash Player. In Adobe AIR you can add submenus to the context menu using the submenu property of the NativeMenuItem class. 回答2: An easy way to adding Sub-menu in AIR application <?xml version="1.0" encoding="utf-8"?> <s:Panel xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library: