apache-flex

Continuous integration servers for Flex

南楼画角 提交于 2020-01-25 13:04:29
问题 Which CI server do you use for Flex? My main contenders are currently Hudson TeamCity Both seem to be popular on the general level but have you got some direct experience with using one or both with Flex development? Or would you recommend some other tool? 回答1: We use Hudson in combination with SVN and it works quite well. Both the Java code and the Flex code is built using Maven and the Flex Mojos plugin. The build also runs the unit tests for the Flex code and it integrates the results in

Continuous integration servers for Flex

坚强是说给别人听的谎言 提交于 2020-01-25 13:03:54
问题 Which CI server do you use for Flex? My main contenders are currently Hudson TeamCity Both seem to be popular on the general level but have you got some direct experience with using one or both with Flex development? Or would you recommend some other tool? 回答1: We use Hudson in combination with SVN and it works quite well. Both the Java code and the Flex code is built using Maven and the Flex Mojos plugin. The build also runs the unit tests for the Flex code and it integrates the results in

Managing web services in FlexBuilder - How does the manager work?

末鹿安然 提交于 2020-01-25 13:00:13
问题 In FlexBuilder 3, there are two items under the 'Data' menu to import and manage web services. After importing a webservice, I can update it with the manage option. However, the webservices seems to disappear after they are imported. The manager does however recognize that a certain WSDL URL was imported and refuses to do anything with it. How does the manager know this, and how can I make it refresh a certain WSDL URL? 回答1: In your src folder of the flexbuilder project you should see the

AxisRenderer's labelRotation property doesn't do anything

拜拜、爱过 提交于 2020-01-25 12:33:39
问题 Despite setting the labelRotation property to 90 in this column chart, the axis labels are horizontal. Is there something additional I need to do? <mx:ColumnChart id="myChart" height="100%" width="100%" dataProvider="{myData}" showDataTips="true"> <mx:horizontalAxis> <mx:CategoryAxis id="h1" categoryField="code"/> </mx:horizontalAxis> <mx:horizontalAxisRenderers> <mx:AxisRenderer axis="{h1}" labelRotation="90" /> </mx:horizontalAxisRenderers> <mx:series> <mx:ColumnSet type="stacked"

Dismiss SoftKeyboard in Flex Mobile

血红的双手。 提交于 2020-01-25 12:23:56
问题 The Flex InteractiveObject has has a requestSoftKeyboard() method that pops up the Soft Keyboard. How can I do the opposite and send it back? Thank you. 回答1: With Flex 4.6, you can dismiss by setting stage.focus = null; Please read more here: open soft keyboard in a mobile Flex application 回答2: For example, say your InteractiveObject is a TextInput, then you can keep it from popping up with the following: private function onActivating(event:SoftKeyboardEvent):void { event.preventDefault(); }

Dismiss SoftKeyboard in Flex Mobile

五迷三道 提交于 2020-01-25 12:22:06
问题 The Flex InteractiveObject has has a requestSoftKeyboard() method that pops up the Soft Keyboard. How can I do the opposite and send it back? Thank you. 回答1: With Flex 4.6, you can dismiss by setting stage.focus = null; Please read more here: open soft keyboard in a mobile Flex application 回答2: For example, say your InteractiveObject is a TextInput, then you can keep it from popping up with the following: private function onActivating(event:SoftKeyboardEvent):void { event.preventDefault(); }

Google Oauth crossdomain.xml problem with Flex

ぐ巨炮叔叔 提交于 2020-01-25 07:20:24
问题 I am trying to get the RequestToken with flex from https://www.google.com/accounts/OAuthGetRequestToken. It works fine in the Flash Builder, but not in the localhost. I think it is the crossdomain.xml problem, so I try to find the crossdomain file in https://www.google.com/accounts/crossdomain.xml and https://www.google.com/crossdomain.xml. However, I cannot find it. My question is where I can find crossdomain.xml for OAuthGetRequestToken. Please advice. Thanks. Update: var loader:URLLoader =

Can A Sprite Contain A MovieClip?

假装没事ソ 提交于 2020-01-24 19:38:07
问题 Hmmm... I'm working at creating an AS3 UI library, since most of the ones out there each seem to miss out at least 1 feature I need. In order to keep it lightweight, I created everything from scratch. I use Sprites to render just about anything. But I want to allow the user of the library the possibility of adding a custom graphic for a button. Now... maybe that graphic is a MovieClip which has a nice animation within it. So can I say sprite.addChild(mc) and then if I do mc.play, will the mc

Flex 4 - How to set errorTip in FormItem?

99封情书 提交于 2020-01-24 15:30:06
问题 I am the new one for flex 4. In my sample application, I am using validator. It display's the error message and icon at beside's of the control. My question is, How to remove these error message and error icon? And I want to display my error message as a errorTip when the mouse is over the particular control. Thank you. Edit My sample code. I am using this with some other controls <fx:Declarations> <mx:StringValidator id="nameValidator" source="{employeeName}" property="text" tooLongError=

Loading external images from another domain

时间秒杀一切 提交于 2020-01-24 09:31:07
问题 Is it possible to load an image(jpg, png, gif) from another domain and manipulate the pixels? I guess when the image is downloaded/copied it is in my domain. Using the Loader and add the content to an Image component I get an error in my debugger. I guess there are some cross domain polices at work here. But I need to be more sure how this works before moving on. I guess, if it is not possible to load the image directly I could create a local proxy. Could someone please enlighten me? Thanks