Obtain and hide all symbols of the child

I would like to identify all instances of symbols of child of my symbol mT and hide.

Something like this (except that it does not work):

childsymbols_d1 = sym.getSymbol("holder").getSymbol("d1").getSymbol("mT").getChildSymbols();

for(var i=0; i<childsymbols_d1.length; i++){ 
          childsymbols_d1[i].hide();
};

I don't want to use the timeline, because I have many symbols of the child and would like to make this operation on several other symbols.

I tried and it works.

I grouped the symbols in your in a div called Rect.

sym.getSymbol("holder") .getSymbol ("d1").getSymbol("mT"). $('rect') .children () .hide ();

Tags: Edge Animate

Similar Questions

  • I could hide a symbol with the name of a variable?

    I try to explain it...

    All I want to do is assign a string (the name of the symbol) to the same variable in multiple symbols:

    symbol var = "entrantes_sym";

    symbol var = "postres_sym";

    ...

    And then hide this symbol with the new created variable:

    sym.getComposition () .getStage (). $(symbol) () .hide;

    but work... help please!

    Solved! uuffffff...

    I have several symbols called onstage:

    entrantes_sym

    postres_sym

    platos_sym

    ...

    and I declare the same variable in all the symbols of the scene:

    symbol var = "postres_sym";

    sym.setVariable ("symbol", symbol);

    symbol var = "entrantes_sym";

    sym.setVariable ("symbol", symbol);

    then, inside the symbol called swipe_sym, I put this code:

    var point = sym.getParentSymbol ();

    var sym2 = stage.getVariable ("symbol");

    sym.getComposition () .getStage (). $(sym2) () .hide;

    swipe_sym symbol is a child of all the symbols of the scene.


    and the code works in all the symbols with just a few lines of code...


    Thank you.

  • How to Position a symbol of the child created dynamically.

    Hi all

    I created instances of symbols on the stage of

    for (alpha = 0; alpha < 5; alpha ++)

    {

    sym.createChildSymbol ("rect", "Stage");

    }

    Now, I wanted to set the position of each symbol - the problem is that I don't know the names of the instances of symbols that has been created. so I tried the following

    childSymbols = sym.getChildSymbols ();

    for (k = 0; k < 5; k ++)

    {

    childSymbols [k].css({"position":"relative","left":k*50});)

    }

    He did not set the symbols of the child where I need to be...

    However, when I tried to apply css to an element within the symbol has worked.

    for (k = 0; k < 5; k ++)

    {

    childSymbols [k].$("Rectangle2").css ({'position':"relative","left":k*50});})

    }

    Please can someone help...

    y = 0;

    x = 30;

    $.getJSON ('slides.json', {function (data)})

    for (alpha = 0; alpha)< 5;="">

    var s = sym.createChildSymbol ("rect", "Stage");

    s.getSymbolElement (.css({))

    'top': x + 'px ';

    'position': 'absolute ',.

    'right': y * 315 + 20 + "px"

    });

    x += 100;

    y += 100;

    } //for

    });

  • We have 2 phones and 2 computers and they all sound when the phone rings. How to change that? they all use the same apple ID

    We have 2 phones and 2 computers and they all sound when the phone rings. How to change that? they all use the same apple - ID we buy apps and music coming from the same account. It all works very well, but we don t like any other device to RING eveytime a phone rings.

    Thank you so much: D

    ON both phones, check the settings > phone > call on other devices > Off.

  • Frequently, my computer stops and restarts all am surfing the net? What should I do?

    Frequently, my computer stops and restarts all am surfing the net.  What can I do?

    Hello

    1. what type of internet connection do you use? What is a wired or wireless?

    2. you receive messages or error codes?

    2. did you of recent changes on the system?

    Step 1:

    You can check the following items and check if the problem occurs in safe mode with network.

    Start your computer in safe mode

    Startup options (including safe mode)

    Step 2:

    If you do not experience the problem in safe mode with networking, you can perform a clean boot and check.

    A clean boot to check if startup item or services to third-party application is causing this issue.

    You can read the following article to put the computer in a clean boot:

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    After the troubleshooting steps, please refer to clean the boot link to put the computer to normal startup mode.

  • Repeat parent node values in all rows of the child

    In the xml editor, how we could repeat the parent values in all rows of the child in Model Builder if there is more than one query in the sql report.

    Try


    or post the output example

  • Search and index of all projects of the child seem incompatible.

    Hello

    I have created a new master of the project and added a child project using RoboHelp 9 HTML to create a file HTML from Microsoft.  When I opened the master chm file, I can view the index for the complete project (master and child) as well as to search through the entire project.    Then I added another project of the child (after you have created an index in children) and rebuilt my master.  When I discovered the new master chm file, the index does not include second child, although it does not include the first child, and the search does not search the second child.  Any help would be greatly appreciated.

    Maybe the path for the second child is hardcoded? Hhp open it in Notepad and check what it says the MERGED FILES section. If you don't see a name of file, everything is good. If you see a path as well, which could explain why the search and index do not work.

    I'm not sure how you would get a path for a project and not for the other hard-coded, but it's possible I think.

    There was a recent suggestion that a fix for the hard-coded path is to ensure that the child chm exists in the main project before creating the fusion in the table of contents. If you don't want to keep the child within the main project, the only solution I know is a double compilation (compilation, open the HHP file and remove the path information in the FILES FUSIONNES section, then recompile) whenever you build a final version of the help.

    HTH

    Amber

  • Try to hide all traces of The SIMS 2, other users, especially in Indexing Options

    I tried to change the "Indexing Options" but that is the problem.  It seems that any program that has a place in the "start > all programs" cannot be hidden by the Vista Start button search engine, no matter what you do in the "Indexing Options".

    Is there maybe a way to remove programs from Sims of the ' Start > all programs "?  I would like to have in one place, preferably in a folder that I can give a name without a report and give the password.  And of course I need to hide all the search engine of the Start button.

    ... Any ideas?  Any chance this type of capability is available in a program that I could buy?

    Yes you can delete it. Just right click on the entry in the list of programs all and select "Delete" from the menu.

  • Remove the symbol of the child of the stadium

    Hi all

    I need help to remove a symbol of the scene.  I have a list of symbols that are called to the scene at a time in a simulation. When the user leaves a symbol, it is supposed to remove itself and call one another symol (specific).  For example.  I called the 'AR-HistAims' symbol to the scene to help

    var mySymbolObject = sym.createChildSymbol ("AR-HistAims", "Stage");

    mySymbolObject.getSymbolElement () .css ({'position': 'absolute', 'left': (mouseX - offset.left) / sx, 'top': (mouseY - offset.top) /sy});

    mySymbolObject.play ();

    It works very well.  I have put an invisible button in the timeline of symbols and when clicked I want to do two things.

    1. call "AR-percPass" (using the same code as before with a percPass instead of HistAims)
    2. delete "AR-HistAims" of the scene.

    I can't get #2 to work.  I tried the codes below and above the code # 1.  When it is placed above, it removes the current symbol, but does not call the new.  When it is placed underneath, the new symbol appears at the top of the old.  The codes I used are:

    var childSymbols is sym.getComposition (.getSymbols("AR-HistAims"));.

    for (var i = 0; i < childSymbols.length; i ++)

    childSymbols [i] .deleteSymbol ();

    and

    var mySymbolObject = sym.getParentSymbol ().getSymbol("mySymbol").getVariable ("AR HistAims");

    stage.deleteSymbol ();

    and

    1. sym.getParentSymbol () .deleteSymbol ();

    Any advice would be appreciated.

    Thank you

    Randy

    Hi Randy,

    There are a few corrections, you must perform in the index_edgeAction.js as file as follows:

    1 in, click Manager, you do not have access to mouseX, offset, sx, sy etc.

    mySymbolObject.getSymbolElement () .css ({'position': 'absolute', 'left': (mouseX - offset.left) / sx, 'top': (mouseY - offset.top) /sy});

    So, do like this:

    mySymbolObject.getSymbolElement () .css ({'position': 'absolute', 'left': 0, 'top': 0});

    Do this kind of changes for each click handler where you used mouseX, offset, sx, sy, etc., with values of left and top.

    2. just search sym.getSymbolElement () .deleteSymbol (); and replace it by sym.deleteSymbol ();

    3 comment out the line #1366 with the instruction sym.deleteSymbol ();

    4. search for the sym.getSymbol (home) .deleteSymbol (); and replace all occurrences of these sym.getSymbol("home").deleteSymbol ();

    With the changes mentioned above, things will work.

    HTH,

    Vivekuma

  • Hide all instances of the subform with a single line of javascript

    Is it possible to hide all instances of a subform with a single line of javascript?  I'm looking for something like this:

    repeatingSubform [*] .its presence = "hidden";

    but which caused the designer...

    Or do I have to loop through all instances of the subform and disable individually each of them?

    Thank you

    Elaine

    You must disable them individually

    Paul

  • Show all and hide all

    I created a simple topic using HR 2002 as follows:
    =================================================
    Login screen:

    Purpose: You can enter the main screen of the application
    Fields/as follows:

    1 user name
    2 password
    3 OK
    4 Cancel

    For each of the above fields, I created drop-down hotspot text (e.g. when I click on 'User Name', it displays content and so on...)
    ========================================================================================== =======

    My requirement is as follows:

    I want to create a ' display all the (button/text) on the right side of the subject, so that it displays all of the text hot spot that I created for all areas... and the 'Show all' button should change to "Hide all" and even if I click on the button "Hide all" text button hotspot should get hidden...»

    Is it achievable or cumbersome... can someone help me to achieve this...

    Thankx

    It is covered on my site.

  • HP laserjet 5610 but his training and prints all text on the last line

    LaserJet 5610 his training and prints all lines of text on a single line at the bottom of the page, thus, it comes as a big black line... Help!

    I uninstalled and reinstalled the printer (which is an officejet - laserjet not) and that fixed my problem...

  • How to fire the show or hide a symbol with the label of the timeline to another symbol? THX

    Hello.

    Basically what I need is for "Symbol_A" to show when the chronology of "Symbol_B" hits "label_1" and hide when the chronology of the hits "Symbol_B" "label_2".

    Add to label_1:

    sym.getComposition () .getStage ().$("Symbol_A").show ();

  • How can I create and organize a symbol into the symbols in the Illustrator?

    Hello

    I am trying to create a series of symbols for maps (North arrow, scale bars, etc.) and save them in the libraries of 'symbol' of the Illustrator - as the "cards".  The goal is that whenever I create a new Illustrator file, I can immediately grasp these newly created symbols without having to open another file and copy the line of the other file you want drawings (just trying to be more organized and efficient).

    I am at a loss. I understand how to make them in my drawing and break the link to change.  I also went as far to make a custom symbol and drag it onto the dialog box "Symbols" - but it wont let me to drag it into the dialog box "cards".  And even if I did drag a symbol in the dialog box - is it automatically saved?  There is no instructions on how to record the symbols the user creates.

    Help, please!

    Happy Thanksgiving,

    On a PC, they are in users AppData-> Roaming folder

    This file will be hidden by default

  • When I export a HTML element or publish on external FTP, Muse creates a 'active' folder and break all links to the images on these pages?

    Title says it all, I have a small site, I'm not a web designer, but I'm a graphic designer, so Muse was a big help with the work of web.  When I published the site / html export, it makes an active folder with secondary pages duplicated in it and nothing else.  In the root of the site, there is the original page2.html, page3.html, and page4.html.  I've linked my navigation buttons to these files, and when I exported, he created new files which broke all the links.  Any suggestions?

    Bryant

    Solved, thanks!

