apache-flex

Fast alternative to Flash Builder

六月ゝ 毕业季﹏ 提交于 2019-12-12 04:13:46
问题 I have a large application in Flex. I use Flash Builder to develop it. Flash Builder works good, until I attempt to compile my project. It takes too much time to check small changes of application interface. Is there faster alternative to Flash Builder? Does InelliJ Idea compile large projects faster? I need to check just one interface panel out of 100, is there any solution that would allow to preview just it (except dividing application into smaller modules)? 回答1: FDT and IntelliJ Idea both

How do I access the root element of an MXML document if I can't set an id?

夙愿已清 提交于 2019-12-12 04:04:45
问题 If I wanted to do something like this: <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" horizontalScrollPolicy="off" verticalScrollPolicy="off" xmlns:view="com.foo.bar.view.*" > <mx:Script> <![CDATA[ myWidth = 100; myHeight = 200; myCanvas.width = myWidth; myCanvas.height = myHeight; ]]> </mx:Script> </mx:Canvas> How would I get a handle on myCanvas (where I'd want myCanvas to be the root )? 回答1: To access the component specified by the root node from within an mxml file, you can use this

Flash and multiple domain / sub domains => crossdomain.xml?

余生颓废 提交于 2019-12-12 03:57:50
问题 I am trying to use a flash script (plupload) on all my domains and sub-domains hosting it on my static sub-domain. The swf file is placed on my static.mydomain.com/path/to/file.swf And I want to use this file on my others domains and subdomain like : www.mydomain.com or asubdomain.mydomain.com I also would like to use it on another domain extension for the same domain name, like : mydomain.net But I fail to use it. And if I put the swf file on my subdomain where I want to use it, it works

Calling JavaScript function from Flex 4 web application

倖福魔咒の 提交于 2019-12-12 03:57:20
问题 I need to call javascript function from Flash 4 based web application. When I run it in Debug mode it runs perfectly but when I make release build or run same application on other machine it does not call JavaScript function. For testing I am just calling sample Alert function of JavaScript. Can someone help me what I am missing ? <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" initialize="application1_initializeHandler(event)" verticalAlign="middle"

Flex AdvancedDatagrid populating with groupingCollection based on xml

泄露秘密 提交于 2019-12-12 03:54:12
问题 I'm currently trying to populate an flex 3 AdvancedDatagrid with xml received from a HTTPService with id="produktMatrix_data" . The layout is as follows: http://pastebin.com/NqFqgj86 The result should look like: The further rows like KID, M.., etc. will be populated by other sources, be hardcoded, or by user input and are beyond scope of this question. My code for the AdvencedDataGrid is as follows: <mx:AdvancedDataGrid dataProvider="{matrixProvider}"> <mx:columns> <mx:AdvancedDataGridColumn

httpService and XMLListCollection

孤街浪徒 提交于 2019-12-12 03:48:44
问题 I have a problem with my project where I try to fill a list with my xml data that I get out of an php file. I call the php file with a httpservice and this file returns xml data. Now it seems that there is a problem, but I don't get any error. I just know after debugging that my XMLListCollection remains null. Here is my code : <?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

migrating from Flex 3.6 to 4.6

青春壹個敷衍的年華 提交于 2019-12-12 03:47:57
问题 I'm currently working on an Adobe Flex Air Project, which was created with Flex 3.6! But now it should become an App for IPad, but Flash Builder can only export projects as App since Flex 4.6. So I'm trying to convert the project from Flex 3.6 to 4.6, what should be easy to do, I guess, but there are some problems with libraries and/or namespaces, which confuse me. This is how my Main-mxml starts: <s:Application xmlns:mx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx

NoClassDefFoundError android flex ane extension

末鹿安然 提交于 2019-12-12 03:34:11
问题 I created a ane native extension for a flex application and I have a problem. My problem is that i get a NoClassDefFoundError from native java code. The class that is not found is in a third-party jar. I added the third-party jar as a lib file in eclipse, is also set on project build pats and is also set as exported resource. I think the problem is when i pack the final .jar file for the extension. I unpacked the .jar file and the third-party jar is there. 回答1: You have to be careful when

Embedded font looks different than supposed to

∥☆過路亽.° 提交于 2019-12-12 03:31:52
问题 When an embedded font is used for a label it looks correct, but when the same font is used for a combobox, the selected item font looks different from the dropdown and label font. @font-face { src:url("/assets/fonts/Helvetica.TTF"); fontFamily: "Helvetica Neue Bold Condensed"; fontStyle: normal; fontWeight: normal; } .comboBox { fontFamily: "Helvetica Neue Bold Condensed"; fontSize: 11; color: #666666; } .label { fontFamily: "Helvetica Neue Bold Condensed"; fontSize: 12; color: #CCCCCC; } Why

How to pageScroll mx.DataGrid programmatically?

拟墨画扇 提交于 2019-12-12 03:24:23
问题 If there are some mistakes in English, I'd like to apologize. I want to scroll datagrid programmatically by click buttonbar event. Following code is work, but it scrolls one by one. What I need is page scrolling, like clicking empty horizontal scrollTrack area. Any help would be greatly appreciated. <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="init()"> <mx:Script> <![CDATA[ import mx.events.ItemClickEvent;