AS3 :: Flex - Combobox Change Dropdown Position?

May 14, 2010

I'm trying to change the position of the dropdown list relative to the combobox item.Setting the position using comboBox.dropdown.x = 1337; doesn't work...

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Change Font Size Of ComboBox Dropdown?

Nov 23, 2009

How do I change the font/font-size of the dropdown in a ComboBox?I know how to change the edit field but not the dropdown!

var textFormat:TextFormat = new TextFormat();
textFormat.font = "Trebuchet MS";
textFormat.size = 26;

[code]......

View 1 Replies

Flex :: Fix ComboBox Dropdown In Fullscreen?

Mar 11, 2010

Short version: ComboBox's dropdown works and renders properly before fullscreen, but not during or after. I'm not totally sure how to ask this, so I've actually made a page demonstrating the error, with a very simple Flex app, and all three directions you need to experience the problem yourself.

For those of you not daring enough to follow my link above, I'll do my best to explain here. I've built a rather extensive Flex application (not the one in the link) that has some graphs and charts and checkboxes and other controls for those charts. At the bottom of app in a few of the application States, there is a ComboBox (like a <select> tag in HTML). Because this is at the very bottom, when you click it to access it's dropdown menu, Flex thoughtfully has it come out of the top.

[CODE]...

View 2 Replies

Flex :: Resize The Dropdown Of A Combobox Along With The Combo Box?

May 17, 2010

Background: I am doing some UI work where I allow the user to programatically add and resize controls on a canvas. Problem: When resizing a combo box through AS the dropdown stays at the same width as the first time it drops down. So user places combo box on the page, clicks the down arrow, sees the options, selects an option or clicks down arrow again to close, resizes the width of the drop down, clicks the down arrow. Now drop down is the same width as original. Have tried simple things like setting the width of the dropdown specifically and invalidating display list but it still doesn't work.

View 1 Replies

Flex :: Displaying More Than 5 Things At A Time In A DropDown (ComboBox)?

Sep 17, 2009

I have a ComboBox in Flex with about 20 items. How do I display all of them in a dropdown with no scroll bar? Right now, Flex displays 5 at a time in the dropdown and puts a scrollbar to scroll for more.Here's an example:

http:[url].........How do I make the dropdown bigger in this example so it shows all 10 items at once?

View 1 Replies

Flex :: ComboBox Dropdown Scaling Does Not Follow DisplayList?

Jan 13, 2010

I've been working on an application (with ComboBoxes) that requires scaling the entire application based on screen resolution. I thought it would simply require changing the "scaleX" and "scaleY" properties of the top-level application, but discovered that the ComboBox dropdown doesn't appear to scale accordingly, as in the following example:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
applicationComplete="init()">

[Code]....

which results in the dropdown appearing (sliding down) unscaled until it reaches it's extended length and stops at which point it scales up and remains at that scale until it is closed. I have also found that if you call "invalidateDisplayList()" on the comboBox or the dropdown, then it undoes the scaling, so it appears that whenever the updateDisplayList is called, the dropdown only applies it's parent ComboBox's scaling, and not the ComboBox's parent container's scaling.

I understand that, as a pop-up, the dropdown isn't in the Application's or ComboBox's displayList tree, which appears to be the root of the problem (no pun intended).

View 3 Replies

Flex :: Dropdown Combobox Selected Background Color?

May 6, 2010

Flex is so tricky to style.

I have a combobox, when I arrow up and down over a select it has a background color, how do I change this color. This should be easy.

View 1 Replies

Combobox :: Flex Itemrenderer Issue With DropDown Control?

Oct 29, 2010

I want to show rich text in dropdown control, for which I am using the following renderer.

<?xml version="1.0" encoding="utf-8"?>
<mx:HBox xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"[code]...

The renderer shows html text properly in the drop down list, but in the top most option (selected item) the whole HTML tag is shown instead of what the tag represents.

View 1 Replies

