flex3

AdvancedDataGrid - disable the header rollover and selection color

Hi, i used before a datagrid and fixed that issue by overriding the methods but now i have to move to advanced data grid and didn't find the answer yet, could any one help, thanks ...

How can I convert a PDF file to an image?

I'm giving users the ability to upload an image to my Air app, then displaying this image in an image control. But I need to allow for PDF uploading in the same manner, so I need to convert the PDF to an image. I only care about the first page of the PDF they upload for now. What I'm doing is: 1) User browses for a file with the file r...

Sorting problem after grouping

Here is my advance data grid without grouping , Once I apply grouping, sorting is getting lost, see below , Here is piece of code which is applied after grouping is done and the GroupingCollection is assigned to the grid. //Sorting grid once grouping done dataGrid.validateNow(); var s:Sort = new Sort(...

SampleDataEvent.SAMPLE_DATA never fires in Flex??

microphone.addEventListener(SampleDataEvent.SAMPLE_DATA, gotMicData); the event gotMicData is never fired.. however i tried using dispatchEvent but that will return null byteArray.. However similar code works fine in Flashcs5... import flash.events.SampleDataEvent; import flash.media.Microphone; import...

Loading external .swf (projects) into a flex/flash builder application

I'm doing some research for a project that I might be doing soon, and I'd like to build it in Flex or Flash builder, but I just have a question. I looking to build a sort of admin section of the application for users to sign and view personal data. The rest of the application would be split up into different sections or "modules" contai...

How do you integrate Flex 3 with Spring 2.5

Can Spring 2.5 be used with Flex 3.x my original question was misleading ...

Flex as app : how to load a picture ?

Hello, I'm new to flex, i'm used to flash (CS5 & as3) I'm trying to load a picture in my swf file to add a DisplacementMapFilter then. But i'm just cant load that picture. package { import flash.display.*; import flash.events.*; import flash.net.URLRequest; public class pano2 extends Sprite { public var loader_photo:Loader=n...

Google Maps InfoWindow Problem in a Flex 3 Website

Hi, I'm trying to create a Google Map with Flex 3 to dispaly the location of schools. When the user rolls over the school marker, the InfoWindow is supposed to show the name of the school. The markers are working fine. Unfortunately, the name of the school is not showing in the InfoWndow. I think that I have a problem in the InfoWindo...

Rendering japanese text in flex.

Flex documentation says that we need to include fonts for japanese characters, can't flashplayer access fonts from the system in which it is running.If my flex application has to support all languages, should I embed entire font library into swf-file? In my case data is fed from mysql, so I can't fallback to runtime loading. Is there any...

flex sdk version problem.

Well i am using following tools flex builder 3.2 sdk 4.1 Flash Player 10 and i get this error. Verify Error: Error #1053: Illegal override of isRelatedObjectInaccessible in RemappedMouseEvent. when I clean the project and run it and get the same error.. i tried all the things expect updating the Flex builder plugin as it was mentione...

How to build a Flex FormItem with an image button in the label section?

I want to build a flex FormItem extension that adds a button into the item label section, such that there is both a text label and, to the right of it, a button that uses an image icon: Basically, I want to create that 'i' icon, such that I can click on it to display a help overlay for the item in question. Is there an existing compo...

Override CSS value to be empty in Flex

I have a Flex 3.2 application for which I am developing a custom style. Basically the first stylesheet gets applied first, and then my custom stylesheet. I am wondering how I can completely empty a value set in the first stylesheet with a value set in the second. The value has to be blank because if the horizontal-center value is set ...

custom dateField component with comboBox and clear button inside the dropdown calender in flex3

hi, i inserted a dateField component.on clicking it displays calender, i would like to add 2 comboboxes, i shows hours(0 to 23) other for minutes (0 to 59) to calender so tht the user can select the time along with the date and that wil be displayed in the text input as date and Time. one more thing i would like to add is clear button...

Flex history management in all browsers?

I created a very simple Flex 3 app with a ViewStack with a few VBox children, each with a button that changed selectedChild to a different VBox. The ViewStack has historyManagementEnabled="true". I then added the history css, frame, and js created by Flex Builder automatically. I then opened the html page containing the embedded SWF i...

Migrating Flex 3 to Flex 4 (Web service related)

In Flex 3 when adding a web-service, for each function a tailored event handler was made (e.g. for function GetCustomer there was a WebService.addGetCustomerEventListener) - How can something like this be implemented on Flex 4? ...

HBox children Component seperator

Hi, How could i add separating line around HBox children component?? like if i choose borderstyle as solid for the hbox, the problem is the line between the children component, like text components, who could i show it in effesent way, not just adding HBox to each element. ...

How to resize the canvas form center point ?

Hi, i want to resize a canvas from center point i.e., for example if i want resize a canvas 20pixels, it should resize left 20px, rigth 20px, bottom 20px, top 20px. before change heigth:100; width:100; x:0; y:0; after change heigth:140; width:140; x:-20; y:20; thanks... ...

Flex xml datagrid problem

I have multiple datagrids in my project that all get data from a HTTPService. This HTTPservice returns an xml. I also got several forms that use a HTTPService to insert data into the MySQL tables. All of this is working fine BUT When I insert something in the MySQL DB I want to update the datagrids. What I do is httpservice.send() aga...

Flex 3 Panel titleIcon click event

Hi, I would like to add an title Icon image to a Panel, but cant find the click event on that icon, ...

DateChooser.. disable year and month?

I want a to user a DateChooser to allow a user to select a date in a given month and year. I want to set the month and year programmatically and only allow the user to select the date/day. I can do this for the year easily by setting the minYear and maxYear to whatever year I want, but I am not seeing a strait forward way of disallowin...