apache-flex

Login error connecting to salesforce.com from Flex

人走茶凉 提交于 2020-01-05 08:10:20
问题 Has anyone suddenly encountered login errors from their users trying to connect to salesforce.com from a Flex app using as3salesforce.swc? I get the following error... password removed to protect the innocent... App Domain = null Api Server name = na3.salesforce.com _internalServerUrl = https://na3.salesforce.com/services/Soap/u/14.0 loading the policy file: https://na3.salesforce.com/services/Soap/cross-domain.xml Your application must be running on a https server in order to use https to

Login error connecting to salesforce.com from Flex

北城余情 提交于 2020-01-05 08:09:33
问题 Has anyone suddenly encountered login errors from their users trying to connect to salesforce.com from a Flex app using as3salesforce.swc? I get the following error... password removed to protect the innocent... App Domain = null Api Server name = na3.salesforce.com _internalServerUrl = https://na3.salesforce.com/services/Soap/u/14.0 loading the policy file: https://na3.salesforce.com/services/Soap/cross-domain.xml Your application must be running on a https server in order to use https to

Maven failure to download swc files

╄→гoц情女王★ 提交于 2020-01-05 07:43:27
问题 I'm trying to use Maven to build a Flex project using the Sonatype flexmojos. I've set up the project and the build mostly works until it tries to download various swc files from the Sonatype repository, eg. Downloading: http://repository.sonatype.org/content/groups/flexgroup/com/adobe/flex/framework/framework/3.2.0.3958/framework-3.2.0.3958.rb.swc Downloading: http://repository.sonatype.org/content/groups/flexgroup/com/adobe/flex/framework/flex/3.2.0.3958/flex-3.2.0.3958.swc ... There are no

Flex 3 DataGridColumn HeaderText Localization

拜拜、爱过 提交于 2020-01-05 06:17:12
问题 I'm working in a multi-language application using ResourceBundle in Flex 3. I'm displaying data in a DataGrid and defined DataGridColumn headerText like this headerText="{localizedHeaderText('LABEL_USER_NAME')} this function returns the localized label for the username, but when I dynamcally select another language evertying gets refreshed but the headerText labels? Any thoughts? Thanks 回答1: Unless you make the localizedHeaderText method bindable, the binding will never be re-evaluated since

how to implement a data-structure in flex that just like LinkedHashSet in Java

拟墨画扇 提交于 2020-01-05 05:53:32
问题 As ArrayCollection in Flex is limited, I'm looking for a data-structure that something like LinkedHashSet in Java, LinkedHashSet maintains a doubly-linked list running through all of its entries,it defines the iteration ordering, which is the order in which elements were inserted into the set (insertion-order).But there is little information about Flex data-structure, so anyone can help me, thanks 回答1: This library might be worth checking: http://sibirjak.com/blog/index.php/collections

Google Play: “The server could not process your apk. Try again.”

佐手、 提交于 2020-01-05 04:55:38
问题 I have been unable to upload a specific application to the Play store. I'm using Flash Builder 4.6 to package it. After the upload is complete I get the message "The server could not process your apk. Try again." I've tried about 20 times with different configurations over the course of 3 days. No luck. The problem must be with the apk because I successfully uploaded another test.apk file to check the server. I have tried the following: 1) Delete tag (didn't have one so that's okay) 2) Run

Replacing ScrollPane Scrollbar with OS Native Scrollbar

北慕城南 提交于 2020-01-05 04:36:08
问题 Is there an easy way to replace the ScrollPane scrollbar with the OS's native scrollbar? Flash applications look much more integrated if they have the same skinning as the user's operating system -- which isn't always easy to detect (Vista Aero vs. Classic?). Have you guys come across any examples of Flash apps doing this? 回答1: To set up something like this would be a big and dirty job. If you're that concerned with OS look-and-feel integration, you're probably better off using native browser

Flex custom button component

纵然是瞬间 提交于 2020-01-05 04:22:09
问题 I want my custom button to look like the button sample below. More specifically, I want the width of the button to be determined by the width of the largest word in the label (i.e. width of "Elongated" in my example). The label must wrap, not truncate. And I want only one pixel between the top edge of the icon and my button's top edge. I have tried lots of things but to no avail so far. I have reduced the horizontalGap and verticalGap to zero and padding to zero. But still nothing. Please

Recursive iteration through every component instance

喜欢而已 提交于 2020-01-05 04:08:31
问题 I have various custom component instances in my flex app. I want to loop through them recursively and get their instance Ids. The recursive part is very important to me. Can someone tell me what's the best way to do it? I have tried doing this, but it didn't do recursive: for each (var myItem:* in this.MasterContainer.childDescriptors) { trace(myItem.id); } 回答1: This will do it: private function findControlsRecursive(current:DisplayObjectContainer, controls:ArrayCollection):void { for(var idx

Dynamic ItemRenderer for Flex Datagrid

亡梦爱人 提交于 2020-01-05 04:02:38
问题 I have DataGrid with Dynamic Columns. The columns will contain ItemRendrer. I'm not familiar with dynamically adding ItemRenderer. My code is: var column:DataGridColumn = new DataGridColumn(); column.headerText = item; column.width=150; column.dataField=item; column.itemRenderer = WorkNatureRenderer ; cols.push(column); WorkNatureRenderer is a mxml component.( Hbox containing TextInput and Button ) <?xml version="1.0" encoding="utf-8"?> <mx:HBox xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns