apache-flex

How do I display grouped XML data in a Flex pie chart?

丶灬走出姿态 提交于 2020-01-06 04:54:09
问题 I've looked into grouping XML data with GroupingCollections and AdvancedDataGrids, but I can't figure out how to display that data in a chart. Basically, what I want to do is group the data by the category field, which should give me two rows under red, one under blue, and one under green. When inputting this data into the pie chart, it should take up the right amount of space (1/2 for red, 1/4 each for blue and green). I don't need the other_data field, as I'd like to use the group name

adobe air with flex, file new, open and save for Desktop software program

醉酒当歌 提交于 2020-01-06 04:29:27
问题 I already have a headache from all the searching. I cannot believe this to be such a confusing topic as every software program we create must be able to save user input, right. Here is the problem: Novel writing software program Main window has tabnavigator with four navigatorcontent pages 1. characters, 2. worlds, 3. objects, 4. Editor Each navigatorcontent page has user input fields in the form of textinput component, textarea component, richtexteditor component, etc. problem 1: The user

How should I smooth the transition between these two states in flex/flashbuilder

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-06 03:11:09
问题 I have an item in which has two states, best described as open and closed, and they look like this: and And what I'd like to do is is smooth the transition between one state and the other, effectively by interpolating between the two points in a smooth manner (sine) to move the footer/button-block and then fade in the pie chart. However this is apparently beyond me and after wrestling with my inability to do so for an hour+ I'm posting it here :D So my transition block looks as follows <s

Problems with https on iPad from Air app

旧城冷巷雨未停 提交于 2020-01-06 02:31:10
问题 I have developed an in-house Air app for the iPad that tries to connect to a jetty web server via SSL (https) using HTTPService. Even the simplest GET returns error #2032 (runs OK with plain http). I have checked the obvious things: URL is correct, certificate is correct and correctly installed, I am using the right port, which is open. As a matter of fact, the URL can be accessed from Safari on the iPad without problems. It also runs correctly on adl. I am using an iPad 2 with iOS 5. The

Problems with https on iPad from Air app

走远了吗. 提交于 2020-01-06 02:31:06
问题 I have developed an in-house Air app for the iPad that tries to connect to a jetty web server via SSL (https) using HTTPService. Even the simplest GET returns error #2032 (runs OK with plain http). I have checked the obvious things: URL is correct, certificate is correct and correctly installed, I am using the right port, which is open. As a matter of fact, the URL can be accessed from Safari on the iPad without problems. It also runs correctly on adl. I am using an iPad 2 with iOS 5. The

Accessing Strings From Zend AMF Objects

☆樱花仙子☆ 提交于 2020-01-06 02:13:59
问题 I'm using Flex 3.6 and ZEND AMF version 1.11 I have an array that shows in my trace using trace(ObjectUtil.toString(event.result)); It outputs as follows: ---This is a Test!--- //The Object Contains... (Object)#0 code = "112" path = "whateverthispathis" Path is: -----End of Test----- In REST we used event.result.data.path to get the path variable. How do I get the path variable via Zend AMF without using XML and out of the PHP array I made posted below? This is the PHP code I'm using to send

Flex 4.5.1 and iOS, Android development

让人想犯罪 __ 提交于 2020-01-05 23:31:12
问题 I recently came across Flex builder and it was gr8 to know that it supports iOS, Android and Blackberry Tablet OS development all within same IDE, framework and api. This is awesome!!! The project I am assigned is a kind of large product and in its desktop versions we have used core C++ and OS API for development (i.e. WIN 32 ), So before starting the development I am instructed to perform a detailed feasibility study on Flex 4.5.1. I have been reading various blogs and posts related to this

Issues in running Jmeter amfproxy

陌路散爱 提交于 2020-01-05 20:48:10
问题 Have been trying to do a load test on flash game server that uses amfPHP for backend interaction. I have added the Jmeter- amf plugin from Ken(steeltomato) and followed all the steps mentioned in the user guide(https://github.com/steeltomato/jmeter-amf/wiki/User-guide) But whenever i start recording using the proxy i get this following error in the log 2014/02/18 12:14:11 ERROR - jmeter.JMeter: Uncaught exception: java.lang.NullPointerException at org.apache.jmeter.protocol.amf.proxy

Flex: Tree component: keeping state when data provider updates

二次信任 提交于 2020-01-05 16:25:55
问题 How would I go about keeping the state of a tree control? I'd like to keep the state of the tree when it's data provider gets updated, instead of it collapsing. 回答1: How about something like this : var openItems:Object = tree.openItems; tree.dataProvider = myNewDataProvider; tree.openItems = openItems; tree.validateNow(); I'm not sure how well this will work if the new dataProvider is radically different from the old one, but it works when you're lazy loading tree nodes. 回答2: Here is how I

Flex: Tree component: keeping state when data provider updates

£可爱£侵袭症+ 提交于 2020-01-05 16:24:27
问题 How would I go about keeping the state of a tree control? I'd like to keep the state of the tree when it's data provider gets updated, instead of it collapsing. 回答1: How about something like this : var openItems:Object = tree.openItems; tree.dataProvider = myNewDataProvider; tree.openItems = openItems; tree.validateNow(); I'm not sure how well this will work if the new dataProvider is radically different from the old one, but it works when you're lazy loading tree nodes. 回答2: Here is how I