flex

Flex:Problems in DataGrid default sorting

Hey guys, I have a datagrid with data like this: Column1     Column2     1                 10     2                 11     3                 10     4                 10 When clicking Column2 and using Default Sort,the datagrid turns into this: Column1     Column2     3                 10     1    ...

How does Flex 3 datagrid paging work?

How does paging work, must Flex load in all the database records to determine how many pages to generate? Let's say I have a table with 10,000+ records and want to split it into pages of 10 records per page into a datagrid component. Does Flex load in the complete 10,000+ records, or just some of them? I would like to use PHP and AMF ...

Text to speech in as3

Hi , I am looking for a text to speech component that i can use with as3/flex . Thanks ...

Flex component to select month and year only

is there a custom component that extends DateChooser that only has the month and year but not the date grid to select a specific day. All i need is the month and year not any specific day. if the month is changed i could use the change event to select the 1st day of that month ...

Workarounds for Flash bug when drawing large shapes?

When you use Graphics object to draw very large shape(that does not fit in 10000x10000 pixels) stroke width may become much wider than value specified in lineStyle function. What are the workarounds to overcome this? For now I have only two options: 1. When drawing line you can split it into several lines. However this trick does work ...

flex4 sdk in flexbuilder3, debugger partially works

If I changed used in one of my project sdk to current sdk4 beta, set breakpoint and stop on them every occurrences of mx.* packages are labeled "[no source]". Is known any trick to fix this issue? ...

How to Upload CSV file in flex ?

i want to uplod csv file in to java from flex screen ? How can i do that ? is it possible,if it is please tell me any one ? ...

How to execute adobe air app from Flex ?

Helo everyone, May i ask a question, How to execute adobe air app & pass argument from Flex ? Thanks in advanced. Jacky Ho. ...

unable to get focus on canvas

Hello I am creating a canvas in actionscript like : private var cvs_preview:Canvas = null; private function show_preview():void { this.cvs_preview = new Canvas(); this.cvs_preview.id = "cvs_preview_1"; this.cvs_preview.setStyle('backgroundColor', 0x000000); this.cvs_preview.setStyle(...

Querying the state of a class's listener

Hi there, I have instantiated a class (class1) that loads some data via PHP in an AS3 Flex project. I instantiate class1, which is asynchronous and utilizes a URLLoader() to obtain its data. Then I would like to instantiate class2, which needs to USE the data from class1, but when I simply instantiate it I find that class1's instance va...

flex: manipulating flex elements from external action script class

Hi. I have a flex project with a mx:Text. i have a class that is loaded at the beginning of my project and i want this class to enter text in that text element. the id of the text element is "messagePanel" but when i try to type messagePanel.text i get 'Access of undefined property'. how do i resolve the issue? example general.FMS3Conn...

Flex binding not working

I'am having problems with, binding variables being updated. I've made custom TitleWindow component which have text-input and check-box control. When the check-box changes its value, the XML in parent application should also, but it doesn't nor does the warning: unable to bind to property Here is the code: <fx:Declarations>...

Flex-Ant: mxmlc doesn't support the "file" attribute

Hey guys, Just moved my Flex app onto Ant with a basic ant script and I am getting this stupid error: mxmlc doesn't support the "file" attribute. I looked through docos and it seems that my code is right, so hows it going. <!-- load previously defined configuration properties file --> <property file="build.properties" /> <!-- point...

How to define content type when an loading image in as3 flex project?

in flashCS3.app i think all you have to do is: var thumb_url = my_images[i].@URL; var thumb_loader = new Loader(); thumb_loader.load(new URLRequest(thumb_url)); but i am using flex + as3project. how can i translate? do i need some sort of bitmapdata class or is there a more transparent translation? the error i get is something along ...

Add crossdomain.xml to Hudson

How can I add a crossdomain.xml to the root of my Hudson server? I'm working on a Flex->Hudson bridge and I'd like to access it directly, instead of relying on a proxy to do it for me. Thanks; EDIT: This is standalone Hudson, not running on any application server. ...

Is there a really good open source video player in Flex?

That has all the basic functionality like play, pause, stop, forward, rewind, and volume controls? ...

Dynamic OLAPCube Flex

I'm trying to push data into an OLAPCube in flex. The data coming in is flat and nothing else is known before hand. How do I have flex automatically create dimensions and such so that I can bind something to the cube? Using a flex chart, it's as simple as setting the data provider to an array collection and it works. The ONLY exampl...

FLEX: Initializing a Windowed Application vía Action Script

Hi everybody :) I have a Main Application ("MainFile") and I want to start another Application (WindowedApplication) when the user clicks on a button. I want to do this via Action Script; Anyone knows how to do it? I have tried NativeApplication.nativeApplication.initialize() function, but it returns me "Error #1009: Cannot access a pr...

Flex Application Interaction with Loaded Flash SWFs

Hi all, First, the background: I am creating a Flex application with a component that displays various dynamically loaded SWFs, one at a time (kind of like a kiosk). These loaded SWFs are created in Flash IDE, not Flex. They will not be created by us (we will provide a .fla template but that's it), so I am loading them into a separat...

flex3 Format date without timezone

I'm receiving a date from a server in milliseconds since 1-1-1970. I then use the DateFormatter to print the date to the screen. However, Flex adds timedifference and thus it displays a different time than what I got from the server. I've fixed this by changing the date before printing to screen. But I think that's a bad solution because...