flex

Best way to handle nullable numbers from SOAP proxy objects in Flex/ActionScript

I'm consuming SOAP services in Flex 3 using the WSDL-generated proxy classes created by the tools in Flex Builder. Several of the SOAP objects have nullable integer properties, which get converted to zero during the SOAP-to-local-object conversion process. We are considering a "magic number" approach, where if the service returns -1, we ...

Get XML by Post method from Webservice in Flex

Hello there, I created a servlet in java that will give me a xml response when called protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.setContentType("text/xml; charset=utf-8"); // Set the servlet's ...

Flex: Display Validator Error Mesage

In flex, when I put the mouse over a field that is not valid, a red popup appears which indicate the error message. By default, it's rounded by red. Is it possible to display the red popup by default without mouse over it? Because sometimes the red box is not clear enough and we have impression that the program is stuck Thanks ...

Flex design view not working for components with custom base class

I have a Flex component that, instead of inheriting directly from Canvas, inherits from a custom class (MyBaseComponent ) that I wrote which in turn inherits from Canvas: Canvas > MyBaseComponent > MyComponent (mxml) Design view does not work for this control. I just get a blank gray screen. (It works if I use Canvas instead of my cu...

Dealing with asynchronous control structures (Fluent Interface?)

The initialization code of our Flex application is doing a series of asynchronous calls to check user credentials, load external data, connecting to a JMS topic, etc. Depending on the context the application runs in, some of these calls are not executed or executed with different parameters. Since all of these calls happen asynchronousl...

Flex layout problem

<mx:TextInput x="917" y="10" width="111"/> I have many declarations like the abovein my flex code : I wrote the following code, without thinking about how would it look like on a resolution like 800x600 or even 1024x768. So, now some portion of my UI is not displayed on machines with above mentioned resolutions. How do I solve this...

Flex DataGrid with row number column

I want to extend the DataGrid component so that there is a (read-only) column for the row number like you see in spreadsheets. I came across this article http://www.cflex.net/showFileDetails.cfm?ObjectID=735 but it depends on the data being unique for each row so that it can index into the array. If the data is not unique (like for an ...

How to split text by lines

Flex 3. I created a TextArea object. Then I typed some text in it. Then i got this text useing TextArea.text property. How can I split text I got by lines and convert it to the array of strings? ...

Flex debug mode disparities, Why ?

Hi, I have this very strange problem on a big flex app where it would run fine with the debug swf if the user has debug flash installed but will have some disparities for people with standard version of flash. These disparities include: No pop ups loose all event catching Weird positioning of a button I read somewhere that update...

Flex Project Structure

I am trying to create a large flex project. This Project consists of a CORE application, and other sub-applications. The CORE application should contain information that will be shared by all other projects (e.g., link to database, data manager which loads data from the database, application information like height width colors fonts......

I am new to Adobe Livecycle data services. I want to know more about it.

Hi, I am a new flex developer.I would like to know about the LCDS. What it does?How to configure it?Do I need to know Java? Can I get some sort of tutorial pdf for it? I have it on my system. I need to know about it. Thanks in advance. ...

Null in Flex ComboBox

How can you make a ComboBox where the user can select null? If you simply create a combobox with null in the dataprovider, the value appears but the user cannot select it: <mx:ComboBox id="cb" dataProvider="{[null, 'foo', 'bar']}" /> Is there a way to make that null selectable? A workaround is to add an item into the dataProvider th...

file type was not found when using LineChart in Flex

Hello, I am using FlashDevelop to develop flex applications and wanted to paint a LineChart in a panel. I used an example of Adobe itself to be found here. When I compiled it FlashDevelop showed the following output file type was not found or was not a compile-time constant For Both LineChart and AreaChart. Can someone tell me wh...

Splines in Flex

Hi community, is there a class for connecting points by a spline in flex resp. actionscript? With kind regards Sebastian ...

How can i set window application as light weight in flex ? - still not get answer help me

is it possible can set lightweight type for window application . because i don't want window application icon shows on taskbar . so if it is not possiable ? How can i do ? anybody help me for that ...

Code completion for non .as documents in Flex Builder

Is there any way to get ActionScript code completion to work fpr files that don't have the .as filetype? We're using .es for server-side ActionScript and would want Flex to treat them like regular AS-documents. File types can be bound to editors, which brings code highlighting to our .es docs, but code completion still does not work. ...

Flex(DataGrid), How to change the visible state of certain cell while mouse over the row

I have three columns and the default visible state of last column is false.My problem is how can I change the visible state of the certain cell while the mouse over any part of the row. English is not my native language,so if I didn't make my question clearly enough ,Please keep read. ------------------------------------------------ |...

Flex project eat 30% CPU

Hello I create complex flex froject. And now it eat about 30% CPU then I cut down the browser? What it can be ...

Trouble with Flex scrolling

Hello I have following code in my flex project. <mx:Canvas id="scroller" styleName="myCanvas" width="635" horizontalScrollPolicy="off" y="60" height="370" > <mx:Canvas id="thumbContent" width="635" verticalScrollPolicy="off" horizontalScrollPolicy="off" y="0" backgroundColor="#00ff00" backgroundAlpha="...

Which components should I use to achieve such a visual effect?

Hi, I found a nice looking app made by Kap Lab. I like the components on the left, especially the grey background with rounded corners. It feels like one solid piece of GUI, despite it's made of four different components. I tried to put VBox, make its background grey, round corners and put other components with sligtly less width on the...