Flex :: Removing The Border At The Bottom Of The List Items?

Jul 21, 2011

Highlighted portion in red! How do i remove it? Code to render list is below:

<s:List id="ui_lstIndexList" width="175" height="600" fontFamily="TwinCen"
fontSize="24"
alternatingItemColors="[]" borderVisible="false" downColor="#7fceff"

[code].....

View 3 Replies


Similar Posts:


ActionScript 3.0 :: Removing Items From List Component?

Oct 27, 2008

Below is a function set that's used to get info from an XML source(s) and populate a List Component (videoList). Works great. The second function loads data from a separate XML source and populates the SAME List Component. When the second function is called it loads the data in addition to the existing data into the List Component. I want it to REPLACE the data. How would I accomplish this?

public function getXMLdata(event:Event):void {
var campXML:XML = new XML(xmlLoader.data);
var vid:XML;
for each(vid in campXML.vid) {

[Code].....

View 3 Replies

ActionScript 3.0 :: Removing The Selected Items From A List?

Jan 22, 2010

I have a Listbox whith a ArrayCollection as datasource. I'm trying to remove the selected items from the ArrayCollection to update the list.Here is how I coded the remove function:

for each (var item:Item in theList.selectedItems)
{
theArrayCollection.removeItemAt(theArrayCollection .getItemIndex(item));
}

This works fine as long as the ArrayCollection is not sorted. When I apply a sort I get a RangeError from ListCollectionView.removeItemAt.

View 0 Replies

ActionScript 3.0 :: Removing List Items - Dispatch Click Event X Number Of Times Dependant On The Count Value?

Oct 8, 2010

I have a list of 10+ items. when i click back up the list 1 step i call the code below to remove a thumbnail image associated with that list item.

if(indice < count-i){mx.core.Application.application.removethumb.dispat chEvent(new MouseEvent(MouseEvent.CLICK));
}

HOWEVER: I would like that if - for example i am on item 10 and click to item 4 - all the thumbnails between 4-10 are removed. it it possible to dispatch this click event X number of times dependant on the - count value?? FOR REFERENCE: THIS IS THE CODE THAT REMOVES ALL ITEMS BEYOND THE ONE I HAVE SELECTED:

[Code]....

View 0 Replies

Flex :: Make List Items As Tool Tips For Combo Box Items?

Dec 1, 2009

How to make list items as tool tips for combo box items?

View 2 Replies

Flex :: Force The List To Load All The Items, Not Only The Visible Items?

Aug 15, 2010

I'm creating a facebook application in flex. I'm actually working on the friends component that shows your friends who are using the application. now, each friend has a profile image.

I created the component using a s:List element.

In the Skin Class of the element i configured the requestedColumnCount to 3, which means it shows 3 friends. i added buttons to scroll left and right in the list.

Whenever I scroll to see a different friend, for a half of a second i see no image because the List component is loading the image in order to view it.

is there a way to make the list preload all the elements so i won't have this kind of problem ?

View 1 Replies

Flex :: Removing Border Of A Panel?

Sep 6, 2011

Is there a way to remove the left+right+bottom border of a mx:Panel?

basically I want to have the right UI instead of the left one ( check the screenshot )

I know that the default spark Panel is able to do so, but I just need to use Flex 3.

Here is what I tried already :

padding (seems only changing the children)
borderStyle = none is removing the color of the header

View 1 Replies

Flex :: 4.1: <mx:List> Had RowCount Properly For The Limit The Displayed Items. <s:List> Doesn't

Aug 11, 2010

I'm using flex 4.1 to write an application. i read in the documents that has the rowCount property to set how many items to display. the does not have that property. how can I limit the list to display 3 items ?

View 3 Replies

Flex :: 3: Scrolling Of List Items With In A List Via Scroll Wheel

Dec 31, 2009

Here is a snip from within my code:

[Code]...

The 'recommendations' dataProvider is an ArrayCollection of String, which are generally sentences about as long as this one. By setting the variableRowHeight and wordWrap properties as shown, if a sentence is too long to fit on a single line, everything works fine- the row expands and the messages show on two lines, or occasionally three.

The space allocated for this panel within the entire canvas means if the total text size of 'recommendations' exceeds six lines, I need for the entire list scroll. This is also working just fine. The trouble is when using the mouse wheel to do the scrolling- Flex scrolls both the entire list and the single item where the mouse is hovering. Often this results in only the second half of a sentence being visible. Non-programmer friends I have asked to look at this noticed this, and tell me it as a problem. If a user does not notice the dual scrolling, and sees only a fragment of a sentence, it will be perceived as an error in the application.

[Code]....

View 1 Replies

Flex :: Using Drag & Dop Into List Get List Items?

Nov 23, 2009

while i using drag & drop from listbox1 to listbox2 ,how can i get all the items of listbox2 in flex

View 1 Replies

Flex :: TabNavigator - Gap Between The Top Of The List And The Bottom Of The Tab Menus?

Oct 23, 2011

Apologies for the rookie Q - trying to learn Flex/Actionscript and just having some basic layout issues. (Using FlashBuilder 4, with Flex 4.5 HERO SDK) I have a TitleWindow, and have embedded a mx:TabNavigator within it. I have then placed a list within the first tab and set its width/height to 100% However, there appears to be a gap between the top of the list, and the bottom of the tab menus. Why is this happening and what is the best way to ensure the top of the list aligns up flush with the top of the VBox?

[Code]...

View 1 Replies

Flex :: Iterating Over ArrayCollection While Adding And Removing Items

May 24, 2011

I want to iterate over an ArrayCollection in Flex while there can be items added and removed.

Since i didn't find a way to use a "classic" Iterator like in Java, which would do the job. I tried the Cursor. But it doesn't really work the way i want it to be ;) So how do I do it nicely ?

var cursor:IViewCursor = workingStack.createCursor();
while (!cursor.afterLast)
{

[Code]....

View 5 Replies

Flash :: Flex Spark List Scroll To Bottom When New Data Is Added

Oct 6, 2010

I have a Spark List (spark.components.List) backed by an ArrayCollection for its dataProvider. The List has a vertical scrollbar when there's too many rows to display. What I want is when a new row is added to the List for it to scroll to the bottom to show that new row.

I've tried calling List's ensureIndexIsVisible from a listener on the ArrayCollection. This doesn't work because the List hasn't yet fully rendered the new row. It will either scroll to the second from the last row, or throw the exception:

[Code]...

View 3 Replies

Actionscript 3.0 :: Remove The Items In The Combobox Later (without Removing Items In The Dataprovider)?

Feb 6, 2009

im having some dificulties in the combobox of Flex 3, after defining the dataProvider and filling the combobox, how can i remove the items in the combobox later (without removing items in the dataprovider)? if i set the provider to "" or null, the items in the combobox are still there

View 1 Replies

Actionscript 3 :: Create A Flex List Component With The 0 RowIndex Starting At The Bottom Instate Of The Top

Nov 9, 2010

Does anybody know how i can create a stacking list component (just like photoshop) where the first row starts at the bottom and the second on above the bottom and so on. Normally the list component works like this.

[Code]...

View 3 Replies

Flex - Use A Different ItemRenderer For Different List Items?

Aug 3, 2010

I have a Flex list and a custom ItemRenderer. I'd like to be able to have some items in the list use a different ItemRenderer (say, depending on the class of the item). Is this possible?

E.g.: <s:List dataProvider="{_systems}" itemRenderer="myItemRenderer"/>

Most items in _systems use myItemRenderer. But if element 3 of _systems is "specialSystem" the renderer would be "specialItemRenderer".

View 2 Replies

Flex :: Vertical Gap Between List Items Not Working?

Mar 18, 2010

I have a list item with buttons in it like so:

<mx:List contentBackgroundAlpha="0" baseColor="0x333333" leading="10" id="weekButtonList" width="260" borderVisible="false" dataProvider="{_data.mappoints.week.@number}" itemClick="onWeekClick(event);" >

[Code]....

No matter what I do, these buttons have a vertical gap inbetween them. I have tried everything from setting the "vertical-gap" property to negative and positive numbers as well as changing the padding-bottom and padding-top on them. I want the buttons to be right up against eachother vertically. I have also tried "button-height" and padding on the List component...still nothing. How do I control this?

View 3 Replies

Flex :: Enumerating Spark List Items?

Mar 31, 2010

How to enumerate items of Spark List component after setting dataProvider property?

I mean accessing them as DisplayObject instances.

View 1 Replies

Flex :: Hide A List Component When It Contains No Items?

Apr 28, 2010

I have a List of items which is based on the contents of the "category" that a user selects

When the user changes selection, I change the dataProvider of the list be be the contents of the current category.

Sometimes the list contains items, sometimes it does not

Is there a way of hiding the list when it has no items?

I know that I could do this when setting the dataProvider, but it seems like there should be an event or something else that I could be using.

View 2 Replies

Flex :: Retrieve The Sum Of Items From A Sharepoint List?

Aug 26, 2010

Is there any way to get the sum of items based on some filters from sharepoint list? I was trying to access the GetListItems method. But this returns all the items in the list. That makes the data heavy. My requirement is to get only the sum of items. For example items created in a specific year.I am trying to populate a chart in flex from the sharepoint list. Accessing all the items and then calculating the sum in flex will not work always where the list contains more items.

View 1 Replies

Flex :: Fade In/out Items In List When Filtering?

Jan 27, 2011

In Flex 4 I have a list where every product in it is rendered through an ItemRenderer. Now, when I filter the list I want to fadeout the products that are removed. I can't add the fadeout effect to the hideEffect of the item renderer since renderers are being reused. Anyone a valid (easy) solution on how the fadeout the products correctly.

View 1 Replies

Flex :: Scroll An Mx:List By Tabbing Through Items?

Jul 19, 2011

I'm sure someone must have accomplished this before, but I couldn't find any article on this.

How can we scroll a List control (with uses an itemrenderer) to the next item, when the user tabs from the current item to the next?

I know that we can use scrollToIndex(i), but how do we notify the List that the itemrenderer has moved to the next index? I couldn't find any such event.

View 1 Replies

Flex :: List ItemRenderer Caching Items?

Jul 31, 2011

i am using an itemRenderer in mx:list, it has many text fields and combos, i use this item renderer to edit items in array collection, each item in the arrayCollection is of type Action which comes from BlazeDS remoting as a valueObject.my problem is when i add new item of type Action to the list dataProvider (ArrayCollection) by this code

myList.dataProvider.addItem(new Action());

the new item tooks the same data from its previous item.

View 1 Replies

Remove Black Bottom Border On Embedded FLV File?

Apr 5, 2011

I have decided to embed FLV movie files into my HTML page that I have rendered from After Effects.

I have noticed that there is a black 1px bottom border on my FLV movie on my webpage. The FLV fits perfect on the space I have left on my webpage and border is 0 everywhere. I have checked the After Effects original file and there is no accidental space or background errors that might be causing it.how to remove the black bottom border?

View 2 Replies

Flex :: Removing The Scrollbar From Horizontal List?

Jul 14, 2010

I've got an Horizontal List. It contains 6 XML Nodes at the moment. But what I'd like to do is remove the scrollbar so that an button can function to scroll through the nodes instead.

View 1 Replies

Flex :: Removing All Iterates Through Each Item In List

Mar 12, 2011

When would you want to use removeAll() vs just new ArrayCollection when you want to clear an array collection. Remove all iterates though each item in the list. I can't see a case when I would want to use it.

View 1 Replies

Xml :: Flex - Display A List Of Items In A Datagrid From A XMLList?

Oct 19, 2009

I am trying to display a list of items in a datagrid from a XMLList.

<Series no="1">
<file>
<filenum>1</epnum>
<prodnum>4V01</prodnum>

[code]...

My current code allows me to retrieve every Series into an XMLList and then i have a nesteddatagrid class that allows me to do things like.

<classes:NestedDataGrid width="100%" height="100%" id="gridFiles" dataProvider="{filesList}" >
<classes:columns>
<mx:DataGridColumn headerText="Season" dataField="@no" width="60"/>

[code]...

However this displays the datagrid with two rows, the first row has 1 in the Series column and then the two files crammed into the second cell in the same row. The second row is the same but has the number 2 in the Series column and the two series #2 files crammed into the cell next to it.If i do not use the nested data class i can pull the files using Series.file instead and all 4 of the files list correctly, however i do not get the Series number for each...

View 1 Replies

Flex :: Add Separator Between Items In A Spark List Control?

May 21, 2010

I have a s:List where I've defined my own itemRenderer, and would like to insert a horizontal line separating items, similar to the way the mx:LinkBar works. I don't want to have a line at the top or bottom of the list, so I can't just include an upper or lower border in the itemRenderer. I was hoping the itemRenderer could be made aware of its index in the list, but I don't see how.

View 2 Replies

Actionscript 3 :: Flex 4 - Current Items In Viewport Of A List?

Mar 2, 2011

I have provided an ArrayCollection to a List, works fine, scroll and sweet.

I am able to access the carretIndex (though not necessarily the ones in view) by
list.caretIndex

Is it possible to access the list of items currently visible in the List.

What I am curious to know, is how can I can access (read) the first (or any of the) item in a given View port of the list.

View 2 Replies

Flex :: Provide Links To Items In A Spark List

Mar 4, 2011

[code]I want to extend the list with hyperlinks. For example in every node I should have an href attribute also. Then I need to redirect users to the selected item. I know Flash has the URLRequest class. The little problem I have now is to get the selected item. It propably is because of the dataprovider is xml and I haven't done the correct casting.

View 2 Replies







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