Reference a radiobutton in a group of components

I am new to export and work with catalyst for Flex project files. I imported a catalyst project into Flash Builder, and I have a problem.

This is my problem:

I have a component that contains a group that I must so I can add code to get the current value selected for the reference group. How can I make reference to this group? Catalyst the group name is "radioGroup". I don't see a reference like that in my Flash Builder project.

for example, it is similar to the structure of the component:

<>Group

...

< radiobutton id = "radiobutton2" / >

< radiobutton / >

...

< / Group >

Since I have an ID for the first item I thought I'd be able to get the parent group by referring to "radiobutton2". I don't know how to reference radiobutton2 with AS3 in Flash Builder/Flex.

Does anyone know how could reference "radiobutton2" so I can get the group like this: radiobutton2.group?

Thank you

-Eric

Main.MXML


http://ns.Adobe.com/MXML/2009.
xmlns:s = "library://ns.adobe.com/flex/spark".
xmlns:MX = "library://ns.adobe.com/flex/mx".
"minWidth ="955"="600"xmlns:local = minHeight" * ">
   
   
        public function getValues (): void
{
Label1.text = myGroup.radioButton1.value.toString ();
Label2.text = myGroup.radioButton2.value.toString ();
If (myGroup.radioButtonGroup.selectedValue! = null)
{
Label3.text = myGroup.radioButtonGroup.selectedValue.toString ();
}
on the other
{
Label3.text = "nothing selected";
}
}
]]>
   

   
   
       
   

   
   
   
   
   
   
   

MyGroup.mxml


http://ns.Adobe.com/MXML/2009.
xmlns:s = "library://ns.adobe.com/flex/spark".
xmlns:MX = "library://ns.adobe.com/flex/mx" >
   
       
   

   
   
       
   

   
   
   
   
       
   

   
   

Tags: Flex