Flex - Custom DateField Component With ComboBox And Clear Button Inside The Dropdown Calendar?

Jul 31, 2010

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 to clear the selected date to the calender.

View 1 Replies

Flex :: Set Combobox Cursor Position?

Mar 17, 2010

I have a combobox implementation as follows - Based on user input (min 2 chars) in the editable combobox, the data provider is refreshed and drop-down opened, showing different data sets as user input varies.Problem is that after drop-down opens, the cursor moves back to the beginning. So for instance, the user types in "ab", and wants to type in "c" to form the search string "abc". Due to the cursor re-setting its position to 0, the search string instead ends up as "cab".Here's what I tried already (doesn't work) : textInput.mx_internal::getTextField().setSelection(index, index);

where index = length of user input. This selects text from index to index (which effectively un-selects text) and is supposed to place the cursor at the end.

View 1 Replies

IDE :: CS4 ComboBox Dropdown Alpha?

Jun 28, 2009

is there any working solution to make dropdown semi-transparent in Flash CS4?tablebox.dropdown.setStyle("backgroundAlpha", 0.33);doesn't work and return no errors.

View 1 Replies

ActionScript 3.0 :: Combobox Dropdown Height?

Aug 11, 2009

how to increase the cell height of a combobox dropdown.

View 2 Replies

Force Combobox To Create A Dropdown?

Jan 31, 2011

I'm working on a sort of AutoComplete component and faced one problem. When you create a new instance of a component, fill it with data - everything seems to be ok. When user types a letter in the inputField (and filter accepts one or few records) - everything goes alright, BUT if the first time user types a wrong letter (filter returned 0 records) - I'm getting a null-pointer exception.

This component is based on ComboBox. I have some thoughts about that: I suppose that the dropdown is not being created at time, any ideas on how to force my autoComplete to create it? I know 1 way - copy/paste some incapsulated code from ComboBox class .. but it would be too many of it .. I'm looking for a better solution.

View 1 Replies

Actionscript 3.0 :: Prevent The Combobox Dropdown

Dec 22, 2009

preventing combobox dropdown - I create own component FileOpenDialog - using FileReference - but list always start dropdown before FileReference.brows() appear ?

View 1 Replies

ActionScript 3.0 :: Force Combobox Dropdown Direction?

Dec 30, 2009

Is it possible to force the dropdown direction of the ComboBox?

View 1 Replies

Actionscript 3.0 :: Combobox's Dropdown Menu On Loaded .swf?

Mar 5, 2010

I remember I had this problem also on AS2: if you load a .swf that contains a combobox, into a mc in the main .swf, and you try to manipulate the scale of this container mc, the combobox dropdown menu won't resize.In AS2 i solved it by puting the combobox inside a mc "container" that also contains the code line this._lockroot=true;, and attaching this "container" to the swf using the attachMovie() method. I don't know why, but it worked, and when i loaded this swf into a mc in the main swf and re-scaled that mc the combobox's dropmenu scaled together with it.

[img]file:///C:/Users/TZACHi/Documents/STUDY/study_AS3/practice/XML/xml%20practice%20sisom/cb_problem.jpg[/img]

View 1 Replies

ActionScript 3 :: Custom ComboBox With Horizontal Line In DropDown

Mar 22, 2012

I want to create a Custom ComboBox in which the DropDown contains the Horizontal Line or you can say HRule immediate after the First Item. here I am providing you the image For that you can see I have used paint to draw the HRule I want component similar like that.

View 1 Replies

ActionScript 2.0 :: Showing Dynamic Icon In ComboBox Dropdown List

Jan 22, 2009

I want to show some different-2(dynamic) icon in my combo Box drop down list. I am able to show icon in combo box list but I want to change the color of this icon for different-2 values.

