flex

Can maven projects have multiple parents?

Hi, we have java and flex projects at work. We currently have 1 base pom that contains the configurations we want to use for both projects. Problem with this is: flex projects inherit configuration for javadoc and pmd for example, which they do not want. I want to do this a bit more clean and have a real base-pom and then a java-base-p...

Flex / Air sqlite async issue

Hi, I am writing an app that parses a csv file to an array and then insert the array into a sqlite database. I am having issues with Async connection to the sqlite database, I get a 3106 error...... I think the problem is that it executes the next statement before the previous is finished but I can't find a way to deal with this. Any he...

Axis labels are all dropped in the chart at times

Hi, I am setting 'dropLabels' property to true for the charts. When there are many data points on x axis (which is date time in my case) no label is displayed.This is probably because it needs a lot of space tp display all the labels which chart don't have. Is there some way where intermediate labels can be displayed if not all. If any b...

Is this the correct way to call a component method inside mxml

Hi, I'm hacking my way through learning Flex and have found some strange behaviour. When I try to compile my code, I'm thrown this error - Error: Call to a possibly undefined method updateStory. I've used method calls in this way before, and can't spot what's going wrong in this case. Here's the code for the component: <?xml version="1...

Is there a Flex IDE/development env that works on Ubuntu 64bit?

Is there a good Flex IDE/development env that works on Ubuntu? Where can this be found? ...

ValidationSummary component in Flex Framework

Is there any component that does handle validation errors similarly to ASP.NET's ValidationSummary control in flex? (See screenshot) Component should really only display all the errors for the validator it watches. I'm convinced I already used it but I was unable to find it anywhere in the doc. ...

Plugin to add pagination in a Flex Datagrid?

Is there a library or plugin that could be added to a Flex project to add pagination to a Flex Datagrid? ...

Flex / AIR - Can it receive SYSLOG notices?

Is there a way for Flex / AIR to receive syslog notices from devices such as cisco switches etc? Does anyone know of any information I can read or sites to look at? ...

Displaying rows, extracted from a database, one by one in a DataGrid

I have a table (session) in a database which has almost 72,000 rows. I extract those rows with the help php+mysql but when the result is returned to the HTTPService, i need to wait for some 32 seconds before the all the rows start appearing in the DataGrid at once. Question Is there any way by which DataGrid may start displaying data on...

Flex and CGI Newbie: How do I get them to talk

Hey guys, I am a Flex developer and never used CGI before. I wanted to create a solution whereby A flex would call a CGI script to read a database. Ive been trying to look for examples on how such a solution would work. I was hoping someone on here might be able to shed some light as to how this would work, and what are the various comp...

what you mean by Unable to resolve resource bundle "datamanagement" error occured in flex?

when will i add Advanced data grid in my project then it shows eror like everity and Description Path Resource Location Creation Time Id Unable to resolve resource bundle "datamanagement". but separte mxml file then add it not show any errors .my project i used locale binding for multi language so i add in complier -locale=English,Ja...

Flex: showing output of a C file in a text Area

I managed to show the output of a shell command in TextArea of flex by calling following php file via HTTPService and then using the dataprovider attribute of TextArea to show the returned output. <?php $output = shell_exec('ls -l'); return $output ?> Now i have a C file which prints some lines (by using printf command of C) when i ru...

Validator Components in Flex3 Air.

How to use validator controls like Required validator, integer validator etc in Air application? I tried to use them but I got this error: Component declarations are not allowed here. (Note: visual children must implement mx.core.IUIComponent) i have imported the validator like this... import mx.validators.Validator; and used li...

Flex 3 simple chat: code review request; is it good for a real life application ?

i managed to put together a simple chat using flex 3 / AS3, and i want to know if it is good for a real life application? here is the mxml <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="init();"> <mx:Script source="code.as" /> <mx:TitleWindow title=...

Is String.replace any faster than String.split ... String.join in ActionScript 3?

Is it any faster to use myString.replace(/foo/g,"bar") rather than myString.split("foo").join("bar") for long strings in ActionScript 3? Or are they just two comparable methods of achieving the same result? ...

Flex: Timer + HTTPService

I have an application in which when i click on a particular tab an HTTPService having id="service" is sent. This service calls a php file which in turn extracts data from a table and return as xml string to Flex. Flex then use DataGrid's dataprovider attribute to show the data in the dataGrid. Can i have a functionality of a timer which...

Add .properties file to output folder of Flex project

In our current project we use .properties files as external files. When building our project the properties files are not added to the bin debug (output folder). Xml files are added without any problem. Does anybody know how I can add the .properties extension to a kind of exclusion filter list or something, so flash builder will add th...

Flex 3: Embedding MovieClip Symbol to Image Control programmatically

I've reviewed all the documentation and Google results surrounding this and I think I have everything setup correctly. My problem is that the symbol is not appearing in my app. I have a MovieClip symbol that I've embedded to my Flex Component. I need to create a new Image control for each item from my dataProvider and assign this embedd...

Flex 3 Constraint-based Layout problem

I am attempting to reproduce a foreign language quiz in Flex. Since I'm new I can't post an image yet, but picture a box on a page with a paragraph of text inside of it. At parts within the paragraph there are drop-down boxes for users to select a particular word or phrase from a few different options. There's a "Check Answers" button at...

Are Flex / AS3 metadata tags handled differently at interface definitions than at class definitions?

If I use metadata tags in front of an interface, is that the same as in front of a class? I. e., can I do [Event(name="fooUpdate", type="com.acme.events.FooEvent") public interface IFoozer extends IEventDispatcher { } // ... now omit that metadata in the implementations ... public class Foozer extends EventDispatcher implements IFooze...