BB10 - Transparent TileList?

Hello

I tried to use TileList for positioning of the images, but cannot make it transparent...

Which means, I can add items to a TileList component and display the images necessary to CellRenderer, but all images (slides) are places on black opacue...

Is there a way to define the cell BG is transparent?

Thank you

I had a similar problem and the skin of the cell display is the head of painting than baground.

In the skin, I did something like that. I leave the skin toward the low and select for purposes of UI feedback during selection

       override protected function getSkinForState(param1:String):DisplayObject{
            var _loc_2:DisplayObject = null;
            switch(param1)
            {
                case SkinStates.DOWN:
                case SkinStates.SELECTED:
                    _loc_2=super.getSkinForState(param1);
                    break;
                default:
                {
                    _loc_2=new Sprite();
                    break;
                }
            }
            return _loc_2;
        }

Tags: BlackBerry Developers

Similar Questions

  • (bb10) TileList add line background

    Hi all!

    Is it possible to add a background picture to "by a line' to a TileList component?

    I want mi TileList to have a background for each line, regardless of the number of columns on the subject. Is this possible?

    Something similar to this... Can I create a background image for any container of repeating the same image to fill the height of the container?

    This could help others.

    I solved it this way.

    Add a sprite as the first element to make it in the background.

    Then add the images in either vertically as lines list.

    Finally update the substantive position during the scrolling of the list.

    That's all.

    package com.xplota.components
    {
        import com.xplota.Events.EpubEvent;
        import com.xplota.assets.Icons;
    
        import flash.display.Sprite;
        import flash.events.Event;
    
        import mx.utils.ObjectUtil;
    
        import qnx.events.ScrollerEvent;
        import qnx.fuse.ui.display.Image;
        import qnx.fuse.ui.events.ScrollEvent;
        import qnx.fuse.ui.listClasses.TileList;
    
        public class MyTileList extends TileList
        {
            private var im:Image=new Image();
            private var background:Sprite=new Sprite();
    
            public function MyTileList()
            {
                super();
                im.addEventListener(Event.COMPLETE, paintBackground);
                im.setImage("assets/estante2.png");
                this.addEventListener(ScrollEvent.SCROLL_MOVE, scrollMove);
            }
            override protected function init():void
            {
                this.addChild(background);
                super.init();
            }
    
            private function paintBackground(e:Event=null):void{
                background.removeChildren();
                var numchilds:int=Math.max(Math.ceil(this.height/this.rowHeight), this.rowCount);
                for(var i:Number=0; ibackground.numChildren){
                    addImageBackground();
                }
            }
            override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void{
                super.updateDisplayList(unscaledWidth, unscaledHeight);
                paintBackground();
            }
        }
    }
    
  • BlackBerry App A word to BB: "Please a transparency for loyal customers.

    I am really sad and frustrated that officials BlackBerry are not because of the Twitter pictures... If we say that not everyone uses what is BlackBerry app will respond not to what is news App; that cannot be said about Twitter because it has millions of BlackBerry users... then why BlackBerry is not attend to this matter? !!! Very strange... or what they know to the BlackBerry not continuous this is BB 10 platform in the near future and those who use it will be left behind...
    A word for BlackBerry: please some transparency we (loyal users of BB10) so that we make our choices...
    Question: if I removed the Twitter version pre-installed on the legacy and reinstalled Twitter to say Mobile 1 app store application: to solve that question photos? And I continue to receive messages from twitter in the hub?
    Thank you

    Gallouly wrote:
    everything I say is directed to management of BB not to everyone here.

    But, as has been explained, this is not the purpose of this forum.

  • TileList drag and drop proxy problem

    I'm doing an image gallery using a TileList component with drag and drop support. I want my proxy drag not just red with a transparent background (only image) and not image with the container that you can see in this screenshot:

    sample.png

    But that's how it should look:

    sample2.png

    How can I achieve this?

    Here is the source code:

    http://www.2shared.com/file/WPExMzvz/DanDCanvas.html

    It seems to me that you are using a Flex with an Image container as your itemRenderer. Really, this is not a good practice because the containers are heavy and you will cause performance problems.

    If you only view the images, you must use the Image as your itemRenderer. Then, when you drag one of the points, you will only get the container with a scroll bar. The image may still have a background and not be transparent, however.

    Joan

  • Flex4/skinning a spark TileList

    I have a TileList control I want to skin.

    Deselected items have a background of the bitmap image.  The text of these articles would be white.

    The selected item will become transparent and the text labels are red.

    Placing the cursor on an unselected item will change its color.  Hovering over the selected item does nothing.

    Selection of an element must dispatch an event that I can actually do something about the selection.

    I don't know even where to start.  Help please!

    Hello

    For what you are trying to do you would use a custom converter, the code below gives you an idea where to start, firstly you override normal colors / hover / select default by setting autodrawbackground to false, then you have full control of what happens in each State, including having an image that is displayed only to the normal state.

    David

    http://ns.Adobe.com/MXML/2009.

    xmlns:s = "library://ns.adobe.com/flex/spark".

    xmlns:MX = "library://ns.adobe.com/flex/mx".

    autoDrawBackground = "false" >

  • White background of the TileList component

    Hello guys
    How can I build the component TileList TRANSPARENT as background VBOX or HBox.
    Thanks in advance

    Hmmm... The background of this VBox and TileList already look like:

  • Overview unwantedly convert a color to transparent (!)

    Hello

    I use a snippet to open png files and save them to gif format (to reduce the size of the file).

    The files are a book cover, including an orange background, with red, white and dark gray text and graphics (curves).

    Yesterday, it worked well.

    Today when I save as gif red color in the image disappears. I guess that it is transformed into Transparent. I see where the red text and graphic lines were is the background orange.

    Preview was not doing this yesterday.

    Today it is the same on the png files that I created yesterday, so I'm sure that change is in the preview, not Inkscape (which I used to create the PNG).

    I do not use the lasso or other tool to select all areas of the picture and enable transparency.

    I open the image, choose the export file to gif format and with the box checked and checked alpha, the color red is disappearing and I don't want it.

    Any suggestions much appreciated.

    Overview 8.1 (877.7)

    10.11.6 OSX

    Thank you.

    Do not use the gif. It is an older format, limited to 256 colors. It is quite insufficient for most uses (with the exception perhaps of dubious of these short "animations").

    One of the unique features of gif should have 'transparency' - but which has been achieved by stipulating a particular table as color being transparent (and not, as in modern formats, by adding a fourth channel, called "alpha channel" to the series of red, green and blue).

    Somehow the red in your translation got to be designated 'transparent color '.

    If you want to reduce the size of the file, try saving to jpeg and quality change to achieve a good balance between size and quality.

  • Transparent BG involved Keynote

    When I have the BG in Keynote, assign the value 0% fill of a color some transitions are acting strangely. (I do this for export sequences from Keynote to QT with a transparent BG). Specifically, during a 'dissolution' images of the next slide just appear without any fading in, yet the images of the current slide fade off the coast. Past magic, when exported, do not have the BG as transparent at all until the transition is complete and the BG is so transparent.

    I know this might be an esoteric use of the Keynote, but anyone who has ever run into this issue?

    Retina MBP (mid-2012)

    10.11.6 OS

    Thank you

    Chris

    during a "dissolve" the images of the next slide just appear without any discoloration, but the images of the current slide fade off the coast.

    To achieve a transition between two slides with a transparent background requires a technique called luminance combining, Keynote does not use these effects.

    The work around is to add images parading on slide 2 slide 1, remove slide 2, and then adds a build to dissolve images now in slide 1.

  • iOS 10 dock bar transparency hurt?

    I therefore had no problem, download and install iOS 10 right after being available. Has been one of the fastest and easiest for me so far. My problem is really minor, but I still feel like it happens something here c ELA is not quite right. I noticed after I moved my "dock" of low rank bar was much more sensitive and non transparent white background. I thought that maybe it just how it was supposed to be for iOS 10 but I then looked for the screenshots of others and even install it on my old iPhone 5 that seems correct and as he did in iOS 9. I also notice that when I click on an icon that has a folder of other apps my background is really very dark where before it lets just blur the background wallpaper and it darkens slightly. Again, works as I think should be on the old iPhone 5. Can just wait for the next small update and maybe it gets fixed or is it possible to reinstall iOS 10 that isn't a pain where I would have to reset everything?

    I rebooted, changed screen and clicked around on any setting I thought that maybe something to do with it, but no luck.

    Thank you

    Dave

    mine look the same with ios10 on iphone6s

  • Weird glitch transparent on my apps

    Hello community,

    I met a bit of an oddity. I got my dads, computer laptop, it's a Macbook Pro 10.1 mid 2012 with screen retina, the latest version of OS X El Capitan 10.11.6, i7 2.6 with a SSD of SD512 Apple and 16 GB 1600 MHz DDR3. Graphics card: NVIDIA GeForce GT 1024Mo of 650 M.

    It is immaculate and works perfectly apart from a glitch whenever I start an application while having another open on the same office space in these odd remnants of it, faded but noticeable. I have enabled transparency 'reduce' turning on and off to see if it is the question, but it changed nothing. I'm an advanced user, but I have no idea what this might be. The strange this is, when I wanted to do a screenshot to post here, it does not appear, that's why I resorted to cracks the screen with my phone and the display of those below (I can do more if the issue is not clearly visible for some).

    If anyone knows anything, please any suggestions are welcome. This is the first time I ever had to start my own thread, since normally any problem can be solved with browsing a bit, but this time I even found the corresponding number. I have this feeling, due to the screenshot not having is not the weird glitch on it, maybe it's a hardware problem with the screen, but I'm stumped.

    Thank you in advance.

    Peace,

    Raph

    sounds like the GPU and it had reported problems with the retina 2012

    https://www.Apple.com/support/MacBookPro-videoissues/

    the repair program ends in a few months, so if your computer qualifies do it as soon as POSSIBLE.

  • With 43 on Mac version in the title bar transparency disappeared, what happened?

    Before the upgrade to version 43, the title bar/app window was transparent to match Yosemite/El Capitan, and now it's over...

    I'm not using a theme, and I'm not in private browsing mode.

    By help on Reddit:

    This bug deleted dynamism (blur effect) in 44: https://bugzilla.mozilla.org/show_bug.cgi?id=1161565 the patch has been raised and then to 43.
    You should be able to bring back vitality by using a custom stylesheet:

    1. TitleBar {}
     -moz-appearance: -moz-mac-vibrancy-light
    

    }
    You can also get dark shine using - moz-mac-dynamism-black

    Here is a similar workaround: http://apps-reviewed.blogspot.com/2015/01/make-firefox-translucent-in-os-x.html

  • Make my transparent .png file?

    Can what iMac software I use to make my transparent .png file?

    Personally, I use Adobe Fireworks, but I believe that Photoshop will work as well. Alternatively, you can use a snippet.

  • Right click menu contextual displayed as transparent

    I'm on FF35 and I started noticing this problem for last few versions 6 or 7.

    When I right click anywhere on the page to display the context menu, this is shown as transparent (only the Panel on the left side and lower shadows are displayed).
    This problem occurs usually about 4 times out of 10 (see picture): in this case, it usually takes just a few clicks right most repeated to finally the menu appears correctly.

    I already tried without success the following:
    (1) change of theme window: problem also happens with the default theme
    (2) turn off the hardware acceleration of the reduction

    Any other suggestions?
    Thank you
    Concerning

    Sergio

    Hello

    Try Firefox Safe mode to see if the problem goes away. Firefox Safe mode is a troubleshooting mode that temporarily disables hardware acceleration, restores some settings and disables add-ons (extensions and themes).

    If Firefox is open, you can restart Firefox Safe mode in the Help menu:

    • Click the menu button

      click Help

      then select restart with disabled modules.

    If Firefox does not work, you can start Firefox in Mode safe as follows:

    • On Windows: Hold down the SHIFT key when you open the desktop Firefox or shortcut in the start menu.
    • On Mac: Hold the option key during the startup of Firefox.
    • On Linux: Exit Firefox, go to your Terminal and run firefox-safe-mode
      (you may need to specify the installation path of Firefox for example/usr/lib/firefox)

    When the Firefox Safe Mode window appears, select "start mode safe."

    If the problem is not present in Firefox Safe Mode, your problem is probably caused by an extension, theme or hardware acceleration. Please follow the steps described in the section Troubleshooting extensions, themes and problems of hardware acceleration to resolve common Firefox problems to find the cause.

    To exit safe mode of Firefox, simply close Firefox and wait a few seconds before you open Firefox for normal use again.

    When find you what is causing your problems, please let us know. This might help others with the same problem.

  • Why the context menu appears as a transparent framework?

    Conext menu appears as a transparent framework Center. It's only a problem with thunderbird, rest programms (eg. Firefox) do not have this problem.

    try changing your windows theme and see if it helps. much of the

    Background and font colors of the user interface are captured in the settings window uses. Unfortunately some parameters only picks it up just to make little sense to me.

  • Text appears on sites like Google Spreadsheets, as well as all documents in PDF format is transparent, even in safe mode.

    Recently, I noticed a very strange phenomenon in Firefox. I first noticed in Google Spreadsheets; text does not appear in the cells, but if I bring you a specific cell for editing. I thought that this limitation the new Google Spreadsheets, since the former Google Spreadsheets work again normally. It's just new with this behavior.

    However, I quickly noticed that PDF files open in Firefox exhibit the same behavior. The text is not white; It is completely transparent, as it is not at all made.
    HOWEVER, if Firefox is not the point, AND a text is selected, the text renders in the selection. Posted: http://imgur.com/bWWLvLr
    ClearType in Windows does not seem to affect it, nor appears to be of my addons. even in safe mode, the problem persists.
    This problem is not present in Windows Internet Explorer, so it doesn't seem to be my system.
    I would be grateful to solve this problem, as I make frequent use of Google docs.

    That's the answer, cor - el, but it does not solve the problem.

    EDIT:
    The problem had been solved, but I was not sure what he did. It reoccured recently and I decided to investigate a little more. He seems to have had a problem with my GPU (AMD Radeon HD 6950). Update the drivers (even once, since they had been cancelled for some reason any) has fixed this problem. The previous version of the driver that had this problem was 14.4

Maybe you are looking for