flex3

Flex embedding 'condensed' typeface of a font

I am trying to embed different typefaces of a font and have a .otf for each of them. It looks like Flex only supports 'bold','italic'. But what do I do if I want to embed 'bold-condensed', 'regular-condensed' and 'black'. How would I achieve that? ...

Custom bullet points using Flex

Hi All, Any idea how can i draw this using Flex ?? Instead of using image for 1, 2 and 3? Regards, PK ...

Flex 3 Tree iconFunction not working properly

Hi all, I don't know the exact problem. I am using flex mx:tree component in flex 4 and I'm customizing the icons using iconFunction. here is my code private function iconFunctionHandler(item:Object):Class { var st:SWFLoader = GlobalVariable.getInstance().imageInstance; var iconClass:Class = Object(st.content).getInstance(item.@...

Automatically call httpservice.send

I have an application that displays the data from 3 xml files (auto generated from SQL table) using httpservices to get them. The first xml file is small and contains around 30 items, the second and thrid contain around 200-300 items each. The first dataset loads quickly and is invoked on creationComplete. The second and third are called...

How can should I set up Flex 3 projects that reference common controls?

I'm not a flash developer, I'm having issues figuring out how I should set up these two projects that I have in Flex Builder. I've already created projA which has a .mxml that references several custom controls & skins from com.xxx.controls within projA I now have to build projB which also has a .mxml that will create a different .swf....

Is there any way to open a popup outside the dimensions of the Application in Flex 3

hi friends I am creating a flex application with application height 50 . I want a pop up to be displayed outside the main application in the browser. Is it possible?? Plz reply ...

facebook application using flex

how to develop new facebook application (login , add photos ) using the api of flex ...

Actionscript 3 and nested lists

Hi, I have the following code in my XML (EDIT:) which I am trying to show in a RichText using htmlText. <ul> <li>List Item 1 <ul> <li>List Item 2</li> </ul> </li> </ul> Unfortunately, Flash doesn't seem to support nested lists, and I am getting output which looks like this: List item 1 List item 2 Where I want the sec...

Flex 3.5.0; Update ComboBox display list upon dataprovider change

Hello, I have two related ComboBoxes ( continents, and countries ). When the continents ComboBox changes I request a XML from a certain URL. When I receive that XML i change the DataProvider for the countries ComboBox, like this: public function displayCountryArray( items:XMLList ):void { this.resellersCountryLoader...

How do you reset the StringValidator ?

after the form has been sent I want the form to be cleared. So I set the .text = ""; but the stringvalidator is red because the fields are empty again. How do I make it so that the form is reset along with the Validators? ...

how determine if a video is loaded in flex sdk 3.4?

Hello I wanted to know which event determines if an external video is loaded (using Action Script 3, Flex SDK 3.4 compiler and FlashDevelop -VideoEvent is not present here-). I'm using a flash.media.video component I've tried with NetStatusEvent.NET_STATUS and "NetStream.Buffer.Full" but it does not seem to work. Thank you. ...

how to increase the content of the data in itemrenderer of the list?

hi, i'm binding data into list which comes from the backend ,i want to increase the height of each content,i have used height ='some value',it's get increased ,i want to increase the size of the content with the value of 32 but it didn't get increased but i gave the itemrenderer (hbox)height as 100%..is it any inbuilt bug on flex or bug...

how to solve Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found?

Hi, I have created application, it showing this error message during initialization (Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.),how to fix it? thank's in advance..... ...

wht's the difference btwn height and $height?

Hi, i want to know the ifference between height, $height and _height,width,$width and _width ...

Label along the line in Flex LineChart

I'd like to put a label to each LineSeries on my Flex LineChart so it will be shown next to the line (along it). Any relatively easy way to archieve that? ...

How do I add a combo box to a DataGrid?

I want to add a ComboBox to a DataGrid. So far, the only way I've found to do it is like this: <mx:DataGridColumn headerText="Header" dataField="src" > <mx:itemRenderer> <mx:Component> <mx:ComboBox dataProvider="{data.srcChoices}" /> </mx:Component> </mx:itemRenderer> </mx:DataGridColumn> T...

How to unpack, update and repack Adobe air file?

I need to unpack air file, update it and repack it. Can anybody please help me in this regard? In java, for jar file we can use winrar utlity for this kind. Please suggest how can we do for air.Is there any utility for adobe air. I tried with winzip/winrar. I changed its extension to .zip file and opened it in winzip and winrar. When I...

flex debugger (how to retrieve a session variable set by a browser)

hello, i'm creating a flex application and trying to debug using the "Network Monitor" view. The script i'm debugging fetches a PHP session variable (the PHP outputs xml) and the actionscript retrieves the value from the HTTPService event. if I am using say a chrome browser, i can correctly retrieve the session variable ANY TIME. if I...

Flex 3 / Air: Writing blank new lines to files using FileStream

I want to write some text directly to a file using Flex 3 / Air. The text on the file (call it "Database.txt") must have the following format: Line1 Line2 Line3 var FS:FileStream = new FileStream(); var DatabaseFile:File = File.desktopDirectory.resolvePath("Database.txt"); FS.open(DatabaseFile, FileMode.WRITE); FS.writeUTFBytes("Line...

how to embed image into flex grid column

Is there an easy way to embed an image into a flex grid column? Something similar to: <mx:DataGridColumn width="23" src="images/testimage.jpg"/> ...