Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7868691
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T01:04:48+00:00 2026-06-03T01:04:48+00:00

this is the black boder : and this is my code: <s:List id=channelsPart left=120

  • 0

this is the black boder :

enter image description here

and this is my code:

    <s:List id="channelsPart" left="120" right="80" top="50" change="onChannelsChange(event)"
        dataProvider="{channels=new ArrayList(data.cloud.channels)}" labelField="title"
        requireSelection="true"
        fontFamily="TwinCen"
        fontSize="24"
        alternatingItemColors="[]"
        borderVisible="false"
        contentBackgroundAlpha="0"
         selectionColor="0"
        >

    <s:itemRenderer >
        <fx:Component>
            <s:ItemRenderer>
                <fx:Script>
                    <![CDATA[
                        import mx.core.UIComponent;
                        override public function set data(value:Object):void {
                            //sn.text = String(itemIndex+1);
                            txt.text = String(value.title);
                            //txt.label = String(value.title);
                        }
                    ]]>
                </fx:Script>
                 <!-- <s:BitmapImage source="assets/sohupp-login-btn-login.png" width="70" height="30" scaleMode="stretch"  /> -->
                 <s:Label id="txt" width="70" height="30"  verticalAlign="middle"  textAlign="center"   backgroundAlpha="0" />
            </s:ItemRenderer>
        </fx:Component>
    </s:itemRenderer>
</s:List>

so waht can i do , thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T01:04:50+00:00Added an answer on June 3, 2026 at 1:04 am

    The black border is the selection indicator that is changing when you use keyboard navigation on the list. I’m not sure you need to worry about that in a mobile application, but maybe it also appears on a device?

    In any case, you can disable the default functionality that automatically draws the backgrounds/border on the renderer using the autoDrawBackground property of ItemRenderer. ItemRenderer docs here…

    Try this out, on the line where you declare the item renderer:

    <s:ItemRenderer autoDrawBackground="false">
    

    If you still want a background to be drawn, you can add some simple view states to your renderer:

        <s:itemRenderer>
            <fx:Component>
                <s:ItemRenderer autoDrawBackground="false">
                    <fx:Script>
                        <![CDATA[
                            import mx.core.UIComponent;
                            override public function set data(value:Object):void {
                                txt.text = String(value.title);
                            }
                        ]]>
                    </fx:Script>
                    <s:states>
                        <s:State name="normal"/>
                        <s:State name="selected"/>
                    </s:states>
                    <s:Rect includeIn="selected" top="0" left="0" right="0" bottom="0">
                        <s:fill>
                            <s:SolidColor color="#FF0000" alpha=".25"/>
                        </s:fill>
                    </s:Rect>
                    <s:Label id="txt" width="70" height="30"  verticalAlign="middle"  textAlign="center"   backgroundAlpha="0" />
                </s:ItemRenderer>
            </fx:Component>
        </s:itemRenderer>
    

    As an aside, Adobe suggests you use LabelItemRenderer or IconItemRenderer instead of ItemRenderer for mobile apps. They are optimized for mobile, but not as flexible in that you’ll have to write some Actionscript to extend them and do fancy things. Using regular ItemRenderer is probably not a big deal, in simple use cases 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is my code for my menu: /*Menu*/ #menu { text-align: right; margin-left: auto;
This code works... $(document).ready(function(){ $('body').css('background','black'); }); but this code doesn't... $(document).ready(function(){ $('thumb_slider').css('background','black'); }); ^^^the
<div style=background-color:black> <div style=float:right> Test message </div> <div> This will show 'Test message' with
This is for a red black tree. For the pseudocode p[z] <-- y, would
I tried doing this: [toolbar setTint:[UIColor colorWithPatternImage:[UIImage imageNamed:@thingFromMyBundle.png]]]; but it just ended up black.
For some reason I have a black underlay under my round rect buttons. This
I am creating the custom textview i want to give black textcolor to this
I have a Div like this <div align=center> <p style=color: black; font-size: 10px;><b>Summary</b></p> </div>
This code works for chrome as I want but it does not work for
I have two problem, This nestedSortable is not working in this code, where's the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.