apache-flex

Detected duplicate HTTP-based FlexSessions, generally due to the remote host disabling session cookies

痞子三分冷 提交于 2019-12-12 18:16:45
问题 scene description: my program is implemented by flex+java+blazeDS+activeMQ,it subscribe the jms message from activeMQ by Flex Consumer,Currently i deliver two tomcat in the same Server,them are all contains my program ,and the ActiveMQ is in another server,now time i open the two applications in the same kind of browser,such as IE or Chrome,whatever,the url just like http://localhost: 8080 /HelloWord/index.html , http://localhost: 8181 /HelloWord/index.html Problem: the first application url

How to tell if the mouse cursor is over a component using the mouse coordinates?

余生颓废 提交于 2019-12-12 18:14:32
问题 I'm trying to determine with the help of a mouse event if I'm over a specific component. So right now I have two components, let's say buttonA and buttonB. ButtonA has a listener on it already listening for the mouse out event. ButtonB is flush against the edge of ButtonA. I need to find out the code for it. Here is more details: protected function _mouseOutHandler(event:MouseEvent):void { if (data.subCategories.length>0) { if (MOUSE IS NOT OVER BUTTONB) { } if (MOUSE IS OVER DROPDOWNB) { } }

Cannot interact with Bing Map on iOS; Android does not show polyline (Flex Mobile App, using Javascript API through StageWebView)

爱⌒轻易说出口 提交于 2019-12-12 18:09:52
问题 After being unable to solve this issue, I decided to try to implement my application using Bing Maps. I am trying to load a StageWebView with the Google Maps Javascript API inside a Flex Mobile application. Everything works perfectly when I view this in a browser (IE, Chrome and Safari) and in the Flash Builder simulators. On the actual devices I get varying results. I am using the StageWebView.loadString() method to load my code in Flex. The iPhone displays the map and the shapes I put on it

How to get command line arguments for a running process

核能气质少年 提交于 2019-12-12 16:45:52
问题 In my program, I have been receiving an error when I use a command-line compile command for mxmlc. The error is related to an embedded font name not being correctly identified by flex in the system fonts list. However, on a whim, I decided to copy the code to Flex Builder and compile it there. To my surprise, it worked, and it found the proper font using the same system name I had given (PMingLiU). I suspected my problem may be a locale one, and that my system cannot correctly identify the

How to integrate google+ in a flex mobile application

﹥>﹥吖頭↗ 提交于 2019-12-12 16:28:42
问题 Anybody know how can integrate google+ in a flex mobile application. While i tried to authenticate with google+ getting an error like text="Error #2032: Stream Error. URL: https://accounts.google.com/o/oauth2/auth?response%5Ftype=code&redirect%5Furi=urn%3Aietf%3Awg%3Aoauth%3A2%2E0%3Aoob&client%5Fid ..." errorID=2032]. URL: https://accounts.google.com/o/oauth2/auth. 回答1: It's your lucky day, because I know how to do it :-) The doc is Using OAuth 2.0 for Installed Applications and you get the

How should one make bulleted lists in Flex 4, given that “marginLeft” doesn't actually exist?

一笑奈何 提交于 2019-12-12 16:27:25
问题 Gentlepersons, Imagine wanting to display a bulleted list like this one ...using Adobe's Text Layout Framework (TLF) in Flex 4. How can one define such a bulleted list in MXML? I understand that the current version of TLF does not yet implement support for bulleted lists. That's OK, because I don't need my lists to be editable; they are display-only. This reduces the problem-space significantly, and should enable a solution to be kludged up. A Google search reveals many suggestions to set a

Flex restrict TextInput to accept only decimal numbers?

倖福魔咒の 提交于 2019-12-12 16:05:54
问题 Is there some easy way to restrict TextInput to accept decimal numbers in range -99.999999 to +99.999999 ? it is Spark TextInput. 回答1: You didn't specify a Spark TextInput or an MX TextInput. You can use the restrict property to prevent people from entering numeric values (and the period). It is available on both the Spark and MX components. Here are the Spark Docs. After that, use a NumberValidator to validate the range, setting the min value and maxvalue. 来源: https://stackoverflow.com

Create a Notification window in Adobe AIR Application

余生颓废 提交于 2019-12-12 15:52:25
问题 I want to create an AIR application in which i need to show the notification that when AIR application is minimize then at some interval of time message shows from the system tray similar like giving information. I have visited this LINK, its a nice component but tutorial is not that much good as component. I need to create a component like that or source is available from this site so modification in this component will also be acceptable. so please help me. EG: When you minimize the Yahoo

cut copy paste with DisplayObject(Group ,UIComponent) in action script 3 flex 4

偶尔善良 提交于 2019-12-12 15:21:30
问题 I am implementing Cut Copy Paste in my application like cacoo. but I face problem during these operation. i'm using idea behind cut copy paste var className:String = getQualifiedClassName(objcut.getItemAt(i)) var klass:Class = getDefinitionByName(className) as Class var cloneObject:* = new klass() so i'm not able to preserve all property of object. There is any other idea to perform these operation in flex 4.how can i copy an Graphical object in Flex 4(as3). Copy an Object and paste multiple

Is there a way to compare text files through Flex?

血红的双手。 提交于 2019-12-12 15:12:40
问题 I am trying to find a way to compare two text files through Flex and show that diff in the UI. Is there a util or a way to do that? 回答1: You can read local files with the FileReference object, so the answer is yes. Using this API you can load the files, but comparing them is not a feature that is built into the framework, so you will have to supply a mechanism to do that once the files are loaded. More on loading local files can be found here: http://www.mikechambers.com/blog/2008/08/20