apache-flex

Flex: Is it possible for a changewatcher to watch multiple variables?

天涯浪子 提交于 2019-12-13 09:32:04
问题 I have a Flex variable that depends on a number of other Flex variables. I want this variable to be updated any time any of the variables it depends on are updated. Is it possible to do this using a single ChangeWatcher? Specifically, can the following code be modified so that it uses only one ChangeWatcher and if so how? <?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com

AS3 - Get JAVA Home path

倖福魔咒の 提交于 2019-12-13 09:28:57
问题 I need to copy an extension on Java Home lib directory. But my problem is to find java home on Windows and on Mac OS. This directory change on each idk update. Could you help to fix it with environnement variables. Best regards. 回答1: Could you help to fix it with Environment Variables ? Can you be sure that your app user has actually added JAVA_HOME path into their account's Environment settings? If they didn't follow some tutorial then your idea will find nothing. But my problem is to find

combobox which filters dataprovider based on user input

坚强是说给别人听的谎言 提交于 2019-12-13 09:23:15
问题 I need a combobox which filters dataprovider based on user input? For example if user input is "CA" combobox will filter the dataprovider and show only data which starts with "CA". ("CANADA" and "CALIFORNİA") note:combobox is editable. and ı need this combobox in flex 3. edit:okay ı got some help from javaluca and ı wrote this. <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="createCompFonk()"> <mx:Script> <!

Convert AS3 to FLA for generating SWF

本小妞迷上赌 提交于 2019-12-13 09:13:31
问题 I Need to manipulate the compiled SWF and recompile it back to SWF and deploy. I have tried 3 options but no luck on all the options : 1) Converting swf to fla to AS3, I was able to edit the AS3 file, then I am not able to move forward to create the new FLA & new SWF file. 2) Converting swf to flex project and importing to flex builder, then while publishing it says that I did not main MXML file to get new SWF. 3) Currently I had tried converting AS3 to FLA, but no luck. If you have any known

TypeError: Error #1009: Cannot access a property or method of a null object reference

ぐ巨炮叔叔 提交于 2019-12-13 08:48:27
问题 I get this error when i launch the application(flash type with dismiss all and continue) and i'm out of ideas: TypeError: Error #1009: Cannot access a property or method of a null object reference. at Magazin/xmlService_resultHandler()[D:\Documents and Settings\chechu\Adobe Flash Builder 4\Magazin\src\Magazin.mxml:41] at Magazin/__xmlService_result()[D:\Documents and Settings\chechu\Adobe Flash Builder 4\Magazin\src\Magazin.mxml:64] at flash.events::EventDispatcher/dispatchEventFunction() at

Accordion in Flex 4.5 Mobile App

给你一囗甜甜゛ 提交于 2019-12-13 08:47:34
问题 I want to work on text layout to display in a vertical accordion. I was able to work with accordion in web app but unable to work on a mobile app since the accordion is not available in mobile flex. Please help me to work on flex mobile accordion. Also suggest me how to display the paragraph contents and bulletins in flex mobile accordion... 回答1: Have a look at Application tabs for mobile solutions: http://devgirl.org/2011/05/09/styling-the-flex-4-5-mobile-application-tabs-and-actionbar/ <

Flex: Any way to use something like htmlText in Spark TextArea?

若如初见. 提交于 2019-12-13 08:25:13
问题 I´m using php services to insert text from MySql, to a TextArea. Ok, with mx textarea is working but how do i manage that with spark!? this is my example with mx: <mx:TextArea htmlText="{links.comment}"/> this is an example with spark: <s:TextArea> <s:textFlow> <s:TextFlow> <s:a href="http://www.google.com/" target="_blank"><s:span color="0xCECB02" textDecoration="none">Something and Something</s:span></s:a> </s:TextFlow> </s:textFlow> </s:TextArea> That works, but how can i take the same "

Flex-Disable data grid row when checkbox is not selected

余生长醉 提交于 2019-12-13 08:13:06
问题 I am writing flex code first column has checkboxes When checkbox is slected then only particular row in datadrid should be enabled, i.e. all other columns I need to enable for particular row As I am using itemrenderer in each datagridcolumn I can not access its id's outside. How can I disable or enable rows based on checkbox change? 回答1: Thanks for the help. I tried using preventDefault, it disables columns but I am not able to enable it back. To be specific with my requirement I have 3

Flex 3.6 to 4.6/4.9 Migration issue

我是研究僧i 提交于 2019-12-13 08:02:22
问题 I am getting the following error while migrating to version 4.6/4.9. Same thing works fine in flex version 3.6. Can somebody please help me to resolve it? 4.6 Error TypeError: Error #1034: Type Coercion failed: cannot convert "/" to flash.display.DisplayObject. at mx.charts.chartClasses::ChartBase/ttp://www.adobe.com/2006/flex/mx/internal::addElements()[E:\dev\4.y\frameworks\projects\charts\src\mx\charts\chartClasses\ChartBase.as:4302] at mx.charts.chartClasses::CartesianChart/ttp://www.adobe

Get data from dynamic HTTPService Asynchronous to populate an Advanced Data Grid Flex

∥☆過路亽.° 提交于 2019-12-13 07:38:22
问题 I have to populate an Advanced Data Grid which have the following fields: Continent->State->Society-->Actual Value-->Estimate Value I want to simulate a financial market so i have to change some of the values by asynchronous request from an HTTPService; have you got any idea to do so? Thank you. If necessary i'll post the .as file, but it is generated automatically by Flex Builder. Here's the code of the client side Flex/Air application: <?xml version="1.0" encoding="utf-8"?> <mx