How would i move a panel in a custom component ?

Hi All
I have a custom VGroup component that i am using for navigation on a web application.  In the VGroup i have 6 Panels and inside each Panel between 3 & 10 LinkButtons.  How would i move a Panel to below the first Panel of the VGroup Component, based on which LinkButton the User clicked ?
This is roughly how my component looks
<s:VGroup id="appNav">
<s:Panel id="p1">
<mx:LinkButton />
<mx:LinkButton />
<mx:LinkButton />
<mx:LinkButton />
</s:Panel>
<s:Panel id="p2">
<mx:LinkButton />
<mx:LinkButton />
<mx:LinkButton />
<mx:LinkButton />
</s:Panel>
<s:Panel id="p3">
<mx:LinkButton />
<mx:LinkButton />
<mx:LinkButton />
<mx:LinkButton />
</s:Panel>
<s:Panel id="p4">
<mx:LinkButton />
<mx:LinkButton />
<mx:LinkButton />
<mx:LinkButton />
</s:Panel>
<s:Panel id="p5">
<mx:LinkButton />
<mx:LinkButton />
<mx:LinkButton />
<mx:LinkButton />
</s:Panel>
<s:Panel id="p5">
<mx:LinkButton />
<mx:LinkButton />
<mx:LinkButton />
<mx:LinkButton />
</s:Panel>
</s:VGroup>
Many Thanks
Whitetimer

in your function it should be as simple as appNav.setChildIndex(p4,1);

Similar Messages

  • How would I move the iphone backup from a mac to a pc and do a full restore so I don't lose my settings?

    Hello,
    I am moving from a mac to pc (i know, not many people do this, but it's for work) and I would like to transfer my itunes library with all of the iphone backups, playlist, playcounts, etc. over.  Can I restore my iphone backups from the mac on the pc?  How would I do that?  How would I make sure all of my metedata for itunes is transferred properly as well?
    Thanks much,
    Colin Lancaster

    It shlould. here is a link to a comment from someone who seems to know a bit more about it than me ;-) https://discussions.apple.com/message/15674328#15674328

  • How to import a deployed panel with its business component

    hi,
    My swing application is composed of many modules of deployed panels on my application with their own business components.
    When I run my application many sessions are running because every deployed module is a self running application and it connects itself to database.
    How could I organize my application in order to open and run only one session.
    I

    or, if it's possible not to deploy and to use a separate application workspace/project, but meanwhile having running only one session.
    If you have any idea, go ahead!
    Message was edited by:
    [email protected]

  • How would I create a layer ABOVE a custom cursor? [CS5 Pro]

    ...so the custom cursor would disappear behind the layer when moved across it.
    Currently if the layer is simply put at the top of the layer list [above the mouse cursor layer] when published the mouse cursor supersedes it and appears above all layers... not behind any
    Many many thanks for your help in advance oh Holy Whizzkids

    First, try removing that first line and see if it helps.
    Second, if it doesn't help, after that line do the same for whatever object you have in the layer you want to sit above the cursor... it'll need to be objects that you can target with code.
    What addChild() does is it takes the object being targeted and places at the top of the display list.  So that first line is essentially uprooting whytehand from the timeline and placing it above all other content planted in the timeline.  So either you don't use it, or you also use it to place the other content above the cursor.

  • How to move multiple components into a Tab Component and still keep layout?

    I have created a Combination Chart with multiple combo boxes and a slider on my Xcelsius Canvas.  Now, I realize that I want to put all of this into a Tab Set Component.  How can I move everything into this new Tab Component without messing up all the layout and alignment I have done on all my components already?  I tried shift-selecting everything and doing a drag --> drop into the Tab Canvas but they just all stack on top of each other.
    Can this be done?  Would it be wiser to start a new Xcelsius document, place a Tab Set Component on the canvas and then copy --> paste from the original document into the new one? I'm reluctant to do this though (even within the same document) because it forces all components to be renamed back to their defaults such as Chart 1, Combo Box 1, etc etc.
    Edit:
    Bolded my biggest concern on this topic, can components be copy/pasted or cut/pasted and still retain their original name?

    i think this scenario would work fine for you
    choose all the components you want to move from the "Object Browser"
    you can show the Object Browser from the View Menu
    after you select them all, you can drag them to your Tab component
    or you can make them as a group, so it will be easy to move them as the same layout they have.
    to make them as one group
    select them all, go to format menu, and select Group
    now you have all of them as one item, move them to the tab and then you can ungroup them the same way
    good luck
    Amr

  • How do i move apps that i am npt using to the card for storage and will this free up memory and space on my ipad II

    I have an Ipad II and I have a storage disc inserted on it.  I have numerous apps but am not using many of them at this time. 
    1. How do I move those I want to store on the disc to the disc and
    2. If I do, will it free up memory and/or space on my device?
    3.  And lastly, how would I move them back if needed?  I really need to free up some space.

    Use computer iTunes to sync what you need onto your iPad.

  • How to call a method repeatedly with JSP custom tag?

    This senerio is very similar to the usage of StringBuffer.
    I have a problem which can be solved easily with scriptlets:
    <% NameValuePair nvp = new NameValuePair(request.getQueryString()); %>
    <a href="foo.html?<%=nvp.add(name1", "value1").add("name2", "value2").toString();%">">Foo</a>
    <a href="bar.html?<%=new NameValuePair(request.getQueryString()).add("x", 1).add("y", 2).toString()%>">Bar</a>
    But I cannot use scriplets because it's turned off. I can only use jsp custom tag / jstl. How would I implement this functionality with a custom tag? How would the JSP code look like? Our container supports JSP 2.0.
    Thanks.</a>

    hi,
    you can do within 2 step-
    1) use <%@page import="your_java_class"%>
    2)use scriptlet code <%...%> and write coding in this tag.
    means create instance of your java class .
    <% your_java_class obj1=new your_java_class();
         obj1.method_of_your_java_class();
    %>or
    3) you can make javabean to use method of java class.[Best option]
    Thanx
    Ranvijay

  • My back up from last Thursday on my iphone 4s is not showing up in my itunes. I deleted something today & I would like to restore to last week when it was on my phone. How do I find the backup on my pc, how do I move it to itunes to restore phone back to

    My back up from last Thursday on my iphone 4s is now showing up in my itunes. I deleted something today and I need it back desperately. I need to restore my phone back to last Thursday when the information was on my phone. How do I find the backup on my pc and once I find it how do I move it to itunes for me to restore my phone to that day?

    I wished I had known this before I said yes to using icloud. I guess those things will be lost and gone forever, since I do not want to lose my present settings and data. Also do not want to go through the hassle of backing up present, then resetting phone, then restoring oldest back up, then backing up oldest backup to pc, so I can safely backup selected items to my pc; then reset my phone again to restore latest back up. It would take way too much time and no guarantee.
    I backed up my phone to my pc, but have not checked it yet, so don't know if it worked.
    If I decide to quit using icloud (which will probably happen since backing up to external hard drive allows me to open backups) what will happen to my present data and settings? Will they just remain as they were without icloud, as they were before icloud? I'm scared to just delete it; not knowing what will happen. Also why is icloud now my outgoing mail server, when my web email was before I installed icloud and how do I restore my web email as my outgoing mail server. I am using yahoo/at&t for all my mail.
    What will happen to my contacts, notes, messages, voice memos, calendar info, alerts, etc., on my phone if I delete icloud?

  • I just loaded the 'lion' now my mail takes a new life....how do i move the reading panel to the bottom / also how do i get rid of the text/content under each mail..two simple things not sure obvious on this version !!!

    i just loaded the 'lion' now my mail takes a new life....how do i move the reading panel to the bottom / also how do i get rid of the text/content under each mail..two simple things not sure obvious on this version !!!

             

  • I would like to have at least 1 of my toolbars displayed at the BOTTOM of my open browser screen.How do I move a toolbar from the top to the bottom of the page?

    I would like to have at least one of my toolbars displayed at the '''BOTTOM''' of my open browser screen. How do I move '''a''' toolbar from the top to the bottom of the page? I do NOT want to do this by using an extension, and when I read about the extension, I really did not see how it would move the toolbar from the top to the bottom any open browser page.
    Thank you in advance for supply the answer and procedure to get this accomplished.

    Try this extension to create extra toolbar at the bottom and drag items from other toolbars on it.
    *TotalToolbar: http://totaltoolbar.mozdev.org/
    ''(compatibility is at 13.0a1, so you may need to override the installation to check if the extensions works)''

  • How to move Navigator Panel in PSE 9

    I just got PSE 9 because I hate PSE 10 and 11.
    I'm used to being able to move the Navigator Panel wherever I want, but in PSE 9 it seems to be locked in the panel area and I don't see how to move it elsewhere.
    How do I move the Navigatore Panel?
    Also, just wondering, since I didn't sign in how will I be notified if anyone responds to my question?
    I guess I'll find out.

    Please try to drag from depicted area in the snapshot.

  • Canon T5i - How would I turn continuous AF in movie mode?

    Canon T5i - How would I turn continuous AF in movie mode? My current settings require me to push the shutter button to adjust focus. I can also push the video screen to adjust the focus point, but then I still have to push the shutter button. Thanks!

    See page 196 of the manual and select Enable.
    John Hoffman
    Conway, NH
    1D Mark IV, Rebel T5i, Pixma PRO-100, MX472

  • I have a short homemade film burnt onto a DVD, I now want to import the movie into IMOVIE on my MacBook Pro so that I can edit it, how would I go about doing this? Welcoming any guidance.  Thanks in advance.

    I have a short homemade film burnt onto a DVD, I now want to import the movie into IMOVIE on my MacBook Pro so that I can edit it, how would I go about doing this? Welcoming any guidance.  Thanks in advance.

    1. Insert your DVD.
    2. Open Disk Utilities (Application> Utilities> Disk Utilities). Highlight your DVD and press "New Image" on the upper toolbar.
    3. Choose the location you would like to save your DVD from the drop down menu, "Desktop" is usually the best choice. Then click Save.
    4. When finished, your DVD icon will appear on the desktop with the .dmg extension.
    5. With iMovie open, double-click the .dmg  file you created to mount it. The iMovie import window will then appear asking you to choose. Click Import All and wait for the Import to complete.

  • How would I replace just the (imported) movie portion without having to start over the entire iDVD project from scratch?

    I've just added a new ending and want to burn the new version of my iDVD project.  How would I replace just the (imported FCE) movie portion without having to start over the entire iDVD project from scratch?

    In an attempt to help clarify:
    The FCE 3.5 project I first wrote about had 10 chapters and was a mix of stills and transcoded DSLR video clips that measured 58 min in length. After FCE converted it to a Quicktime movie, it exported from FCE to iDVD 7 flawlessly until I was asked to make a last minute change.
    My older software wasn't endowed with the ability to "detect modifications".  However, Deleting Assets was successful and a revised version of the original video could substituted saving me from starting iDVD over from scratch (thanks to Old Toad).  Luckily, the ugly iDVD BUG did not awaken during these procedures.  Thanks Bengt W.
    I hope this helps the discussion.

  • How do I move a workspace panel?

    Is there an easy way to move a panel? Click and dragging to a new position does nothing.
    Thanks!

    Hello wangshifeng,
    what are you interested in exactly?
    DuplicateCtrl is a standard function in User Interface Library of CVI you should have no problems to find. Regarding the copy, it' simply a copy- or cut-and-paste operation that you perform exactly as you do e.g. in Office or Paint, with the difference that here you select user controls instead of pieces of text or so.
    If you have more specific questions or other doubts please add some details on what you are trying to do and what you want to obtain.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

Maybe you are looking for

  • My ipod mini won't update the songs anymore.

    After updating the software per a prompt when I plugged in, my ipod won't transfer the songs over form itunes. I have done a lot to try to fix this problem. What was happening is that when I connected the ipod (with the same USB that had always worke

  • Understanding MapViewer log - total time loading X features

    Hi All, I'm interested in finding out more about how to understand the following lines from the log file. What I'm unsure about is what "total time loading features" means. For example Theme_14 has a sql exec time of 1797ms, however the total time lo

  • Is there a newer version of iPlanet than 7.0.12?

    I could see some release notes about iPlanet release 7.0.13 as part of the Jan CPU released on 1/17, but i am not able to find where i can download the newer version? Any guidance will be helpful, thanks in advance.

  • Newbie help needed

    I created a page header in Fireworks with linkis and rollovers in Fireworks to load using CSS into dreamweaver, but the links and rollovers disappear in DW. What the fah? This is the first time I've used Fireworks for this so forgive me if this seems

  • Not able to fetch data using Scenario

    Hi I am working with Quincy Fund Demo. In that we have investorhome.jsp page, where we have following code to get the offer Advertisement data. <dsp:droplet name="/atg/targeting/TargetingFirst"> <dsp:param bean="/atg/registry/Slots/QFOfferSlot" name=