flex

How can I change a package explorer icon in Flash Builder (Eclipse plugin)?

I've located an icon that I would like to replace in Flash Builder (Eclipse plugin version). C:\Program Files\Adobe\Flash Builder Plug-in Beta\ eclipse\plugins\com.adobe.flexbuilder.project.ui_4.0.0.235740\ icons\project\obj\fb_mxml_16x16.png This icon is displayed in the package explorer. However, when I replace the icon in the file...

Spring MVC and Flex integration over BlazeDS???

Hello dear Stackoverflow - community, my quastion is, which is the best way to integrate existent spring-MVC-Project with flex. I'am using Spring-2.5 lib with annotations. e.g my list controller: package xxx.xxx.controller; @Controller public class ListController { @Autowired private ColorHome colorHome; @RequestMapping("/admin/c...

What's a good way to make a Flex component with placeholders in it?

I want to create a component that has a couple of "holes" that are to be filled in differently on each use. Currently, I'm doing it like this (using the Flex 4 framework in this example --- it would look almost the same for Flex 3): public var fooComponent : IVisualElement; public var barComponent : IVisualElement; override protected ...

How can i give setfocus to the alert buttons?

Hi all I am using Flex3.0. in this i am craeting a custom component for an Alert.and for that alert i am applying styles. but when i opening the alert through the application i want to set focus on Alert button.means when i press enter button there are two buttons in alert YES and NO.i need to focus on YES button. any one help me if an...

Flex Datagrid -Extract non formatted value onItemEditBegin

I have an Advanced Data Grid (Flex) and I am showing numeric values. I am formatting each value by using a labelFunction, which returns a currency formatted value (using a currency formatter). Let's say the dataprovider holds the value 1000 for the first element. The first cell of the datagrid will then show $1,000 Now, if I click into...

Programming synchronous web service calls in flex

Web service calls are asynchronous in flex, but I wanted to wrap a web service call in a class to provide synchronous encapsulation. Something like the below - the user could call getMyMethodResult and get the result returned by the web service. I expected the thread that recieved the soap response would populate the variable _result and...

Flex Populating Tree Control From .NET DataSet

Am currently working on a Tree control, and being my first time to delve into this, I need your inputs and advice. My tree control is retrieving data from a .NET web service. My .NET webservice returns a string which is parsed from a dataset via the command DataSet.GetXML method. Function MyFunc() as String 'Populate the dataset her...

How much logic should be included in a Flex MXML attribute?

Should programmatic logic be inserted into an MXML Attribute? I have a few Buttons which may or may not dispatch events based on the state of related components (e.g. DataGrid or List), and I'm trying to figure out if the logic is simple enough to simply embed in one of the Event attributes in the MXML. Here's how I've been doing thing...

How can I skin or change the default cursor in Flex?

How can I skin, or otherwise change, the default cursor (white arrow) displayed in a Flex application? ...

How can I bind to global variables inside my component?

I've developed a component which is a combination of a few items (canvas, labels, etc...) but when I try to bind it to a variable such as : {stationXML.getItemAt(1).AAA.@value}, it doesnt work. Before I combined all the items in a component, they were all in the main MXML file at which time they worked. Not sure if it matters, but the ...

Flex Remoting or Flash Remoting

Hi, Can you suggest which Remoting service is good either flash or flex. Thank you ...

Flex 3 DataGrid Column Width Problem

I'm pulling xml data to determine which columns are visible, and the widths of each column. My datagrid's width can change sinces its on one side of a HDividedBox. The visibility part works, but setting the width is causing headaches. Heres the code: for(loop through column data retrieve from XML) { newData[i] = dg.columns[Number(c...

Which hibernate adapter should I use to handle Lazy Initialization in BlazeDS / Spring integration projects with Flex?

I'm researching ways in which the Spring Framework, Hibernate and BlazeDS can play happily together without throwing lazy initialization exceptions. So far, I ran across Gilead, dpHibernate and an entirely different alternative implementation of this problem via GraniteDS's Tide framework. Aside from GraniteDS, there doesn't seem to ...

Changing ResultHandler of WebService Operation in Flex

How does one change / modify the Result property of a web service operation? For example, I have declared my WebService as follows: <mx:WebService id="ws"> <mx:operation name="Call_One" result="Call_OneRH(event)" fault="Call_OneFH(event)" /> <mx:operation name="Call_Two" result="Call_TwoRH(event)" fault="Call_TwoFH(event)" /> </mx:...

as3 Flex make urls from text clickable

In an AIR app, I am loading a bunch of arbitrary text via JSON, loading it into an object, and displaying it via a custom renderer. I would like to have urls be clickable. So I'm sure that this is possible via some crazy regex thing (as I found for php here), but, Flex being flex, I'm astonished that there isn't some builtin functionali...

Can i test my FLEX2 application with SeleniumFlex-API_0.2.5?

I am in trouble compiling my Flex2 application with the library SeleniumFlexAPI.swc. This is the error: Error: unable to load SWC SeleniumFlexAPI.swc: unknown element script found in keep-as3-metadata section in catalog.xml ...

Adobe Flex - In debug mode, what does the "(@B3FB02)" in the "value" box mean?

When I am debugging my application and I pause the application, looking through the debug window, there is a window which shows the name and value of all my variables. However, for ArrayCollections, it shows something like "(@B3FB02)" instead of the value. I know I can get the values of the various items inside the array by clicking th...

Autoscroll Datagrid in Flex

Is there any way to scroll Datagrid on timer basis. Let say there are plenty of records which can not be shown in one screen. And the screen is showing the first 10 records. An auto scroll should start after 5 seconds and bring up the next 10 records. Then again after 5 seconds the other 10 records and so on. A kind slide show effect. ...

Strange behavior from getDefinitionByName

I've created a class that loads it's subclasses based on a name passed to it. The function uses getDefinitionByName, gets the class type, and instantiates it, and returns it if the class is a subtype of the class that owns this method. The subtypes are all mxml files that extend the base class, in order to simplify instantiating controls...

Flex 3: How can I change a PopupButton into a regular Button when there's only one menu item available?

Hi there. I have a PopUpButton that only contains 2 actions. Both actions are complete opposites of each other and switches a boolean property on an object from true to false or false to true. To avoid redundancy, I've only displaying one action at a time. So, if the property is true, the action to change it to true is not shown. ...