flex

Flex 4 How do I access a specific cell by index?

I would like to edit a cell by the row and column indexes so essentially do the following: advDataGrid[2][3] = "Dogs" so that I am setting the data grid row 2 and column 3 to Dogs. I cannot for the life of me figure out how to do this! Side note: I need this because I am trying to allow the user to copy a section of an excel file to ...

Spring security with Flex using Container Preauth

I've got the Spring Security preauthentication sample configured and working with JBoss. The next step is to somehow get the user information into a flex client GUI. What are some methods that will let me get the Authentication or UserDetails object that's created by spring-security on http access into the flex client? Since I'm loggi...

Flex: Is it possible to hide some tabs in tab navigator and show them only when certain event occurs

I am using tab navigator. And it has thee tabs "Search", "Show as text", "Show on map" I have a address search box in Search tab. I would like to hide other two tabs if search has not happened yet. So if user hasn't searched any thing other two tabs shouldn't be visible. Can you please tell me how can I achieve this? Hiding tabs is a ...

Performance problem in Flex using a heatMap

I am using a heatMap in Flex 3.5 but I have a huge performance problem because I'm trying to set between 3.000 and 10.000 markers in the map. At the moment that the map begins the render process the Browser collpase. The implementation that I'm using is a GoogleMpas one, created by "flex epiphanies" I used http://sunild.com/proto/Earthq...

How to send URLs from flex application to mobile device

How do I send a URL from a flex application to my Android, iPhone, iPad or any mobile device for that matter? ...

Flex Multipart Upload Progress

I am uploading a file to a server using a multipart URLLoader. I am able to upload the file fine. I have tried to listen to the progress event on the URLLoader but it only fires at the very end of the upload. How do I get the progress event more consistently through the upload? ...

How to decrease the width of HDividedBox divider bar length in Flex?

how we can lessen the length of Dividing bar between two components. like in this example i want the length only of two pixel. ...

show sorting arrow on flex datagrid other then sorting column

Hi , I am stuck with a requirement,I have a datagrid with following field Name, Age,Salary,code And my Array collection is as follow name, name_index, age, salary, salary_index, code, code_index. I am sorting array collection on datagrid headerelease event with column index. name column sort depend on name_index, age column sort o...

Populating tree in flex using array

Hi my required tree structure is as follows a -- b -- d | | | | | -- e -- c I have my string array as follows a/b,c b/d,e d/ e where the component before / represents parent and the children of the corresponding parent are separated by , Can anyone provide me the logic to create a array collection for this hierarch...

Return value instead of null

Hi, I'm trying to call a function and pass a couple of properties to it however it's complain the object i'm attempting to target is null. Can anyone see where I am going wrong? <mx:ViewStack id="vs" width="100%" height="100%" y="53"> <mx:Canvas id="view1" label="Community" width="100%" height="100%" backgroundColor="#ff9900" showE...

Flex 3 - import skin from Illustrator : default position problem

Hi all, I export a .swf skin file from Illustrator. (For my test i create the default Flex Skin Palette from Illustrator and I export it to .swf file.) Flex Builder side, the import is successfull (create automaticaly a CSS file). But, all my components are a default position problem, that is to say, for example i have a button in my ...

Invalid XML generated from Flex WebService

I am trying to get Flex to communication with a Spring-WS webservice. But Flex generates a SOAP request that is not validated either by a PayloadValidatingInterceptor nor by soapUI. The problem seems to be related to the use of XML namespaces. The not validated message looks like : <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoa...

Most efficient way to concat Vectors

What is the most efficient way to insert one Vector into another at specific position? For example: var aa:Vector.<int> = Vector.<int>([1, 2, 3]); var bb:Vector.<int> = Vector.<int>([9, 8, 7]); This doesn't seems to work: bb.splice(1, 0, aa); The result is [9, 0, 8, 7]. ...

Can I get access to htmlText setter code in textArea in Flex?

Greetings, I can see that when I set htmlText in a textarea control, the text property contains the html free version of the text. So there is a parser somewhere that is ripping of html from the content, which would be very usefull for my purposes. However, based on the flex source code, the setting of html is done in UITextField.as, w...

utility to indicate why an object can't be deleted

Is there any utility that indicates in a comprehensible way what is referencing and object and why it can't be garbage collected. ...

Spark: automatically set scroller to the end of a list not working properly

I'm using the following mxml code for displaying a list of some data. I built a custom renderer which can have variable height. Each time a new data arrives, the scroller should go to the end of the list. I registered to the events which triggers an array change. It's working fine if the height of items is the same. But if this is not h...

How can I get the actual service output from an HTTPService fault?

Flex HTTPService faults end up wrapped in a fault object that seems to obscure the actual returned text. Right now, I return a custom 400/409 error response to service clients that contains useful information about the cause of the error, which I'd like to have displayed to that client. How can I, given a fault event, get the actual tex...

Learning Flex 4: Advice

So, the company I'm working at uses Flex and Java for their product. Currently, I'm just an XML editor, but I would like to get my hands dirty with some of the technology they use as soon as possible. I was wondering if anyone who has learned Flex could possibly give me some advice on the best way to learn Flex as quickly as possible w...

How to include resource bundles in ActionScript Modules using Flex 4.1?

In the simplest of Flex Projects, create an MXML Flex Module and then load it using the ModuleManager. No problem. Create an ActionScript class that extends Module and then configure your project to compile that into a Module. Load this new module instead. The project compiles, but crashes when running with the following error: "Err...

Question regarding Form layout in Flex

Hi guyz. Today had a look at form layout <mx:Form id="form"> <mx:FormItem label="horizontal:"> <mx:Text text="test"/> </mx:FormItem> </mx:Form> gives the output in the format 'label' - 'textbox'. But i want to change the orientation without changing the code. Like label checkbox How can i do that. Please...