Similar Questions

  • Mirror and rotation of whole groups of components layout

    How it is possible to rotate or whole groups of mirrored components? If you select a group of components and apply the mirror or rotation on each component group feature is mirrored or rotated separately and not as a group.

    Hi Nils,

    It is not really possible.

    If you enable a group of components and try to turn, each component will be rotatet for herself and not as a group.

    Other customers also wanted him have changed, they have created a post in our forum for the exchange of idea.

    http://forums.NI.com/T5/additional-NI-software-idea/MultiSIM-12-0-rotate-a-group-of-components-inclu...

    If you like this idea a cudos and write an own post in this forum. If you have enough fans, our R & D will try to implement this in the future of the versions.

    Best regards

  • Scale multiple objects, with the Center as a reference point, without moving the Group

    Hello-

    I want to scale multiple objects, their Center, without moving the group. I found how to change the objects of the Centre (setting of the reference point in the transformation to the Center and using the free transform tool Panel), but I would choose a bunch of objects and move towards the top of the Center, without the group get larger.

    I want to use it for the highlights on the plans. Say I have 25 small circles with numbers in them on the plan and I want to blow up to 200%, but I want to stay in the same place, is it possible to do both? Or do I have to re - intensify each object individually? The problem that I am running is even if I'm upgrading the scale objects from the Center, the moving objects and losing their place on the map. So, I made each of them individually.

    Thanks for any help!

    Not quite what you want, but if you make one, you can select the rest and the object > transform again > transform again individually.

  • REP - 1213 reference frequency below his column group

    Hello

    In a report (6i) he demonstrated error like "REP - 1213 F_SUM_COLLECTIONS_RATIO field.
    Column CS_COLLECTION_RATIO at a frequency lower than the reference group.
    I know, it is a problem to repeat the image problem: -.

    1. How can I check this error? And how can solve this problem?

    Note: -.

    Structure of the report is like that: -.
    ---------------------------------------------------------------------------------------------------------------
    sales Man | Sales | Sales_ratio | Collection | Collection_ratio | Sales/Collection_ratio
    ---------------------------------------------------------------------------------------------------------------

    ----------------------------------------------------------------------------------------------------------------
    Total: 100% * 100% * %
    ---------------------------------------------------------------------------------------------------------------

    In this sales_ratio, the collection_ratio, the sales? Coll._ratio I added columns formulas Corr. and create summaries
    Corr. of columns each.
    This summary columns having some problem.

    Hi Ngoyi,

    Where did you create your analytical column fields? Seeing your example of report, it seems there is no grouping. In this case create an analytical column outside of the design of your query (extensible data block) and there, you can call the fields and set the property to reset to the report. Make sure, when you add these fields in the report, place the fields outside of your extensible framework.

    Concerning

    MP

  • Selection of multiple radiobutton in a group

    I have 8 option buttons that I placed in a RadioButtonGroup. I need the user to select but several radio buttons they want and be able to follow their selections. I learned that the Flex RadioButtonGroup will allow only 1 selectable radiobutton (being active) at a point which is not what I'm asking.

    Is there a way for the above scenerio to handle? also if the user clicks a radiobutton already selected it must be deselected.

    Thank you

    Looks like you really want to use the components check box.

  • Reference Dell VSM supports 8 groups PS?

    Hello

    We have an average of vmware vcenter configuration.

    1 vcenter, 10 remote sites all have a ps4100 1 or more

    Installed the vsm, began to add only the s eql... that stopped with 8 groups.

    I can't add more MSM (only 1 vcenter)

    How to solve this?

    Kind regards

    Diederik

    I run dell vsm 4.0.1.2063

  • How to set the initial value for a single radiobutton in a group of Radio buttons

    Hi all

    I have a radiogroup with 3 buttons. The names of the RadioGroup are driven out of a XXVO.

    3 Radion buttons:

    + 9
    * XX
    * XXX

    When loading the Page I want to make an XXX option button to be the default, please suggest how.

    Note: The radiobutton values come from VO

    Thank you

    Hello

    XXCONTACT_ADDR_BUTTON1 - is the value of the radio button to select the right...

    Very well.. :))

    Concerning
    Meher Irk

  • How to place itself in a bunch of references to a sub - VI?

    In a Subvi, I use references to retrieve the current values of the control and change the properties of these controls in accordance with these values. I'm passing only three references in, but even if I table together to reduce the size of entry, they clutter up my block diagram. They also let me transform code spaghetti in a Subvi, that they remain consistent with editing-> create Subvi processes. Is there a better way to handle this?

    I like to group them logically references in a pseudo state machine. In State A I group in a cluster group A references, then go to State B, where I combine Group B references and so forth. I finally have a pile of references that may contain clusters grouped logically references. I do the final cluster a typedef and I usually create a vi with this cluster as input.

    On my comic book references are piled up in several State business taking less than space.

    Ben64

  • Dashboard for a group of virtual machines

    I want to create dashboards customized for groups of virtual machines.  These virtual machines will generally be a grouping of servers to make a request.

    For example lets say I have 6 Web servers that make up Webapp1.   and I want a dashboard that shows me the metrics of just these 6 servers.

    What is the best way to do it?  In general, we organize the virtual machine in files that represent the application.

    The dashboard would be your typical metric memory, cpu, storage (load) CPU Ready ect.

    Probably, there are two ways to go about it, here, my preferred approach is to use a service.

    A Service is a logical grouping of components in Foglight.

    When you build a service, you can specify which domain, it is a part of.

    In this example, I create a gtest service

    Specify that it is a part of the domain of vmware

    and then add virtual machines

    It looks like this

    Then I can just look at virtual machines in the service of the dashobard of the virtual environment by selecting the gtest service

    If I want, I can also create a dashboard and drag the getServiceVMs to the main view

    In the tree on the right data access to all categories of services and search service.

    Drag the getServiceVMs to the dashboard feature

    and select a model that works for me (as the summary lite)

    Or create a table with the right information (similar to this)

    The result will look like this

    Hope this helps

    Golan

  • Do not understand why this partition by does not include a function of group

    It's the oradocs

    SELECT name, salary, department_id,

    PERCENTILE_CONT (0.5) INTRA GROUP (ORDER BY salary DESC)

    COURSES (PARTITION BY department_id) "Percentile_Cont."

    PERCENT_RANK()

    COURSES (PARTITION BY department_id ORDER BY salary DESC) "Percent_Rank.

    Employees

    WHERE department_id IN (30, 60)

    ORDER BY last_name, salary, department_id;

    http://docs.Oracle.com/database/121/SQLRF/functions140.htm#i1000909

    I recently moved from analytical functions - the PARTITION OF analytical functions I practised so far have prescribed a group by article.

    I don't understand why it does not include a.

    Any tips?

    There is no need to include a GROUP BY in your query, simply because you use analytical functions.

    The main point of the use of analytic functions is to allow you to perform the aggregation or other lines of reference data without having to group data in the normal sense.  The 'score' window, is what defines the data group that you want to reference without actually the outcome of consolidation.

  • Some build-in panels are grouped with my plugin Panel in InDesign CC

    My settings for panelist look like this:

    resources LocaleIndex (kSDKDefPanelResourceID)

    {kViewRsrcType,

    {kWildFS, k_Wild, kSDKDefPanelResourceID + index_enUS}

    };

    / * Definition of panelist.

    */

    resources involved (kSDKDefPanelResourceID)

    {

    {

    1 group in the list

    kSDKDefPanelResourceID, / / resource ID for this Panel (use SDK by default ID rsrc)

    kMyPluginID, / / ID of the plugin which holds this Panel

    kIsResizable,

    kMTPanelWidgetActionID, / / Action ID to show/hide Panel

    "MyPlugin:Test", / / appears in the list window.

    "", / / Substitute the form menu path ' hand: Foo "If you want your palette in the second menu item to place

    0.0, / / menu replacing the position of the alternative Menu to determine the order of the menu

    kMyImageRsrcID, kMyPluginID, / / Rsrc ID, ID Plugin for a PNG icon resource to use for this palette (when it is not active)

    c_Panel

    }

    };

    resources MTPanelWidget (kSDKDefPanelResourceID + index_enUS)

    {

    __FILE__, __LINE__, / / macro location

    kMTPanelWidgetID, / / WidgetID

    kPMRsrcID_None, / / RsrcID

    kBindAll, / / Binding (0 = none)

    0, 0, 320, 386, / / framework: left, top, right, bottom.

    kTrue, kTrue, / / Visible, Enabled

    kTrue, / / clear the background

    kInterfacePaletteFill, / / Color Erase

    kMTPanelTitleKey, / / name of Panel

    {

    }

    "MyPlugin" / / name of contextual menu (internal)

    };

    The problem is that when I click on the window-> MyPlugin-> Test liquid integrated panels layout of the article and references are also open and grouped with my Panel. I don't understand what I'm doing wrong. The situation is the same with all the examples in the sdk that have signs. Help, please. 10 x in advance.

    My previous post was that this panelMgr-> GetPanelFromWidgetID (kMyPanelWidgetID) does not find the Panel when it is called in the initializer.

    I'm now deep - search the trees from the GetRootPaletteNode paletteRef, using PaletteRefUtils methods. For kTabPanelContainerType, I used panelMgr-> GetPanelFromPaletteContainer() to check the ID of widget, fortunately callers already works. For other types, I just go down the children.

    Three steps more to move the paletteRef found in a new floating window:

    columnRef = PaletteRefUtils::NewFloatingTabGroupContainerPalette(); kTabPaneType

    groupRef = PaletteRefUtils::NewTabGroupPalette (column); kTabGroupType

    PaletteRefUtils::ReparentPalette(myPanelRef,groupRef,PaletteRef());

    If you have several panels, Iterate step 2 + 3 to create groups (lines) per Panel, or just step 3 if they all end up stacked.

    Edit: I can find why GetPanelFromWidgetID did not work: apparently initializer priority is considered by plugin, so one of my signs in a plugin different just was not yet registered. Forget all that deep-search tips.

  • Create a group of cache problem

    Hello

    I have three tables T1, T2 and T3 in Oracle. The T3 table has two foreign keys F1 and F2 which refers to tables T1 and T2, respectively. When I try to create the cache group in TimesTen for table T3, I get the following error:

    «8211: user table.» T1 is not a member of the Group of cache.

    Here's the script for Oracle and TimesTen

    Oracle
    ======


    CREATE TABLE T1
    (ID1 integer PRIMARY KEY,
    A varchar (30));

    CREATE TABLE T2
    (ID2 integer PRIMARY KEY,
    A varchar (30));

    CREATE TABLE T3
    (ID3 integer PRIMARY KEY,
    OF THE varchar (30),
    Whole F1 references T1 (ID1),
    Entire F2 references T2 (ID2)
    );


    TimesTen
    ========


    CREATE GROUP OF READONLY C_T1 CACHE
    AUTOREFRESH INTERVAL 5 SECONDS
    FROM T1
    (ID1 NUMBER (38) NOT NULL PRIMARY KEY,)
    THE VARCHAR2 (30));

    CREATE GROUP OF READONLY C_T2 CACHE
    AUTOREFRESH INTERVAL 5 SECONDS
    THE T2
    (ID2 NUMBER (38) NOT NULL PRIMARY KEY,)
    THE VARCHAR2 (30));

    CREATE GROUP OF READONLY C_T3 CACHE
    AUTOREFRESH INTERVAL 5 SECONDS
    T3)
    ID3 NUMBER (38) NOT NULL PRIMARY KEY,
    F1 NUMBER (38) NOT NULL,
    F2 NUMBER NOT NULL, (38)
    FOREIGN KEY (F1) REFERENCES (ID1) T1,
    FOREIGN KEY (F2) REFERENCES T2 (ID2),
    THE VARCHAR2 (30));


    How can I create groups of cache of these paintings? Please notify
    Thank you

    Vishin Das

    There are two problems here:

    1. If you want to set a FK between tables cached in TimesTen then all tables must be part of the same group of cache.

    2. part of a group of cache, that you must have a single table at a higher level and all the other tables should be child tables of this table or one of its children. Which tables should be linked hierarchically.

    So at first glance you may not be cached in this series of paintings in TimesTen, but actually you can because...

    1. you do not have to set all the present FKs in oracle in cache TT groups. for groups of READONLY cache isn't generally a problem because FK execution happens in Oracle. Sometimes, it is not a problem for WAT cache groups either, but you know how the application handles data to be sure about this.

    2. all READONLY cache with the same AUTOREFRESH interval groups are updated in the same transaction; You can avoid transactional inconsistencies in the data in the cache.

    So the best solution here is probably:

    CREATE GROUP OF READONLY C_T1 CACHE
    AUTOREFRESH INTERVAL 5 SECONDS
    FROM T1
    (ID1 NUMBER (38) NOT NULL PRIMARY KEY,)
    THE VARCHAR2 (30));

    CREATE GROUP OF READONLY C_T2 CACHE
    AUTOREFRESH INTERVAL 5 SECONDS
    THE T2
    (ID2 NUMBER (38) NOT NULL PRIMARY KEY,)
    THE VARCHAR2 (30));

    CREATE GROUP OF READONLY C_T3 CACHE
    AUTOREFRESH INTERVAL 5 SECONDS
    T3)
    ID3 NUMBER (38) NOT NULL PRIMARY KEY,
    F1 NUMBER (38) NOT NULL,
    F2 NUMBER NOT NULL, (38)
    THE VARCHAR2 (30));

    CREATE INDEX T3_IX1 ON T3 (F1);
    CREATE INDEX T3_IX2 ON T3 (F2);

    Indexes are created based on the assumption that, when the application queries these tables cached, it is likely to join based on the PK/FK relationship. The presence of the indices will speed up joins immensely.

    Chris

  • Font of pages share between devices?

    I use Pages (and Keynote) between an iMac and iPad - both on the latest OS versions - the set of fonts is different.  The police STANDARD defined for each device, yet I am constanty given errors because the document created on a device does contain no fonts used when opening on the other device.  Very annoying!

    Is it possible to get the same fonts on both so I get errors and my document will retain no have reformatted?

    The short answer is no.

    OS X and iOS are different implementations, like the Pages of iOS and OS X. On OS X, and probably on iOS also, Pages and Keynote do not install fonts. They are provided by the operating system itself, and on OS X, other applications of putting the files in the directories of system fonts, or put you in your local library/Fonts folder.

    Apple applications include references to fonts, but not grouping fonts with the documents or provide it as an option.

    It is a problem of the quality control of Apple.

  • Several panels of Sub to call same VI

    Hello

    I would like to create a test sequencer allows to test on several device at the same time.

    I just created a VI that has 2 panels sub to call the sequencer.vi, both panels void able to run the test in parallel and asynchronously.

    Now my problem is, if my VI has test on the device 50 at the same time, develop the block diagram is the only way can do?

    Someone at - it better idea to come easier maintainbility and sustainability?

    Here, I have attached my VI.

    Thank you.

    It is possible, just create references to the sub-panels, group them into a table, and use a loop for.

  • How to bed a HWS file that contains 2 tracks, in labview? (error-21508)

    Dear experts,

    I have been using an acquisition card PXI-5105 to save the data of 2 channels at the same time (from different sensors).

    So far I've read Matlab files, taking into account, the name of the group, the name of the track and the coefficients of each channel. I was able to post-process the data in Matlab. I have attached an example of the kind of files that I'm handling if it can help, inside a zip.

    Now, I want to implement this post-processing (FFT, etc.) in Labview. I tried to use examples such as "hws_low_level_read.vi" or even the load HI-HWS Express utility to check the file, but it seems difficult to read because of the 2 channels recorded within the same file.

    The 21508 error appears in the 'Get Wfm reference.vi niHWS'. Making reference to:

    21508 error occurred at niHWS get Wfm Reference.vi

    Possible reasons: NIHWS: there is no group in the file that corresponds to the provided group

    And it seems strange to me, because I use the same group name (wfm_group0) and trace (vector0) I used in Matlab.

    All that I'm missing? No clue on how to read somehow?

    Thank you very much in advance for your help

    Best regards

    Inigoa

    Hi all

    I've been faced with that problem today and I just wanted to post here how I finally found a way to read the data.

    It's so easy that I'm a little ashamed, but I think that it is worth to answer in case someone would need.

    The "Get wfm reference niHWS' request for a group name and a name of the waveform. I used the "niHWS name Get Group' and 'Get wfm name niHWS '. Both have outputs direct (strings) with information that includes "niHWS Get wfm reference". You can link directly.

    But in fact, in reading the data that I found the name of the Group didn't need to be met, and the waveform name is '0' or '1' in EAC you have 2 channels.

    So, you see, it was very easy for my HWS file: put a control, and then select '0' or '1' for the name of a waveform. The more simple the better, jejeje.

    I hope it helps. And sorry for the opening question I now address myself. Yesterday, I was completely lost.

    Best regards

    Inigoa

Maybe you are looking for