flex3

Need some hint on desing a dynamic chart showing wavelength(s) for element

Hi there. I have a very interesting challenge here for my Flex project development. I now have an experiment wizard which consists of three states.In the first state,the user selects the elements they are interested from the periodic table. When it comes to the second stage,now we have the elements that the user selected in the first ...

Is it possible to create a separate file for httpservices in flex and what are the best practices

Hi I am new new to flex development. I am building a flex application which uses rest APIs. Right now I have created different for different API calls (login, logout, search etc.) And all these services are in main mxml application file. I am wondering if I can create a separate mxml file like services.mxml that I can use to call any...

Error: Cannot access a property or method of a null object reference in flex

Hi, Getting error while run the checkBox item renderer in advanced datagrid with out data. Error: Cannot access a property or method of a null object reference. Please find the below code: ** public function set listData(value:BaseListData):void { _listData=value; _dataGrid=valu...

Migrating CSS from Flex 3 to Flex 4

Is there a guide or document that deals specifically with migrating CSS and style attributes from Flex 3 to Flex 4? I have an application that I'm keeping on the 2006 namespace, but I'm having trouble with a couple concepts, like the halo only styles, the CSS namespacing conventions, and styling child controls. ...

Flex: how is loose coupling achieved by using interfaces?

Ive looked this up in a few different locations, but to be honest, i dont really get it. I get what loose coupling is, but not how interfaces in Flex would help to achieve it? ...

AdvancedDataGrid Problem (Bug?) -- Disclosure Icons in Wrong Column. (Hierarchical data, Flex 3.5)

Hi Gang, I've run into a bit of a funny one and thought it was worth posting: I'm using an Advanced Data Grid in a case where I've got to set the data provider at runtime using hierarchical data. The adobe docs don't really cover this kind of thing (at least not at the level I could dig to). Has anyone run into this before? The only...

What is wrong in grammar

I am trying to get the simple expression evaluator example on the ANTLR website working within ActionScript, I have been able to get the java version to work. But my ActionScript version is getting the following error: TypeError: Error #1009: Cannot access a property or method of a null object reference. at org.antlr.runtime:...

dynamically change ComboBox in advancedatagrid - Flex

All, I am trying hard to get this simple thing done. When i change the header combobox, all the combobox in that group should be updated with the same value as that of selected header combo box please let me know any quick solution for this ... ...

Drag and Drop to a Sprite in Flex

Hi, I need to detect when a user d-b-n-d an object into a sprite. I'm adding the 3 event listeners I need, but only one of them works: ontainer.addEventListener( DragEvent.DRAG_ENTER, dragEnterHandler); container.addEventListener( DragEvent.DRAG_EXIT, dragExitHandler); container.addEventListener( DragEvent.DRAG_DROP, dragDropHandler); ...

creating a "total" column in datagrid flex

Here is what I want to do: I want to have a datagrid that displays a total value for each row. Lets say for example I have a datagrid. In this datagrid on each row I have five columns. Of the five columns four are for the user to input numbers. The fifth column is the the "total" column which is the result of a formula that calculates t...

Flex AIR: how to include .swc in library?

I'm trying to make my Flex project into a AIR application. It all works fine until I try to access classes from my .swc. Then I get this error: Error #1014: Class IIMEClient could not be found. I googled the error and found out that it meant that you haven't got the right air version in the air-app.xml. This is not the case here I think...

How to add the values of a particular column and display it below datagrid using flex3?

I have a datagrid with three columns. In one column I have to add all the values and display the total value. Can anyone suggest me on this? ...

Barchart wth Annotations in Flex

Hi, I had developed BarCharts with annotations. Each bar is a one bar chart(displaying in attached jpeg). But i need total in one barchart with 4 bar series and annotations like a black line displaying in the middle (like,as shown in attached jpeg ) Please refer the below link. http://img256.imageshack.us/img256/4872/chartsc.jpg Data i...

How do I expanding a specific node in a Flex Tree control

This is the code im using... dp = CategoryParser.createDataProvider( Application.application.categoriesmanager.categoryBaseList); var xList:XMLList = dp..category.(hasOwnProperty("@categoryid") && @categoryid == 1491); categoryTree.expandItem(xList, true); ...

Problem setting default selection on a Flex 3 List

Hi I've got a list and the selectedIndex doesn't seem to have any effect. Is the alternatingItemColors causing a problem? I've got a panel with this list and a few radio buttons. I've set the defaults on the radio buttons, but I'm having problems setting 2010 as the default selection in the list. <mx:List id="myList" w...

Techniques for debugging Flex Framework errors

Every now and then I come across an exception being thrown by the Flex framework. Often from ListBase code that renders itemRenderers and such. I'm looking for techniques to use to figure out even which of my ListBase instances is even throwing the error. The difficulty arises when the top of the call stack originates in a callLaterDi...

AdvancedDataGridEvent - Why do certain properties of the event come back null?

Hi gang, Yet another woe with the AdvancedDataGrid - this time, with the AdvancedDataGridEvent. It seems that when listening to the ITEM_EDIT_END event, several of the event properties are returned null. I've been getting null for event.column, event.item, etc. Has anyone experienced this before? If so, did you find a way to resolve...

How to draw a string on a line?

Hi! I'm a member of Openscales. I have added a FeatureLayer of lineString and added a line marker on very line using textField control. But found that it is too slow. Now I do not decide to use control marking line and I want to draw string on every line. But there is not any interface like DrawString interface.How do I add line marker u...

Flare Dependency graph not being displayed when project migrated from Flex3 to Flex 4

hello, I have a project in Flex 3 which uses Flare to create and display a Dependency graph.i have recently migrated my project from Flex 3 to Flex 4 and found that the graph is not being displayed.Flex 4 needs Flash Player 10 and i am not sure if Flare has support for the same.Could be because of this? Shashank ...

Adding icons to nativemenu items in air application

hi I have a native menu with items and it is displayed as a pop up menu, i would like to add icons to the native menu items in an air application using flex3. How can i do that? Thanks in advance. bagi ...