flex3

Shifting Flex 3.5 project to flex 4.0 - styles warnings

I am shifting my project from Flex 3.5 platform to Flex 4.0. I am able to remove all compile time errors. All I am left with is approx. 1000 warnings and all are on styles. I have used all mx components as earlier my project was in Flex 3.5. and i cannot change the controls to because it will hamper their look and field. All the style...

Flex 3 (with Flash Builder 4): font-family for button label CSS failed

Hi all, In my CSS, I have : @font-face { src: url("//assets/style/schneider/fonts/arr_____.ttf"); font-family: "ArialRnd Normal"; font-weight: normal; font-style: normal; } Button { fontFamily: "ArialRnd Normal"; fontSize: 14; } But, it doesn't work ... already Time New Roman is used. Pleas...

Good papervision3D tutorials for Flex?

Hi, can any one please suggest to me some good tutorials for papervision 3d. I have to work on one project using papervision3d, but on searching in Google, I am not getting any ideas on what to study. Please suggest to me any good links to start studying about papervision, thanks in advance ...

combobox perfoming different formulas based on user selection

I have a datagrid where users put in different numbers for 3 different columns. These values are then calculated after the user puts in each value for each column. I also have a combobox component inside my datagrid. What I want this combobox to do is perform a different mathematical formula based on what the user selects. For example, i...

How to position label on Flex BarChart independently of any bars?

I'm trying to add a label at the bottom, or just below, a (horizontal) Flex 3 BarChart, as follows: a |==== : b |= : c |== : label (The equals are the bars of the bar chart; the colons represent a target line for which I want to add a label.) There seems to be no straight-forward way to position this label at the botto...

Scale9Grid doesn't work in MovieClip

I have a couple of MovieClips in swf files loaded with Loader.loadBytes. They are 10-th version, as3-enabled and have scale9Grid defined (I can see the tag DefineScaleGrid in them with SWiX). But when loaded, loader.content has scale9Grid == null (maybe it is normal?) and scaling is not 9-slice. I can't even set scale9Grid myself - any a...

Flex: how to make progressbar skins?

I wanna set a custom skin on my progressBar, but it's not working out the way I want it to. My skin has 3 different colors on it (green, yellow, red) and green should show until it's about 50%, then I want the yellow to appear after green and the red at 90% after green and yellow. So at 100% they should all show. The problem is that the...

flex HTTP Basic authentication problem

hello, i'm trying to get xml file that requires HTTP Basic authentication : private function authAndSend(service:HTTPService):void { var enc:Base64Encoder = new Base64Encoder(); enc.insertNewLines=false; enc.encode("login:pass"); service.headers["Authorizatio...

Flex 3 - Rounded bottom corners on a window?

Hi there, I'm making a flex 3.5a/air2 application and I've made a popup window but I can't seem to get its bottom corners rounded. Setting cornerRadius seems to only affect the top corners. There doesn't seem to be a roundedBottomCorners property like there is for panels, and adding a controlbar with a cornerRadius also has no effect...

Flex with Oracle 10g

Hi, I am new to Flex 3/4 and was after some help with what is involved (examples pls) in creating an application in flex that runs off an Oracle 10g database to both retrieve/modify data from, with flex. Basically would like to know how to connect flex to an oracle database to perform database transactions like updates/deletes/inserts....

Retaining advance search functionality criteria stored in Database as XML

Have an advance search functionality, we have dynamically create some components to make criteria as SQL query to search. For example, textbox, combo box are used here with different combinations. After sometime user wants to see that criteria by click the button named 'CRITERIA'. This time send the request to server and get the XML fr...

auto movable gallery in flex

hi, i have to develop one image gallery in flex, this is how it looks, wht i have to do, is to make it run, like it keeps running, from left to right,(the items shown here should move from left to right) i am using repeater in an hbox, can u help me by telling, how to make it movable? Thanx in advance ...

Dynamically Retaining Advance search Criteria stored as XML in Flex

Have an advance search functionality, we have dynamically create some components to make criteria as SQL query to search. For example, textbox, combo box are used here with different combinations. After sometime user wants to see that criteria by click the button named 'CRITERIA'. This time send the request to server and get the XML fro...

Assign Xml Values to dynamically created components

xml values are stored in 'arr' array collection. depending on the length of the array stored, the below described components are created and assign those values to relevant components dynamically. For Example: AdvanceSearch.mxml is one component, and another components as advanceSearchAtom.mxml. within 'advanceSearchAtom' has some sub ...

flex URLLoader get Location header

hello, I'm sending POST request using URLLoader and URLRequest with XML data. Then API sends response with redirect page(Location header) and i want to get this URL. How do I catch this response? UPD: Event.COMPLETE in debugger: event = flash.events.Event (@6e1edf9) bubbles = false cancelable = false currentTarget = flash.net.UR...

Using the ExternalInterface in Flex 3 to call ActionScript from JavaScript

I have been trying to call ActionScript code from my container and get the message Error : Object doesnt support this property or method. Here are some salient fragments of my code DataGrid.mxml ... <mx:script source="DataGrid.as3"/> ... <mx:DataGrid ... initialize="initDG()" ... > DataGrid.as3 ... public function addEntry():void...

Flex tree space default event listener

I have noticed that when I select tree node if space is clicked the selected node gets opened... how could I remove this event? ...

Problem of alignment of string in textarea in Flex 3.0

I need to display a long string in TextArea in the form of two columns. Say 20 character of the string in left side and then some space and then 20 character on right side of TextArea. At next line again i am doing same thing till my string is complete. But what is happening is like at right column all rows are not alingned exactly. th...

string in TextArea in the form of two columns

I need to display a long string in TextArea in the form of two columns. Say 20 character of the string in left side and then some space and then 20 character on right side of TextArea. At next line again i am doing same thing till my string is complete. But what is happening is like at right column all rows are not alingned exactly. th...

change the cell background colour of dataGrid flex3

Hi, I have a dataGrid with two col. with item rederer(name,age).My requirment is ,when user click any of the cell in the dataGrid, the selected dataGrid cell colour should be changed to red. Please suggest me ...