flex4

Flex 4 - Vertical layout problem on TitleWindow

試著忘記壹切 提交于 2019-12-11 10:05:53
问题 This must be a simple problem, but I can't get my head around it. I have a resizable title window. Inside I just want a VGroup to hold the contents of the form and an HGroup to have a few buttons at the bottom. Very standard stuff. <!-- Content --> <s:VGroup id="content" height="340" width="100%"> ...more stuff in here... </s:VGroup> <!-- Buttons --> <s:HGroup id="buttonGroup" width="100%"> ...buttons in here... </s:HGroup> Horizonal resizing works fine. However, I want it to behave such that

Flash Builder cannot locate the required version of Adobe Flash Player

99封情书 提交于 2019-12-11 10:03:50
问题 Im using flex 4 While running a application i got this error Flash Builder cannot locate the required version of Adobe Flash Player. You might need to install the Flash Player or reinstall Flash Builder. Which version flash player required for flex 4.0? 回答1: Problem solved...I have clicked Link 'flash player downloads' on the error message then downloaded and installed Flash Player 10.3 It works for me. 回答2: Have a look at this thread at Adobe Forums - http://forums.adobe.com/thread/606832

Hiding a tab in a Spark TabBar

筅森魡賤 提交于 2019-12-11 07:36:59
问题 I have a spark TabBar and I want to hide and show some elements of it from an external user input (namely a checkbox check) I am having trouble changing the tabs visibility. They are currently always shown. Does anyone have any idea? I have seen a getTabAt on the mx TabBar but the look of the tab is important and the requirement is for it to look like a tab bar rather than a button bar. My code for the tabs and for hiding and showing is below: <fx:Script> <![CDATA[ import mx.containers.VBox;

How do I show/hide datatips on a chart with a secondary series

牧云@^-^@ 提交于 2019-12-11 07:14:41
问题 I have a line chart with a column chart as a secondary series. When I roll over the line, the datatips appear. However, if I move the mouse to a spot where a column appears while still on the line, the data tip item appears for the line AND the column. How do I get it so that I only show datatips for the line but not the column? <mx:AreaChart id="areachart" dataProvider="{data}" showDataTips="true" > <mx:series> <mx:AreaSeries id="areaSeries" xField="date" yField="volume" > </mx:AreaSeries>

Dispatching custom event from a custom component

会有一股神秘感。 提交于 2019-12-11 07:11:44
问题 I have a custom Flex 4.5 component (to be used in a List) - Game.mxml (represents a clickable playing table in a card game): <?xml version="1.0" encoding="utf-8"?> <s:ItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:comps="*" width="160" height="160" autoDrawBackground="false" creationComplete="init(event)"> <fx:Metadata> [Event(name="pref_event", type="PrefEvent")] </fx:Metadata> <fx:Script> <!

Restrict input to a specified language

不羁岁月 提交于 2019-12-11 07:10:32
问题 I use a TextInput component of Flex 4.5 to enter some text in English. I use the restrict attribute to ... restrict the keyboard input to characters a-zA-Z only. The problem is that if i copy/paste a word in another language, i can then paste it into the TextInput component. Is there a way to avoid that? If no, how can i validate the input against a specified language? I found out that the unicode set of Chinese+ language symbols is \u4E00 to \u9FFF. So i write the following: var chRE:RegExp

In Flex 4, state transition doesn't resize in both directions

孤人 提交于 2019-12-11 07:01:21
问题 I have two states. When I switch from OFF to A, it resizes correctly, but when I switch from A back to OFF it happens without the smooth resize transition. What am I doing wrong? Here's my code: <?xml version="1.0" encoding="utf-8"?> <s:VGroup xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx"> <fx:Script> <![CDATA[ protected function butA_changeHandler(e:Event):void { if ((e.target as ToggleButton).selected) { this

ERROR ITMS-9000: Invalid Code Signing

不想你离开。 提交于 2019-12-11 06:58:40
问题 For an Adobe AIR app (which is published since over a year in Apple App Store) I'm trying to submit an update using Application Loader, but get the following error: ERROR ITMS-9000: "Invalid Code Signing. The executable 'Payload/XXX.app/XXX' must be signed with the certificate that is contained in the provisioning profile." at SoftwareAssets/SoftwareAsset (MZItmspSoftwareAssetPackage) The app has been created with Flash Builder 4.7 and Apache Flex 4.11.0 and AIR 4.0: The app compiles and runs

What are the measurable benefits from migrating from Flex 3 to Flex 4?

风格不统一 提交于 2019-12-11 06:25:16
问题 We have a big Flex 3 project with 30 developers. I need to present benefits/costs of upgrading from Flex 3 to Flex 4 and I can't seem to find existing data on Google. I assume I am not the first to do this. Our application is RIA app so it's not a video/custom component heavy. I have these benefits: 1) Right to left native support 2) Smooth Scrolling 3) Two way binding 4) FXG 5) Better state model I need more data about the following: 1) Spark - What are the actual benefit from Spark

Flex 4: Accessing public method in main application from component

被刻印的时光 ゝ 提交于 2019-12-11 06:23:55
问题 I need to be able to call a method from a component located under the main application in Flex 4. Can anyone tell me please how to do this without using FlexGlobals please? Sample code is attached. Thanks in advance. // TestApp.mxml (application) <?xml version="1.0" encoding="utf-8"?> <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" creationComplete="initApp()"> <fx:Script> <![CDATA[ import