Maybe you are looking for

  • Windows Mobile 10: cannot play back the video. AVI

    Can play mp4 ok, but only noise and no picture during playback. AVI

  • e9200z: the fastest processor for e9200z

    I need to know what is the fastest processor / best I can update my system with. I have a HP e9200z CPU: AMD Phenom II x 4 925, Socket AM3 (938) Motherboard: Foxconn Aloe 1.01 Chipset: AMD 7895G Rev: 0.0 Southbridge: AMD SB700 Rev: 0.0 LPCIO: ITE ITI

  • Strange marks on the Filterglass - need help

    Hello After the first testshots with my F5, I noticed a few marks on the edge of the filterglass (you can see on the photo of attaced) I sent it to sony, they said they have erased all the brands in the 'white room' section and back. Today, I got my

  • Replacement of motherboard problem

    I have a Pavilion a1213w pc running Windows XP SP3 and recently the phones went out on this subject. I bought one that had the same room as my old HP except that it was a Compaq. When I reboooted my computer I got an error that says the system fan ha

  • The chart to the file. DImension problem

    Hello. I have a problem a XY chart from the files. I managed to establish a curve, but I need 3 charts plotted on a XY Chart. I have 4 txt files with tables 1 d (just a single column) of data. 1: the values of X, the rest 3 values Y. could you please