flex

Is it possible to call the function by using the datagrid column?

Hi, Is it possible to call the function by using the datagrid column item? I want to call the function while the user click the particular column item in the datagrid? Thank's in advance... ...

how can i download a set of variable images in flex/as3 and display them?

hi guys.... suppose i have 10 image variables like this var image1:String = http://somewhere.com/image1.jpg var image2:string = .....image2.jpg var image3:string = .....image3.jpg and so forth......... i have a timer that displays each variable as an image one a time .... how do i "buffer" the image and display them instead of goin...

Can't find my bug: Group flat data in Advanced Datagrid w'ont work

Hi, i've got an ArrayCollection which is properly displayed in this Advanced Datagrid: <mx:AdvancedDataGrid id="drawingDataDG" editable="true" sortableColumns="true" headerWordWrap="true" sortExpertMode="true" rowCount="8" y="10" right="10" left="10" dataProvider="{model.drawingsData}"> <mx:columns> <mx:Advanced...

Binary socket and policy file in Flex

Hi, I'm trying to evaluate whether Flex can access binary sockets. Seems that there's a class calles Socket (flex.net package). The requirement is that Flex will connect to a server serving binary data. It will then subscribe to data and receive the feed which it will interpret and display as a chart. I've never worked with Flex, my expe...

SOAP Header: Communication secured between Flex and C#

Hello, I am working with Flex, Webservices and C# and I would like to secure the access on my web services through SOAP. I spent 2 days on this problem: My asmx file where i describe my webmethod: public ServiceAuthHeader CustomSoapHeader = new ServiceAuthHeader(); [SoapHeader("CustomSoapHeader")] [WebMethod(Descriptio...

Flex: convert VideoPlayer.currentTime to string "00:00:00:000"

Hi there! what about this one: I want to format the currentTime displayed by a videoPlayer component inside flex, something like : 8230.999 to something like 01:59:59:999 which is "hours:minutes:seconds:milliseconds" I trie different sets of codes but they can't get it to work because currentTime is nor a correct miliseconds time as it...

How can I call a Perl subroutine from Flex?

I'm new to Perl as well as Flex. I've just gone through the basic (and exciting) stuff in both of them. I just want to call a Perl subroutine from Flex. Is it possible? If so how? ...

How do I resize the dropdown of a combobox along with the combo box?

Background:     I am doing some UI work where I allow the user to programatically add and resize controls on a canvas. Problem:     When resizing a combo box through AS the dropdown stays at the same width as the first time it drops down. So user places combo box on the page, clicks the down arrow, sees the options, selects an option o...

what dataprovider in flex (aside from ArrayCollection) will work for single, non-repeating XML nodes?

hello, i asked this question before but haven't been able to get an answer.. i get the following error when i retrieve an XML that only has 1 node (no repeating nodes) from a PHP page and i try to store in an ArrayCollection. -When I have MORE than 1 "name" nodes...i do NOT get an error. TypeError: Error #1034: Type Coercion failed: can...

Need direction in creating a voice chat application

I want to create a voice chat application as a part of a project. However, i am totally lacking direction regarding the programming language to use, the technologies involved. Can somebody please guide me as to how i should proceed ? Here are the features that i require : user to user voice chat ability to chat in conference (more th...

Flex Tree with infinite parents and children

I am working on a tree component and I am having a bit of the issue with populating the data-provider for this tree. The data that I get back from my database is a simple array of value objects. Each value object has 2 properties. ObjectID and ParentID. For parents the ParentID is null and for children the ParentID is the ObjectID of th...

Populating a Datagrid with variable number of columns and rows in Flex

I am trying to figure out how to manage a Datagrid based on an XML object like this: <matrix rows="5" columns="5"> <column> <row>0.5</row> <row>0.21</row> </column> <column> <row>0.6</row> <row>0.9</row> </column> <column> <row>0.5</row> <row>0.5</row> </column> <column> <row>0.8</row> <row>0.4</row> </c...

How to export image from Air app directly into a powerpoint slide programmatically

Apologies if this has been answered before or if it's too obvious - pointers are greatly appreciated if this is the case. What I'm trying to do: 1) have a way to save / copy screenshot from an Air app 2) automatically paste such screenshot into a new powerpoint slide in the current presentation I have part 1 down but have no idea on ho...

flex/actionscript client entity state refresh on JPA update using Pimento EntityManager

My Flex application uses a client-side pimento EntityManager which fetches quite a few objects and associations. It does this by forcing eager fetching of particular association ends in the form of fetch plans. I would like to update the client whenever a change has been made to an entity existing in the EntityManager's cache. Is it poss...

How can I retrieve CSV data from a web server using Flex?

I am trying to retrieve a stock quote from Yahoo! finance using Flex. I currently have it set so that it will pull the quote like I want, but it opens it in a new file. However, I want to store the CSV data in a variable so that I can use it in my program. How do I do this? Here is the code that I am using right now: navigateToURL(new...

How do I create multiple file downloader without ActiveX?

I want to create multiple file downloader without Activex on web page. please answer me how to do. ...

Problem with socket communication between C# and Flex

Hi all, I am implementing a simulated b/s stock data system. I am using flex and c# for client and server sides. I found flash has a security policy and I handled the policy-file-request in my server code. But seems it doesn't work, because the code jumped out at "socket.Receive(b)" after connection. I've tried sending message on client ...

Browser popup blocker blocking jasper reports generated from flex

Hi all, I have a flex application that uses navigateToURL() to call a servlet. The servlet in turn generates a JasperReport and then uses exportReport() to show the report in a new browser tab. Now, my problem is this. I want to generate multiple reports at once, each opening in its own tab. It all works fine except that in Firefox the...

bubble click event on Flex Bubble Chart

How do i write a event listener for a Flex chart (Bubble-Series), tried itemClick on Chart and click on BubbleSeries. I can see the events. but how do i get the series item which is under the mouse click. ...

Flex/Flash 4 ExternalInterface.call - trying to get a string from HTML to Actionscript.

Dear all, I need to obtain a string from HTML and put it into Actionscript. the actionscript: import flash.external.ExternalInterface; protected function getUserName():void{ var isAvailable:Boolean = ExternalInterface.available; var findUserName:String = "findUserName"; if(isAvailable){ ...