BlackBerry Playbook sprite removechild and display of items

Hi friends...

I m using the sprite object to display the items...

While delete objects using the removeChild() to a group of objects, the object is deleted, which is created at the last...

I want to delete all the objects in the sprite...

everyone knows to share here...

Thank you

Some containers have a removeAllChildren() method, otherwise, you will have to do what gluth has suggested:

while( this.numChildren > 0 )
{
  this.removeChildAt( 0 );
}

Tags: BlackBerry Developers

Similar Questions

  • Rendering and display custom item States

    I have this custom itemrender (which is an ACE, not a MXML class). When a user clicks on an element of the view state should switch to 'selected '. The selectedstate adds a text tag. But for some reason any the text box does not appear. When I add an effect to the selected state, the effect appears after clicking. If the state change works, but why the text box is not visible?

    Code:
    < albums: AlbumBrowser
    ID = "albumBrowser.
    Width = "600".
    dataProvider = "{Model.instance.album.aPhotoAlbumsOnPage}" > "

    < albums: itemRenderer >
    < mx:Component id = "albumRenderer" >
    < albums: AlbumRenderer
    buttonMode = "true" > (which is an AS class that extends UIComponent and implements IDataRenderer)

    < albums: States >
    < name mx: State = "selectedState" >
    < mx:AddChild >
    < mx:Text text = "this is a test" / >
    < / mx:AddChild >
    < / mx: State >
    < / albums: States >

    < / albums: AlbumRenderer >
    < / mx:Component >
    < / albums: itemRenderer >

    < / albums: AlbumBrowser >

    Anyone? Thank you.

    The text control has a default size (100 x 21 I think) and it expands vertically automatically because it must take all the text. Label, on the other hand will grow horizontally.

    Default size of UIComponent if 0x0, but her children do not affect its size. The UIComponent function don't ask their children how big they are while a component container will do. Containers like HBox and VBox will grow to fit their children; Canvas pliers just them.

    For your example you don't need to specify the size.

  • ePrint apps for the blackberry and blackberry playbook torch

    Y at - it an eprint for blackberry and blackberry playbook torch application?

    Hello Dagreenguy,

    The only application for Blackberry from HP operating system is HP ePrint Service, found on the link below.

    http://appworld.BlackBerry.com/WebStore/content/13675?lang=en

    This app is mainly for printing on public printers, an example might be a FedEx Kinkos.

    If you want ePrint on your personal printer, I'd just sending an e-mail to the e-mail address of your printer from your Blackberry mobile ePrint.

  • I want to develop an application Live TV for BlackBerry PlayBook. Please guide where can I find the specifications such as width, height, and icon sizes and design factors etc.

    I want to develop an application Live TV for BlackBerry PlayBook. Please guide where can I find the specifications such as width, height, and icon sizes and design factors etc.

    Guideleines of the user and the specifications on the sizes of icons etc to BlackBerry PlayBook OS Applications

    OK, I downloaed the pdf below for UI guiderlines

    UI_Guidelines_BlackBerry_PlayBook_Tablet_2_1.PDF

    Ok

  • Display white screen in Blackberry playbook

    Hello

    IAM get blank screen when I load the page html with javascript for display ads using leadbolt blackberry playbook advertising service.

    I developed the application using adobe AIR.

    Please tell me, can I use bannar leadbolt html ads to display ads in the Blackberry playbook?

    I show the code how I used the HTML to display the ads...





    announcement




    Please, help me out of this problem.

    For all the problems with LeadBolt, you will need to contact them directly for support. For problems with AIR applications, please post to the AIR Council:
    http://supportforums.BlackBerry.com/T5/Adobe-AIR-development/BD-p/Tablet

  • JumpLists disabled; 'store and display of recently opened items in the Start Menu and the taskbar' is greyed out

    My option 'store and display of recently opened items in the Start Menu and the taskbar' is grayed out. Are also grayed out any mention of "jumplists" system (i.e. the number of items to display in the jumplists). Have I inadvertently disabled this feature? If so, how can I return it?

    Hi, landonblaine:

    When the option store and display recently opened items in the start menu and the taskbar is disabled and grayed out, it is a symptom that two Windows fonts are applied to your system.

    Open the Publisher of the registry (Regedit.exe) and navigate to this key: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer. If there is a registry that NoRecentDocsMenu value set to 1, delete it. If there is a registry that NoRecentDocsHistory value set to 1, remove it as well.

    Repeat the same steps in the HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer registry key (it cannot exist).

    Restart your computer and see if the problem is resolved. Microsoft MVP Windows Desktop Experience

  • Direct access and display image problem

    I'm doing a small application for playbook, I want to make the user able to browse images and display it in our application when they selected. I m using flash builder 4.5 sdk. I used the following code.

    protected function btn_Browse_clickHandler(event:MouseEvent):void
    {
    TODO self-generating method stub
    var file:File = File.userDirectory;
    file.addEventListener (Event.SELECT, dirSelected);
    file.browseForOpen ("select a directory");
    function dirSelected(e:Event):void
    {
    trace (file.nativePath);
    lbl_Test.text = file.nativePath;
    leader. Canonicalize();
    ImageURL = file.nativePath;
    Img_Thumbnail.source = file.nativePath;
    }

    }

    When I click on the Browse button "Open dialog box appears", I select the image, but when I click on the Open button in the open dialog box, you have to show the image. but it does not show the image.

    What is the problem? and how to solve this problem. Can someone tell me...

    Do you have
    access_shared
    set in your file to blackberry - tablet.xml?

  • Unable to connect with the BlackBerry PlayBook

    Dear Adobe Acrobat Connect Pro community

    I got this for a long time blackberry playbook and if I installed this app, I'd be able to get into my chat room class study.

    I have these sessions two times during any month three of the modules do, so I don't know not working class sessions, and I thought that I would be able to continue studying if am not at home and on the road.

    I need to know if your application always supports the BlackBerry PlayBook OS: 2.1.0.1917, I got your request of BlackBerry Apps World.

    The class sessions are held with Resource Development International Ltd (RDI Ltd), which is working with Edexcel and Pearson Education.

    I hope that we can have this problem.

    Yours sincerely

    Valerie JT

    Mobile Connect 9.3 is:

    Mobile

    • Supported by Apple devices: iPhone 5, iPhone 5, iPhone 4, iPad with Retina display, iPad 3, iPad 2, iPad mini and iPod touch (4th & 5th generations)
    • Apple OS summary versions of supported: iOS 6 and higher
    • Supported by Android devices: Motorola DROID RAZR MAXX, Motorola Atrix, Motorola Xoom, Samsung Galaxy Tab 2 10.1, Samsung Galaxy S3 & S4, Nexus 7 Tablet
    • Android OS summary supported versions: 2.3.4 and superior

    The last update the BB app got was 1.7.5. The current version of the mobile Connect application is 2.2. The output of 2.1 was a note that the Blackberry is platform is no longer supported (Page 2 here). This is reflected in the Connect tech specs page, which is where I got the mobile platforms supported above. In my view, the answer is at the end of the account, you will need to use an Apple or Android mobile device, or your computer.

  • Firefox only installs on a Blackberry Playbook tablet, Daniel?

    You just bought a Blackberry Playbook Tablet and Firefox do not install as a browser. You all another mfg listed, with the exception of the Blackberry, which took important boost product here in the Canada. I ' sure I'm not the only one using Firefox as browser favorite on our PC. Anyone who works on this issue

    https://wiki.Mozilla.org/mobile/platforms BlackBerry

      Due to the Java-based development system and inability to build C/C++ apps, the full Firefox browser will not be available on the Blackberry OS. However, a future version of Firefox Home may be available for Blackberry.
    

    as published by James in this thread - https://support.mozilla.com/en-US/questions/896047?s=Blackberry & r = 2 & as = s

  • BlackBerry playbook

    Anyone knows when are we going to get Skype for blackberry playbook?
    I'm sure that everyone who got a playbook are willing to pay for it if it's going to be the case! Skype developers can you please make the application for the playbook of bb.

    Hello

    If Skype for the playbook will be history as for all other BB models, you're in for a long wait!

    All BB users have requested, begging,... Since 2008-2009 to get Skype on the BB, but it's still not available and no word from Skype on the why, which leaves only when...

    Some purists will respond that it is available for customers of Verizon in the United States and 3 customers in the United Kingdom, drunk as everyone knows, is not what we want!

    So: good luck getting a response on the 'when' the question of Skype...

    Friend,

    LVL

  • Blackberry playbook Tablet

    Blackberry playbook Tablet - I can't find it in the computer section or printer/devices. I can't open the Tablet, the light turns on but disappear in a few seconds.

    Hello

    Support options for your tablet (including the knowledge base, manuals and forums) are on this page

    http://us.BlackBerry.com/support/tablets/PlayBook/get-started.html

    Don

  • Use the listbox control to select several channels and display on the chart

    Hello everyone!

    I have a problem using the ListBox selection mode 1 or mode items. I have 6 channels of data, and I have a 2D chart. I am able to reterieve the signal names in the list box, but I want to be able to choose one or more signals to display on the chart. I used the table to index my 2D data are connected and then the output of the index table is connected to the graph. I had to use the listbox control as an index for the table to index and display the data in the index selected for display on the chart. I used lisbox as the value property nodes, the line active and all but not able to display signals on the graph. I have attached a code example to show you what exactly I'm looking.

    Any suggestions will help a lot.


  • Windows update does not work and displays C80044E error code.

    Windows update does not work and displays C80044E error code.

    Hello

    I suggest you to try the steps below and check if it helps.

    View update history.

    http://Windows.Microsoft.com/en-us/Windows-Vista/see-which-Windows-updates-are-installed

    Let me know the description the updates that do not have the status.

    Method 1: Try to reset components to update Windows from the following link and then try to install the updates.

    http://support.Microsoft.com/kb/971058

    Method 2: If the problem persists then try to set your computer in check and clean boot state, if the same problem occurs.

    By setting your boot system minimum state helps determine if third-party applications or startup items are causing the problem.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or Windows 7:
    http://support.Microsoft.com/kb/929135

    Note: After the boot minimum troubleshooting step, follow step 7 in the link provided to return the computer to a Normal startup mode.

    More information: The problems with the installation of the updates:
    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-problems-with-installing-updates

    Hope this information is useful.

  • Cannot display some items on the start menu

    When I opened my laptop, go to the internet, then open the start menu, this alert rises; Unable to display some items in the start menu...

    What can I do? What the menu items start? This can be corrected?

    Thanks for the help

    Tim

    Hello

    Were there any changes (hardware or software) to the computer before the show?

    Perform the steps mentioned below and see if the problem persists.

    a: right click on the Start button, then click on Properties.

    b: now click on the Start Menu tab and click the Customize button.

    c: Now in the option which reads, number of programs to display the value less than 5 , then click on ok.

    Hope this information helps.

  • Start menu don't store and display recently opened programs

    One of the ID of the user (Vista computer) will not store & display recently open in the Start Menu programs. The ID shows them correctly. I know how to activate it in the taskbar and Start Menu properties, but it still won't show them.

    I transferred this profile to a Windows 7 computer and it still does not work. Any suggestions?

    Hi BrianMBC,

    You can try to disable and enable recent items and check if it works.

    1 click on taskbar and go in Properties.

    2. on the Start Menu tab

    3. request for the protection of personal information Division

    4. uncheck the box store and view a list of recently opened programs

    5. click on apply.

    6. click on ok

    7. Navigate back to the tab as well as above.

    8. now Activate store and view a list of recently opened programs.

    If this does not work, you can try to check if the problem is related to the damaged user account. You can try to create a new user account and check if it works.

    1. open user accounts by clicking the Start button, clicking Control Panel, click user accounts and family safety, and then by clicking on user accounts.

    2. click on Manage another account.  If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    3. click on new account.

    4. type the name you want to assign to the user account, click an account type (Administrator), and then click on an account.

    Here is a link that will give you information on how to create a new user account.

    http://windowshelp.Microsoft.com/Windows/en-us/help/769495bf-035C-4764-A538-c9b05c22001e1033.mspx

    Hope this information is useful.

    Jeremy K
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

Maybe you are looking for