adobe

Open a web page in a flex mobile app

故事扮演 提交于 2019-12-24 18:12:17
问题 I am developing a Flex mobile app, I use the navigateToURL function, It open the web page into the default web browser but I would like to open the web page into the application when I click on the button. The full code of my app: <?xml version="1.0" encoding="utf-8"?> <s:View xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" title="Test"> <fx:Script> import flash.net.URLRequest; import flash.net.navigateToURL; import flash.display.MovieClip; import flash

How to display values in a List of a SlingModel using Sightly

拈花ヽ惹草 提交于 2019-12-24 17:16:13
问题 I am not able to display values in a lit that are part of a POJO/SlingModel. Please help. Desired Output Commodity 1 Product 1, Product 2, Product 3 Commodity 2 Product 2, Product 4, Product 5 Sightly Code <!-- LIST :: SLING MODEL -- FINAL --> <div data-sly- use.model="${'com.tti.tticommons.service.models.LeadTimeTrendsModel' @ rawJson=ws.JSON}" data-sly-unwrap> <div data-sly-list.commodity="${model.getProductsList}"> <div class="panel panel-default"> <div class="panel-heading"> <h3 class=

How do I select a certain node in a tree in flex?

放肆的年华 提交于 2019-12-24 16:29:16
问题 I'm trying to get properties for one single node such as the name I've set for it or something. How can I go by just selecting this one node? I can do it with an event e.currentTarget.selectedItem.@name; But I need to grab it without the event, how can I go by doing this? 回答1: it's better to get data from your data provider for xmlTree, because it's a XML/XMLList you can always use construction like myxml.nodename[0].@attribute 来源: https://stackoverflow.com/questions/4796462/how-do-i-select-a

iTextSharp: Javascript in PDF not firing when filled in in vb.Net

左心房为你撑大大i 提交于 2019-12-24 16:14:50
问题 I use iTextSharp to fill in the PDF server-sided and return it so that the client can download it. Here's the link to the pdf. The problem is number 1. You can only fill in the PDF if you have one of the boxes checked. If none is checked, everything will be "empty". The content isn't removed and returns once a box has been checked. Everything gets populated, but there is a problem. The checkbox gets checked, but the Javascript behind it doesn't fire. Any solutions? 回答1: When you use iText

Making HTTPRequest and getting response (Adobe Flex)

て烟熏妆下的殇ゞ 提交于 2019-12-24 14:42:57
问题 Im trying to make a HTTP Request in Adobe Flex (Actionscript) as follows: var p:PersonSearchController = new PersonSearchController(); showAlertDialog(); p.search(sc); alert.cancel(); navigator.pushView(views.PersonSearchResults, +p.getResp()); So basically, before the search we get a "Searching..." AlertDialog box, once the search is complete, the dialog box disappears and the results screen is pushed onto the screen... Here is the search method: function search{ var requestSender:URLLoader=

movieClip not stopping always looping

 ̄綄美尐妖づ 提交于 2019-12-24 14:03:16
问题 I have a class that gets a movieClip and then using addChild adds it to be displayed. Problem is that I cannot play or stop it at all. Basically I can't interact with the movieClip. Here is the code: public function Avatar(movieClip:DisplayObject) //class constructor { ... avatarSprite = MovieClip(movieClip) addChild(avatarSprite); avatarSprite.gotoAndStop(1); //this is not working trace(avatarSprite.currentFrame) //always returns 1 trace(avatarSprite.isPlaying) // returns false ... } When I

cfpdf merge error when trying to merge multiple pdf files

纵然是瞬间 提交于 2019-12-24 13:52:52
问题 I'm using CFPDF to merge multiple PDFs together. The PDFs were created using wkhtmltopdf 0.12.1. In most cases the code works fine, but 2 of my documents error whenever merged together. My online searches came up empty and I'm really at a loss. Any help is greatly appreciated. <cfpdf action="merge" destination="#outputFile#" overwrite="yes"> <cfloop index="i" from="1" to="#arrayLen(pdfFiles)#"> <cfpdfparam source="#pdfFiles[i]#"> </cfloop> </cfpdf> The error occurs on line 173 <cfpdfparam

Flex, any way to programmatically highlight a field in red the way the validators do?

守給你的承諾、 提交于 2019-12-24 12:33:56
问题 I'm doing some programmatic validation of some field values in a form, is there any way in Actionscript to highlight the field in red the way the validators do? 回答1: you just need to set errorString property on programmatic validation error <s:TextInput errorString="error string value" /> <mx:TextInput errorString="error string value" /> 回答2: Using: var textField:TextField = new TextField(); addChild(textField); To highlight the background in AS3: textField.background = true; textField

Run illustrator extendscript through automator applescript or bash?

我只是一个虾纸丫 提交于 2019-12-24 12:05:58
问题 The following command will run the SCRIPT_ABC.jsx which is located on my desktop. Is there a way to take the contents of the SCRIPT_ABC.jsx and put the javascript extendscript exclusively inside automator so when I save it out as an application it will be included within the program? on run {input, parameters} tell application "Adobe Illustrator" to open file "Macintosh HD:Users:NAME:Desktop:SCRIPT_ABC.jsx" return input end run 回答1: Paste the entire jsx into your applescript as a text body,

Adobe Creative SDK (Android) - Duplicate entry: com/google/android/gms/iid/zzc.class

寵の児 提交于 2019-12-24 10:43:17
问题 When I use Adobe Creative SDK, I'm facing the following error while building the APK. Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'. com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/google/android/gms/iid/zzc.class When I switch my minSdkVersion to 21, it creates the APK successfully. I need this app to run on atleast Version 19. My build.gradle file is: apply plugin: 'com.android.application' apply plugin: