flex3

How to pass custom variables to Flex applications

I'm trying to write an application where parameters have to be passed to the application. In Flex builder I modified the and tags in the index.template.html, but when debugging I still don't see the variables passed (using from as3 the Application.application.parameters object)... ...

UI rendering inconsistencies in Flex application.

Has anyone noticed UI rendering inconsistencies within Flex applications. I am having issues with radio buttons and text controls inside a repeater. Below is a sample... What would cause such inconsistencies? Computer performance, internet speed? The repeater below has an XML web service acting as a data provider, using Flex's e4x supp...

How to read xml tags and its data using flex?

Hi, I need to read xml tags and its datas from one file and then write it to another xml..how to do it?? please let me know immediately...? ...

getting mx:CheckBox values from inside mx:Repeater

I have an an array of objects that I use as the datasource for my repeater. <mx:Repeater id="categoryRepeater" dataProvider="{this.allCategories}"> <mx:HBox> <mx:Spacer width="20"/> <mx:CheckBox id="categoryCheckBox" label="{categoryRepeater.currentItem.question}"/> </mx:HBox> </mx:Repeater> I would like to be able to tell which of th...

Convert HTML select/optgroup to Flex

New to Flex, what is the nearest equivalent to the following HTML markup in Flex? <select size="9"> <optgroup label="Group 1"> <option>Value 1</option> <option>Value 2</option> </optgroup> <optgroup label="Group 2"> <option>Value 5</option> <option>Value 6</option> </optgroup> <optgroup label="Gro...

Flex 3 global exception handling

I want to create some sort of global error handling in my Flex application. What is the best approach for this? ...

Flex 3 custom components positioning - popups

Hi, I have created a custom TitleWindow whcih i use as a popup. The contents of the popup are created dynamically depending on a selection a user makes from a datagrid. My problem is, my datagrid is in another custom component whcih is toward the bottom of my page so when a user clicks one of the items the popup is displayed however w...

HSlider "thumbs" aren't getting close enough.

Given the defined HSlider, I'd like the "thumbs" to get to be able to get as close as 50 units apart, however, they will only get as close as 300 units. The only solution I've found is to make the HSlide wider, does anyone have any better solution? <mx:HSlider id="range" thumbCount="2" minimum="0" maximum="8000" s...

How to reduce swf filesize flex

how can i reduce the file size of my flex application. its around 900kb . ...

Flash versus Flex

I've tried looking everywhere for a concise list of the advantages and disadvantages of using Flex vs. Flash. Coming from a programming background, I absolutely love Flex. It's easy to pick up, and since it can use flash classes, why would I want to use Flash without flex? Flex: Pros: good for RIA development provides many user-inp...

Is it possible to access static fields declared in a host application by movies loaded dynamically using SWFLoader

Is it possible to access declared static fields in a host by a dynamically loaded movie (provided the loaded movie is from a fully trusted domain). My main concern is to make sure we don't expose data to loaded swf's, but want to still listen to events (via hosted apps callback functions) fired by the loaded swf. UPDATE SWFLoader (f...

Is there a way to override action scripts operators, in particular I would like to override the equals operator

Is it possible to override the equals() operator (ie. for customer classes where equality may be determined by 2 or more fields matching). ...

Severe Flex issues.

I seem to be having difficulties getting the trace function to output anything to the console in either Eclipse with the Flex Plug-in, Flex Builder, or even FlexBeans (the Netbeans plug-in for Flex). I have removed and then reinstalled the Flash player 10 debugger version for both Firefox and IE, rebooting after uninstalling them and th...

Flex Custom Components Tutorial

I'm just getting started out with flex. Are there any easy to follow tutorials that give examples of creating custom components that pass data with custom events? ...

How to iterate over tabs in flex tabbar

Hi, I am a flex newbie. I need to disable some of the tabs in a flex tabbar specified, by configuration. I am having trouble in iterating over the tabs in the tab bar. If i use getChildAt() command, it does not disable the tab button, but the content of that tab button, so its no good. Thanks and regards, Mohit Ranka ...

How to add mnemonic character to a regular button in Flex? (Need that for shortcuts)

How to add mnemonic character to a regular button in Flex? Show me some examples. ...

Reduce the spaces between the column in flex column chart

Hi All, In flex how to reduce the spaces between the column in column chart.my columnWidth Ratio is 0.4 without changing this ratio how to reduce the spaces between the column? Thanks, AravuindakumarThangaraju ...

What's the best way to hide a tab in a TabNavigator?

I'd like to conditionally hide a tab in a TabNavigator. It seems that setting visible doesn't work properly (presumably because this is how the TabNavigator hides the tabs that aren't currently selected). What's the right way to do this? ...

Flex drag and drop reorder of a HorizontalList control - Finding FROM and TO indexes?

I have a Flex3 project with 2 HorizontalList controls; one of which has drag & drop enabled. Both controls will always have the same number of items, and are related... index 0 from the 1st control matches index 0 from the 2nd control, and so on. Naturally, when using drag and drop to reorder the 2nd control, I want the items in the 1st...

Flex: How do I space out items in a HorizontalList control (using a custom ItemRenderer)

I have a HorizontalList control that uses a custom ItemRenderer to represent each item as a toggle-button. The list allows drag and drop, and I used this method to rotate the drop feedback (line) into a vertical position instead of horizontal, but with the buttons mashed together, the drop feedback is pretty subtle. I'd like to space out...