flex4

Changes to skin in SDK path not taking effect?

大城市里の小女人 提交于 2019-12-13 09:47:08
问题 I'm using the SparkChromeWindowedApplicationSkin in my Window Application and I'm making changes to the skin in the SDK directory but none of my changes are taking effect. I set the skin in my CSS like this: s|WindowedApplication { backgroundAlpha: 1; backgroundColor: #FFFFFF; resizeAffordanceWidth: 6; skinClass: ClassReference("spark.skins.spark.SparkChromeWindowedApplicationSkin"); } Then I control + click on the skin name and it opens the file. I then change some of the styles and

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

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 deserialization issue with List of Maps

廉价感情. 提交于 2019-12-13 07:26:14
问题 I have a problem with BlazeDS to Flex mobile deserialization, so that I try to send back list of maps List<Map<String, Object>> with different Objects in every Map, but when I receive this list in flex code: hastalarim = event.result as ArrayCollection; But when I debug this in flex code I see that there're 7 instances of the same Object (the first object that was inserted on server-side) in that list. Here's my method on server-side: public List<Map<String, Object>> getHastalarim(String

Trying to add a skinClass to <mx:Form>

不羁的心 提交于 2019-12-13 06:47:26
问题 I'm working with Flex4 and I'm trying to skin a form (add a background and a border to it, etc.) I'm trying to do it the Flex 4 way with skinClass="" <mx:Form skinClass="skins.MyFormSkin" /> but it's not accepting skinClass as a property. How should I do it such that I'm still adhering to the best practices in Flex 4 (decoupling visuals from logic)? 回答1: skinClass only works on spark components, which have tags starting with <s: 回答2: To elaborate on Qz's response: mx:Form is not a Flex 4

URL Loader class in Air application not returning results

假装没事ソ 提交于 2019-12-13 06:31:18
问题 I am using the class URLLoader in my air application and if i used parameters in url , flex showing an error #2032. if the same code used in web application, that is running in web browser, returning proper results. I didn't get a proper solution yet. Is there any way to return results in my air application? I used a web debugger fiddler, to check whether data is returning from server or not. Data is returning properly from the server, but it is not showing in air application. here is the way

Flex: application is confused when passing variables to custom component

£可爱£侵袭症+ 提交于 2019-12-13 05:01:29
问题 I'm new to Flex and I'm missing something very basic about architecting a Flex application -- I've implemented a custom component MyReportGrid and extended GridColumn with MyColumn . I've tried to outline the application code below. The interesting thing to notice is that class OfficeItems is used by class MyItems , and the MyColumn (which extends GridColumn ) includes a customPath variable that is used to access variables pen , pencil , and stapler inside class OfficeItems . I believe that

Change dataprovider data for spark data grid?

感情迁移 提交于 2019-12-13 04:35:29
问题 I have a data grid with editable property set to true. When I make changes to the data the data is not modified in the data provider. How can I apply the changes to the data provider? I am new to Flex, can anyone make suggestions on this? 回答1: Hero is an example and I have tested it. and you can see this doc http://livedocs.adobe.com/flex/3/html/help.html?content=celleditor_8.html <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute