flex

Populating an array collection by parsing a string

In ActionScript I have string as str="subject,r1,r2:a,b:1,2:3,4"; dynamically i have split this string and build array collection as given below arraycoll.addItem({subject:a ,r1:1,r2:3}); this example of one set the arraycollection should be built dynamic i have tried but not successful ...

How can i record live audio using Flex??

I have very simple question that is how can i live Audio using flex and save the recorded audio to the client system?? is there any way, we can do without any media server or red5?? as i have to learn server api also.. Any good links will be helpful.. Please guide me.. i need little guidance.. please help me out?? ...

Add '+' sign using Flex NumberFormatter

I want to format a number with the '+' or '-' sign attached to it. When i tried with the useNegativeSign=true, it gave only '-' sign. I want like this : +13%, -12%, ... Thanks in Advance, Cheers,PK ...

Problem using itemRenderer method of AdvanceDataGrid

Using following code, I', trying to render item in advance data grid but it's not working. What's wrong with the code ? if(col.headerText=="Status") { statusItemRendererFactory = new ClassFactory(Renderstatus); col.itemRenderer = statusItemRendererFactory; ...

Capturing System-level Keystrokes with Adobe AIR

Hi As the title suggests, is it possible to capture system-level keystrokes? Any help or pointers will be appreciated!! ...

How to get the number of items in Datagrid

I am using Datagrid control in flex. I need to get the count of number of items in that Datagrid. What is the method to get that? ...

About Flex with PHP kick start

Hi php flex devs, im a php developer and i wish to start application with php flex combination any one drive me a gud tutorial/samples other than zend tutors. since im working with drupal i have no idea about zend concept is that i need to know sactionscript to start flex? Thanxs in adv, Gobi :) ...

How can I unit test Flex applications?

Flex is a client-side language and based on events. How can such events be mocked to allow unit testing? ...

Set flex application size

Hi, I have set the size of the application container width="1040" height="716" When I run the application, I get a clipped version of the application. I am using a 1024 X 768 monitor. I understand that the size of the application is greater than than of the available browser space, so where do I set the application to have scroll to s...

In flex, how to send Id of the component on mouse click

In felx, how to send the id of the component ( on which the mouse pointer is clicked ) to a function with the mouse click? ...

Random box of images gallery

Is there any ready built images gallery as shown in this link? https://www257.americanexpress.com/openhome/booming.do?extlink=db-gabmd-2010booming_Digg If I were to build it by retrieve from database contains links to images and display on each containers, would TileList be useful or any idea is appreciate as I'm will be using it for di...

Handling JavaScript calls to window.open()- not using Native Windows - Adobe AIR

I am developing an Adobe AIR application which uses both native windows and floating panels. Is is possible to enable the creation of a floating window instead of a native window when a JavaScript window.open() function is called? It is required that all of the floating windows are contained within one native window, therefore the creat...

Flex: How do you apply a style (from an external CSS) within the init/constructor of a custom as3 component?

Hi I had a custom MXML component, that I have converted to a pure AS3 component that extends Canvas. I took the stylings i.e. alpha, color etc. from the MXML and added them to a .css file under /src/assets/. My question is, how do I apply these styles within the custom AS3 component i.e. constructor or init()? I read that you declar...

Making DateTimeAxis with weekly labels set ticks on an arbitrary day of the week

I'm using a CartesianChart with a DateTimeAxis to display weekly data in a Flex application. When I set dataUnits="weeks" and labelUnits="weeks" on the DateTimeAxis, it automatically places each major tick on a Sunday. However, I would like to provide users with the option of beginning the week on a Sunday or a Monday. How can I ask the ...

Run BAT file from Adobe AIR?

To package an .air file into a native installer you have to use a batch program called adt. The command on Windows will look something like this: C:\Users\jisaacks>"C:\Program Files (x86)\Adobe\Adobe Flash Builder 4\sdks\4.1.0\bin\adt" -package -target native "D:\DEV\Flex4\Workspaces\AIR Native Packager\AIRNIP\AIRNIP.exe" ...

a simple programming question about Flex

Hello everyone, Please take a look at a segment of my Flex code: <mx:Accordion id="accordian" width="100%" height="326" selectedIndex="0"> <journal:ResearchJournalSection id="researchSection" width="100%"/> <journal:QuestionJournalSection id="questionSection" width="100%"/> <journal:DesignJournalSection id="designSection" width="...

Flash - Flash Media Server Alternative

I am not advanced yet, but i know what exactly i am looking for and want to do. After doing Air/Flex i came to a stage i need "Flash Media Server Xversion" Question: Is there any Open/Free Linux based alternative for this "Flash Media Server"? By google i came to this, is it also possible to use as alternative 1. http://osflash.org/re...

In flex, giving border to Canvas

In flex, I am using canvasEdit.setStyle("borderColor", 0x0134FF); canvasEdit.setStyle("borderThickness", 3); note: canvasEdit is of type Canvas. But I am not able to put border on the sides of canvas. ...

In flex, mouseOver in TextInput Programatically using AS3?

In flex, I am able to add mouseOver ( in mx:TextInput ) event as follow: mouseOver="canvas1_mouseDownHandler(event)" It is not the property of TextInput so how can I do it programatically in ActionScript? ...

most rational way to drag popup menu in flex

In my app I currently have a popup menu implemented as a BorderContainer with a lot of buttons, textfields, date pickers, etc. PopUpManager handles its appearing and disappearing based on some UI events. I'd like to be able to drag the container by clicking on any part of it minus all the components on it. In other words, when I click o...