Here is ActionScript Code:
for(i=0;i<len;i++){
newColor = "0x"+_root.colorList.items[i].ColorCode;
labelText = _root.colorList.items[i].DeptCodeComboDesc;
comboClip.clip.opaqueBackground = parseInt(newColor);
_root.colorListCombo.addItem({label:labelText,pIcon:"comboClip"});

"comboClip" is a clip which I want to show as icon in combobox.

View 0 Replies

Flex Use A ComboBox To Change A View Stack?

May 21, 2009

I am trying to use a combobox in flex with an array to change to a canvas in a view stack. Can I do this with some custom action script? The UI I am designing could really benefit form this.

View 3 Replies

Actionscript 3 :: Change Combobox Selection Based On Value In An Object In Flex?

Jun 14, 2010

how do i change the item selected in a combobox selection based on a selection of a datagrid object?

View 2 Replies

Flex :: Change The Style Property - TextInputStyleName Of A Combobox At Runtime?

Mar 18, 2011

I have a prompt string to be displayed in my combobox - this needs to be displayed in italics. When user makes any selection from the list - i need to change the style of the displayed content.

My css file:

.promptStyle
{
fontStyle: italic;[code].....

I am able to see the style change happening because the color changes; but the change specific to textInputStyleName does not get applied.

View 2 Replies

Flex :: Change Text Color Of Component Label/selected Item In ComboBox?

Jun 2, 2010

When I set style color, it changes both the text color for the selected item/component label and the text in the dropdown menu.

color
Type: uint Format: Color CSS Inheritance: yes
Color of text in the component, including the component label. The default value is 0x0B333C.

I would really like the label to be white and the text to be black.

View 1 Replies

Flex 4 : Change Element Position In A S:List?

Dec 20, 2011

I have a s:List in my flex application attached to an ArrayCollection ( elements ). I want to change position of one element, so in fact I'm changing it's item index, the question is, how to do this kind of action ?

Here is a better example :

item 1 i : 1
item 2 i : 2
item 3 i : 3
item 4 i : 4

[Code]...

View 2 Replies

Flex - Tree DataTipFunction Tooltip Change Position?

Nov 30, 2009

I am doing dataTipFunction on Tree in Flex3 Air,

At present the tooltip hides the present node, i need to reposition the tooltip above the node, how can change the x,y position of the tooltip.

View 2 Replies

Flex :: Change Sort Arrow Position In Grid?

Apr 9, 2010

Currently when sorting in a flex grid, the sort arrow that shows whether the column is sorted ascending or descending is right aligned to the column. Is there anyway to change the position of the sort arrow, such as applying padding?

View 1 Replies

ActionScript 3.0 :: Change Dropdown Direction Of Datefield?

Jul 15, 2010

I want to change the dropdown driection of the calender of  datefield.since my width of the application is small.and also i want to reduce the size of the datefield's calender control.

View 1 Replies

Flex :: Setting A Custom ItemRenderer In A ComboBox On Specific List Items After Combobox Creation?

Nov 8, 2010

I'm trying to set a specific list item in a mx combobox to have a custom item renderer, the problem is that I cannot do this via mxml, it needs to be done via actionscript at a later stage, eg: combobox gets created, combobox gets populated, user does other tasks, combobox needs to set one or more items in the combobox to have icons (via item renderer)..

I can do this via the onChange event, but it only applies the icon when the combobox is opened and there is a slight delay so you can see the icon being added.

View 1 Replies

Validate Combobox In Flex Before Save Has To Select Some Item In A Combobox?

Mar 16, 2011

How can I validate there's a selected item in a ComboBox before saving? If there's no selected item, how can I set focus on the ComboBox?

View 2 Replies

ActionScript 3.0 :: Flashes Combo Box To Change Value Without Selecting One From Dropdown List

Aug 5, 2009

IS there a way with flashes combo box to change the value without selecting one from the dropdown list.I tried [code]

View 7 Replies

Flash :: Change Colour Of Items Showing In Dropdown List?

Nov 25, 2010

Is there anyway to change the colour of items showing in the dropdown list? By default, it's showing skyblue and I need to change it into grey? I'm using Flash CS4 IDE and AS3.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved