ViewStack with LinkBar in the other component.

Hi people.

I start in Flex, and I have a few questions.

One of them is the following: How can I implement a ViewStack where buttons navigate through it in the other component?

Something like this: I have a C1 container. A C1 C2 (the LinkBar) and C3 (the ViewStack). How controls C2 C3?

I try to use ActionScript and dataprovider. Something like this:

< mx:Script >

<! [CDATA]

[Bindable]

public var dataP: String;

[]] >

< / mx:Script >

<!-...->

< mx:LinkBar dataProvider = direction "{dataP}" = "vertical" / >

And my other component (C1), which is called:

< id for components: C2 = "c2" width = "10%" dataP = "viewStackHome" / >

< mx:ViewStack id = "viewStackHome" >

< components: BoxHome id = "boxHome" / > <! - vai pra esse com o home as fica em cima - >

< components: PainelListaDeContatos id = "painelDeContatos" / > <!-Alexandre of "Meus is"->

< / mx:ViewStack >

If I am sendind the ViewStack id before you create it?

Thank you!

And ignore my bad English. I'm not very used to write technical things (and I'm not very fluent).

But it does not work.

The answer is todo what follows in your Menu.mxml:

[Bindable] public var myDataProvider:ViewStack;

--------------------------------------------------------------------------

http://www.Adobe.com/2006/mxml"xmlns:components ="components.*">
 
    Import mx.containers.ViewStack;

[Bindable] public var myDataProvider:ViewStack;
]]>
 
 


http://www.Adobe.com/2006/mxml '.
"xmlns:Components =" * ">
 
 
   
     
   

   
     
   

 

Tags: Flex

Similar Questions

  • Using an IP191 monitor, have random horizontal stripes on the screen - have no problems with other browsers. also no problem with FF on the other PCs on the family

    Using an IP191 monitor, have random horizontal stripes on the screen - have no problems with other browsers. also no problem with FF on the other PCs on the family.

    These "streaks" seem to be the domain of the high frequency analysis; they can be eliminated by scrolling upwards or downwards.

    Hello, maybe it's a problem with hardware acceleration - try updating your graphic driver, or in case this does not solve the problem, or there is no new version available at the time, disable hardware acceleration in the firefox menu

    > options > advanced > General.

  • Windows 8.1 with Bootcamp installed in El Capitan. Do not delete with Bootcamp so I used the disk utility. Now, Windows always tries to start with an error, the 'other' space illustrates.

    Long story short, I installed windows 8.1 using Bootcamp, went very well. I was just curious how it would go.

    in any case, tonight, I decided to delete the Windows partition (Bootcamp Partition), and I got an error in Bootcamp that says "sorry couldn't do Mac OS partition a new»

    With that I went to the disk utility and tried to partition the disk on a partition again, which it did, but now I have 40 GB of "other space". I literally have nothing stored on this computer, until I installed Windows 8.1 which was not there.

    Also, when I start it up I always get Windows start first if I do not hold Option, then it goes to the blue screen, obviously because he's not here.

    I started to recover, tried to fix it, verify, erase free space, etc.. I'm running a MacBook Pro 13 "128GB 2015.

    On a Mac of 2015, the disc is divided into a group of logical volumes and Volume for OS X, and a partition for Windows. If BCA fails to restore it correctly, the part of Windows do not get properly gathered in the LVG/LV. The other questions you have, it's that there are remnants of the Microsoft your EFI partition Boot code.

    To solve both, the easiest and safest method is

    1 backup OSX and all of your files - use Time Machine to back up or restore your Mac - Apple Support .

    2. boot into Internet recovery (CMD + Opt + R) - OS X: on OS X Recovery - Apple Support .

    3. click on Utilties-> disk utility and erase your entire internal drive.

    4. restoration of OSX and your files - use Time Machine to back up or restore your Mac - Apple Support .

    This requires another external drive that can accommodate TM backup - backup disks that you can use with Time Machine - Apple Support .

  • I have two disks, a load with Vista 64, the other Vista 32. Can I integrate the 32 in the 64?

    I would like, with a minimum of functions software loss as Nero, etc are my new old VIsta 32 part, instead, a 64 bits two order install. Any suggestions?

    N °

    They are 2 different operating systems.

    You cannot merge together.

    You can delete one or the other.

    See you soon.

    Mick Murphy - Microsoft partner

  • Insert a Clip with/without moving the other layers

    Let's say that I want to insert video only to the layer 1 video and have it move the content of this layer to allow inclusion, but keep the other audio layers and the same video. Is it possible to do? What I did which is a pain is to heighlight all video clips 1, move them, and then drag the new clip in, then heighlight video clips 1 again and your choice. There must be an easier way.

    Thx for the help!

    Prevent changes with track lock

  • What is the difference between a graphics card of GEForce with ddr3 and the other with ddr5 and are they

    HP Pavilion Elite 590uk with windows 7 64 bit.

    What is the main difference between the GEForce GT420 installed and the GTS450.

    I know the 429 is DDR3 and the 450 is DDR5 what - what, can I replace the 420 to 450 and how do I

    Hello

    There is a large performance difference and energy consumption.  Look at this comparison.

    The 420 is a narrow card requiring only a single slot where the 450 is a map more wide which will cover the next adjacent location.  Look at the diagram for the motherboard of your PC. The GTS 450 requires a PCI-E power connector 6 pins provide the extra power for the card.

    Open your PC and a few measurement in parallel with the PCI-E x 16 slot to see how long of a video card will fit. The adjacent slot on the PCI-E x 16 slot must be vacant.  Look for a PCI-E power connector 6-pin.

    ' HP ' how-to ' articles should be useful.

  • Security of fingerprints: works with one finger, the other does not.

    Just my new iPhone 6s had installed at the local AT & T store. Footprint security has been set as usual.

    It works with your right thumb but not the left. My old phone doesn't have this problem.

    Suggestions? Thanks in advance.

    Use the ID Touch on iPhone and iPad - Apple Support

  • two hard drives, one with vista and the other with XP and you want to remove second disk XP

    I have a hard drive that came with my computer and vista on it, I added a second drive to my bench that has XP on it. I want to remove the second XP disc and simply use it as a storage drive, and I'm afraid that if I try and uninstall XP disc, it allows to uninstall vista of the first hard drive instead. or should I even try and uninstall it all and just delete all files? Since there is nothing in the registry for all the things on the second disc. If I uninstall XP second drive will be there remove all of that second drive? because there are a few things about this, I still want to keep. I should also mention that it is divided into three separate letters, if I do not uninstall XP I lose all three of these letters of partitioned drive? Any help on this would be greatly appreciated.

    Thank you.

    You can just uninstall XP. Anyway, as you say, you can remove the folder Program Files and Windows in that partition but personally I would just copy the files I need to another partition (on the hard drive where vista is installed) and the format of the old HDD.

  • DROID: - Configure the account with 'reply-to' the other email

    I prefer to keep gmail and messaging verizon separate accounts on the Motorola Droid I do in Outlook and you have another address 'reply-to' on behalf of verizon, but I can't figure out how to make this happen.  Is it possible to set up the e-mail account from verizon with another address 'reply-to' on the Motorola Droid in enamel (not in GMail)?

    Defining the "REPLY TO" is a standard fare in most customer configurations of e-mail, but is not in program of e-mail settings Droid... Because the configuration of SMTP server is always one of the difficult parts to manage a POP3 account allows you to use a different outgoing mail server and have even answers will the correct account is serious enough.

    I hope that the possibility to set the ANSWER to will be added in an update. It is not difficult, but all of these types of updates will be prioritzed for development and resources allocated based on priority.

    Tom Petty, he said: "the waiting is the hardest part."

  • Create an image gallery full screen with MSO - breaks the other buttons?

    Hi - I am trying to create an image gallery full screen to be accessible from any available via a button.  The ultimate goal is to use my layout as a presentation tool and allow the presenter to have a "Photo Gallery" button on each page, then they would be able to access an image full screen at any time.  Most of my layouts have other buttons, content drop down, etc.  I thought that I had a great idea: create a multi-state of the first State being blank object, and each subsequent State would have an image and also a black box from full screen to a transparency of 50%.  The problem is that now my other buttons are no longer works.  I confirmed that the existing buttons will work if they are willing to be in front of the MSO image gallery, but this isn't a good solution.  Am I missing something or is there an another workaround?  Thank you!

    John

    You must put the buttons within each State of the DSO.

    It isn't really a viable long-term model, you should probably rethink it is also not good from the point of view app performance because it requires the loading of images full screen for each State in memory.

    Neil

  • number, inherited from the other component format

    Hey guys,.


    I have a box of text ADF, where a user can enter a daily amount (decimal number). Then I get an output text, below, where I want to show a quantity time avarage. I put the value of the output with EL expression area {bindings.dailyValue.inputValue / 24}. Daily value text box has activated AutoSubmit and box of output a partial text defined as trigger area.
    I put convertNumber to each of these components with reason #. #, located some fraction max figures, and I am sure that only Integer property is set to false.

    When the user enters 123, the outputText should show 5.125 (123/24), however, it shows 5 only. When the user enters 123,01, the outputText should show 5.1254166666, but watch 5.13. It seems that the real format, the number of decimal digits, is somehow inherited the textInput.
    You have an idea on how is this possible and how to prevent?
    I use JDeveloper 11.1.1.3.

    Thank you very much!

    I suspect that the data type of your 'dailyValue' attribute is BigDecimal and this is the origin of the problem. When you perform an operation in division EL on a BigDecimal value, then the scale of the result depends on the scale of the operands (e.g. the value of the BigDecimal 123 on a scale 0, so the scale of the result is 0, the scale of the BigDecimal 123,01 value is 2, so the scale of the result is 2, etc.). This is how the BigDecimal objects perform a division (look at the Javadoc of the BigDecimal class for details). If you change the data type of the attribute 'dailyValue' duplicate, you should not have this problem.

    A better way is to perform the calculation in a managed bean (where you can control the precision of the result) instead of making the division directly in the EL expression.

    Dimitar

  • Automatic color correction with regard to the other layers

    Hello

    This thread is about Photoshop Color Correction the edges of a layer corresponding to the next layer below. Please see the image define:

    Untitled1.jpg

    I shot around 16 photos of the site above and less Photoshop > file > Scripts > load files into stack. After browsing and selecting my 16 stills, I checked "attempt to automatically align source Images". Above is the result. Photoshop fantascially aligned images, but because of the edges on separate layers, you can see the layers separately.

    My question is, can somehow, Photoshop can automatically correct the colors of the edges of a single layer, referring to the sub layer.

    Thank you

    -Amstos.

    After aligning, use Edit-> auto-merge layers...

  • Can ValueChangeListeners be able to toggle the other component

    I have the page where there are a few fields inputtext and buttons I want to toggle the button based on changes in value inputtext. Does anyone have a quick suggestion for her.

    The suggestion above should work. But, this will not work if you change the original value.
    The valueChangeEvent has getNewValue() and getOldValue() methods. This allows to compare and to toggle accordingly.

  • At the same time, both Firefox (with images, the other without)?

    Hello

    Is if possible to use two browsers firefox at the same time, one with active images, the other is disabled?

    Easy way on Windows: you'll need 1) the name of the second profile you have created, 2) a shortcut existing (already on the desktop, I hope) to Firefox.

    1. Create a copy of the shortcut, you can right-click on the shortcut and select send to > desktop. It will create a nice copy of second.
    2. Right-click on the copy and go to properties.
    3. In the 'Target' box, you should see something like "C:\Program Files (x86)\Firefox\firefox.exe" .
    4. After all (including the quotation marks) in the target box, add -no-remote -P <profile> where <profile> is the name of the profile that you created.
    5. For example, if the path to the firefox.exe am I guessed above, it would look like"C:\Program Files (x86)\Firefox\firefox.exe" -no-remote -P my-second-profile

    To run the second instance at the same time, simply use the new shortcut. The -no-remote flag tells him to start another process of Firefox, instead of simply to open a new window in the current.

    Never, ever run two separate processes with the same profile. This is the case, if evil.

  • Question about removing a HOST and add it again with the other IP management

    Thanks in advance for your help.

    I have an environment with two centers of data/clusters inside my virtual Center 2.5

    One of her consistes of clusters on two ESXi 3.5 licensed nodes. Each of them has 2 VMKernel ports form management. One of them has an IP (A.A.A.1) with any VLAN, the other port is in VLAN111 and IP (B.B.B.1). The other host ESXi has A.A.A.2 and B.B.B.2 IP.

    The other cluster has two 3.5 ESX (not i) and they have a single port/IP managemente (in the VLAN111, which is the same as the other cluster)

    The first cluster appears associated with the virtual center with the No.-VLAN port (IP A.A.A.1 and 2). Is a problem for me because I need to access the first cluster of other machines having no visibility on the A.A.A.x subnet, but it has visibility to the VLAN111. If I connect to the virtual Center, he shows me the IP A.A.A.x but when I try to access them, I can't.

    I would like to do the following WITHOUT affecting the first cluster:

    -Remove each host in my Center Virtual (The VM will continue to work without problem?)

    -Add each host the virtual Center, but this time I'll add the IP VLAN111 (B.B.B.x)

    My question is if these will generate instabilities problems on my dock.

    Thanks in advance

    This process has worked for us when the old VC (2.5) ESX Servers moving again VC (4.0).

    1 undo the HA and DRS configuration on the farm.

    2. unplug all battery ESX servers.

    3 remove all ESX server farm servers.

    4. Add the ESX Server to new cluster in VC (4.0).

    5. configure the HA and DRS on the new farm.

    Used for over 700 ESX servers with zero impact.

Maybe you are looking for

  • XML file recovery

    So I need help trying to recover a file. I clicked without saving on a lot of work and resulted in losing me a lot of pages of work. Frantically, I searched for ways to find this back but was left empty handed and even brought a software to help reco

  • On the rafale photo

    What do grey dots below the photo of a group photo service photo burst

  • How can I save a table 1 d of waveforms in excel

    How can I save a table 1 d of waveforms in excel. The picture is from a vi that reads and graphic a wav. file

  • TouchSmart HP ENVY 17 t-j100 as: symbol missing Windows 10 to register to this

    I can't windows 10 register symbol to appear in the toolbar of my laptop. I looked several places for an answer for this but all the solutions, they gave me didn't work. Get concerned the date for windows version 10 pushes closer

  • opening Windows Installer when you surf the web

    When I'm on the web, I get the Windows Installer opens and asks me to install Microsoft Office 2000 SR-1Professional. When I hit Cancel it opens up to 3 times more. When I install, it ask me for a disk and then moved. This is my desktop computer and