Question of nested symbol

I'm sure this has already been answered. I could not find.

I have a symbol that contain the other three symbols in it. I have put on the main symbol of the action and want to access the nested symbols and I couldn't understand it.

mainSymbol

childSymbol_01

childSymbol_02

childSymbol_03

My code works fine on the main symbol:

TweenMax.to (sym.$("mainSymbol"), 1, {css: {opacity: 0}, ease:Expo.easeOut});})

How to access the nested symbol

I tried without success:

/ TweenMax.to (sym. $(getSymbol ("childSymbol_01")), 1, {css: {opacity: 0}, ease:Expo.easeOut});})

That has not worked, but your response that I saw that I do not use the "$" for the child.

Here's what I did:

var myVar = sym.getSymbol("parent_Symbol").$("child_Symbol")

TweenMax.to (myVar, 0, {css: {opacity: 0}, ease:Expo.easeOut});})

It works fine and I can access the child using myVar.

Tags: Edge Animate

Similar Questions

  • How to target a trigger to a nested symbol scene

    How to target a trigger to a nested symbol scene.

    Seems that your problem is on board animate. If so, please ask your question at http://forums.adobe.com/community/edge_animate

    Animated border CC This forum is specially for the edge questions inspect.

  • Issues animating the symbol of another nested symbol instance

    Quite the odd question here got to animate a symbol when mousing over or a symbol that is nested inside a symbol. You can see the example here. Overview of the word VISION. What is happening is another symbol is animated down using JQuery animate function. Mouseover on bring him upward.

    What is really? The symbol sometimes animated up and down uncontrolably. He ends by stops, but not necessarily to the correct place. It's because of all the nesting? I try to keep it as clean as possible, that's why I'm nesting symbols. Much as I would like a model Flash way back when.

    Here's the mouse for btnVision code:

    var myBtnVision = sym.getSymbol ("btnVision");

    myBtnVision.play ();

    try {}

    var point = sym.getComposition () .getStage)

    Stadium. $("secVision").animate ({top: 100}, {duration: 1000});

    } catch (error) {}

    If (console & & console.error) console.error ("an error occurred:" + Error.ToString, error);

    }

    and here's the mouseout/mouseouthandler():

    var myBtnVision = sym.getSymbol ("btnVision");

    myBtnVision.playReverse (500, false);

    try {}

    var point = sym.getComposition () .getStage)

    Stadium. $("secVision").animate ({top: 70}, {duration: 1000});

    } catch (error) {}

    If (console & & console.error) console.error ("an error occurred:" + Error.ToString, error);

    }

    I have a dropbox folder with examples in what follows:

    https://www.dropbox.com/s/ccgapo20p233h7z/rollover.zip

    Solved! It was just a little extra JQuery code that did the trick. Essentially by inserting a stop action.

    try {}

    var point = sym.getComposition () .getStage)

    Stadium. $("secVision").stop () .animate ({top: 100}, {duration: 1000});

    } catch (error) {}

    If (console & console.error) console.error ("an error occurred:" + Error.ToString, error);

    }

  • Other issues of syntax on nested symbols

    I have a symbol timeline that does everything that I need to do, except to access a function in the symbol of the scene. I would have thought that the call of the function in the symbol of the scene of a nested symbol (which is loaded dynamically, if that makes a difference) would be something along the lines of:

    sym.getComposition () .getStage () .gotoNextSlide ("slide5");

    but no luck. I can alert the scene itself as [Object Object], which raises another question. Is there a property always available objects that can alert or trace to ensure that the correct object is meant? I had no luck with the symbol id, name, or NomSymbole.

    change:

    function gotoSlide (slideName) {}

    fadeTo (slideName);

    }

    TO:

    sym.gotoSlide = {function (slideName)}

    fadeTo (slideName);

    }

  • Control the nested symbols

    Hello. I use CC animate and try to build an animation for the deployment of HTML5/canvas.

    I nested a symbol within a symbol, but I can't seem to solve the second level nested symbol.

    The name of the instance of the parent symbol is called 'Planet10' and the name of the instance of the symbol in the symbol of the "Planet10' is called 'OrbitingRedMoon '.

    My code looks like this:

    This. StopMoon.addEventListener ("click", fl_MouseClickHandler_4.bind (this));

    function fl_MouseClickHandler_4()
    {
    This. Planet10.OrbitingRedMoon.stop ();
    }

    I tried different versions of the line that contains the "stop()" command but can't seem to do things.

    Can someone help me understand how to address correctly in a symbol, the symbol?

    Thank you!

    This is the correct way.

    Double check for typos.

  • playReverse the symbol that has nested symbols in order

    Dropbox - AE - TEST 3

    Hello

    Having a problem with the playReverse method. Basically, I would like to know if you can playReverse a symbol animation that nested symbol/animations?

    Above dropbox link is the project file.

    In the attached draft 3 Test, I have symbol called "animation-4-master. In this context there is 2 symbols, 'animation-4-start' and "animation-4" which play in sequential order."

    In the project, I have two theses keys 'BEFORE' and 'Backward'.

    What should happen is when you press the next button, the symbol/animation parent plays forward, play animations nested in the order, that is fine.

    When I do the opposite which is playReverse, the parent timeline goes to the end where it should, but then only plays the 2nd animation (animation-4) and he plays forward, not even back. The first nested animation (animation-4-start) do not even get played.

    I have inserted console.log markers to indicate points of 3 position both forward and reverse, so here goes, how do you know what makes the timeline.

    I can easily play each animation nested by itself since the reverse button, but I want to play the animation parent, in order to play the two animations embedded in the reverse order.

    There is no trigger that move to the position of the playhead, they produce just console.logs to try to solve this problem.

    Any help would be great.

    Mick

    Another version: display timelines.zip - Box

    I've posted all of the timelines. You have four maturities.

  • Buzz.js: How its set of nested symbols?

    Hello

    I loaded buzz.js and it plays well with this code:

    var mySound = new buzz.sound ("soundfolder/C:\myaudio", {format: ["ogg", "mp3"]});

    mySound.play ();

    Now, if 'var mySound = new buzz.sound' is Stage.creationComplete, how can I play this sound of a nested symbol? Can someone give me a code example? Thank you

    Try:

    sym.getCompostion () .getStage ().getSymbol('symbolName).mySound. play();

    or do the global variable (var remove) and add the code for the game in the symbol.

  • Question of syntax nested symbol

    I'm dynamically loading 'slides' on the stage. In the symbol which is responsible on his script, I have the following:

    var icon = sym.$("honIcon");

    Icon.Hide ();

    This works as expected. However, the following does not work:

    var icon = sym.$("honIcon");

    Icon.CSS ('cursor', 'pointer');

    Neither binder of triggers such as

    var icon = sym.$("honIcon");

    Icon.bind ("Click", showToolTip);

    function showToolTip() {}

    Alert ("received message");

    }

    Suggestions?

    I have:

    Add this

    SYM.$("slideContainer1"). CSS('z-index',1000);

    line 70

    in the slide:

    var icon = sym.$("honIcon");

    SYM.$('HON_tooltip'). Hide();

    {Icon.Click (Function ()}

    SYM.$('HON_tooltip'). Show();

    });

  • Select the event inside the nested symbol does not

    It's actually based on a previous thread located here: http://forums.Adobe.com/message/5596353#5596353

    I thought about adding to this thread, but in many ways it deserves it's own separate discussion.

    I used the Zaxist examples and AMULI put in place successful. On a navigation bar located directly in the root.

    Now, the question is the same thing with a menu that is nested inside a symbol.

    In my example, I have a button that when you click on anime a symbol of navigation bar down. This works. Also, the LINK button retains its background color set to black until the user clicks another button in the main navigation bar. OK, he has no other button in this example. So just pretend and believe me, it works.

    Now in the nested clip, there is a similar function I Illustrazione in the compositionReady. Then I added my actions to each of the four buttons inside the symbol navlink nested. The rollover/rollover effects work well. But the click event shows an error. It is basically the same click event in the navigation bar on the root, which does not have an error.

    My code inside the compositionReady is;

    Reset the State of each button

    buttons = {}

    Reset: function() {}

    sym.getSymbol("btnLink").$("back").css ({"opacity": "0"})

    }

    }

    which button?  Zero means no!

    We set this variable to get know e what button

    WB = 0;

    Reset each State buttons Sub

    buttonsub = {}

    Reset: function() {}

    sym.getSymbol("btnCommunication").$("back").css ({"opacity": "0"})

    sym.getSymbol("btnIndividuality").$("back").css ({"opacity": "0"})

    sym.getSymbol("btnCreativity").$("back").css ({"opacity": "0"})

    sym.getSymbol("btnInclusivity").$("back").css ({"opacity": "0"})

    }

    }

    which button?  Zero means no!

    We set this variable to get know e what sub button

    SB = 0;


    I would like to only it where there are two functions. One for all main buttons and the other for all the buttons of the child. This way I can have two buttons stuck to the hover effect when you click them in order. If all goes well, that makes some sense.

    Here is my event click in the button "btnIndividuality" inside the symbol navLink nested:

    buttonsub. Reset();

    sym.getSymbol("btnIndividuality").$("back").css ({opacity: 1})

    SB = 1;

    The other three buttons are basically the same.

    So I tried a number of ideas. Especially goes directly from the stage and drilling down into JQuery. Nope.

    So the Firebug error is 'Javascript error in the event handler. Type of event = 162 item line ' we of edge.2.0.0.min.js. It's this line:

    function (a) {if (a) {if(!this.aSymbolInstances) this.aSymbolInstances = []; this.aSymbolInstances.push (a.getSymbolElement ())}}; Y = Function (a, b, c) {function f (c, b) {if (b.length > = 2 & & typeof b [0] = 'object' & & typeof b [1] = 'object' & & b [1] .Guy! == "onError") {var e; e = d.Event ("onError"); if (g) e.compId = g.getComposition () .compId; e.originalEvent = b [1]; d (doc indicator) .triggerHandler (e)} window.console.log ("Javascript error in the event handler.}} Type of event = "(+a)} var e = this [b [0]], g;" = If (typeof e = "function") if (b.slice (1), a = 'element') return function() {var;

    Why would I get this here and not on the root? What is the correct path to make it all work? If close, but not home right now.

    Files are located in:

    https://www.dropbox.com/s/xlgfeeyam9hyuf3/nested.zip

    Oops! Sorry, without my knowledge, that it was published before it is completed

    (3) thus, using Firebug, you get this when you trigger a click event

    In other words, sym.getSymbol ("btnCommunication"), the first statement in your buttonsub.reset function fails.

    In your mind, sym points to the instance of navLink, parent of the instance of btnCommunication.

    But the buttonsub.reset function is defined in the compositionReady event handler, so when it runs sym points until the symbol of the scene, which has no child symbol instance named btnCommunication. Where the bug.

    Therefore, the context of symbol should be past to the function as a parameter. Set it like this:

    buttonsub = {}

    reset function: ( symClick)

    {

    symClick.getSymbol("btnCommunication").$("back").css ({"opacity": "0"})

    And call it like this:

    buttonsub. Reset ( sym);

    In other words, the formal parameter symClick will receive as the effective setting, this actually sym sym pointing to the instance of navLink.

    Gil

    .

  • Question of nested initialization Tables collection

    When I'm this operation with Index by table it works howerver not able to perform even with the Tables IMBRIQUEES

    DECLARE

    TYPE column_record IS TABLE OF employees % rowtype

    INDEX BY PLS_INTEGER;

    EmpData column_record;

    I PLS_INTEGER: = 100;

    BEGIN

    WHILE I < = 200 LOOP

    SELECT * INTO empdata (i)

    EMPLOYEES

    WHERE employee_id = i;

    i: = i + 10;

    END LOOP;

    I: = 100;

    WHILE I < = 200 LOOP

    DBMS_OUTPUT. Put_line (EmpData (i). FIRST_NAME. "Work on the profile ' | EmpData (i). Job_id |' a salary '. EmpData (i). SALARY);

    i: = i + 10;

    END LOOP;

    END;

    /

    Steven is working on a salary 24000 AD_PRES profile

    John works on a salary 8200 FI_ACCOUNT profile

    Matthew is working on a salary 8000 ST_MAN profile

    Mozhe working on profile ST_CLERK has salary 2800

    Joshua working on profile ST_CLERK has salary 2500

    Peter is working on a salary 10000 SA_REP profile

    Louise is working on a salary 7500 SA_REP profile

    Tayler is working on a salary 9600 SA_REP profile

    Winston works on the SH_CLERK a salary 3200 profile

    Timothy working on SH_CLERK a salary 2900 profile

    Jennifer works on the AD_ASST a salary 4400 profile

    PL/SQL procedure successfully completed.

    Now when it is run with the IMBRIQUEE TABLE:

    SQL > DECLARE

    2 TYPE column_record IS TABLE OF employees % rowtype;

    3 empdata column_record;

    4 I PLS_INTEGER: = 100;

    5 BEGIN

    6 WHILE I < = 200 LOOP

    7 if he would CHOOSE * IN empdata (i)

    8 EMPLOYEES

    9. WHERE employee_id = i;

    10 i: = i + 10;

    11 END OF LOOP;

    12 I: = 100;

    13 then I < = 200 LOOP

    14 DBMS_OUTPUT. Put_line (EmpData (i). FIRST_NAME. "Work on the profile ' | EmpData (i). Job_id |' a salary '. EmpData (i). SALARY);

    15 i: = i + 10;

    16 END LOOP;

    END 17;

    18.

    DECLARE

    *

    ERROR on line 1:

    ORA-06531: Reference to an uninitialized collection

    ORA-06512: at line 7

    Too much remedy that I have included the following line:

    And then I'm stuck with another error.

    SQL > DECLARE

    2 TYPE column_record IS TABLE OF employees % rowtype;

    3 empdata column_record;

    4 empdata: = column_record();

    5 I PLS_INTEGER: = 100;

    6 BEGIN

    7 then I < = 200 LOOP

    8. SELECT * IN empdata (i)

    9 EMPLOYEES

    10. WHERE employee_id = i;

    11 i: = i + 10;

    12 END LOOP;

    13 I: = 100;

    14 then I < = 200 LOOP

    15 DBMS_OUTPUT. Put_line (EmpData (i). FIRST_NAME. "Work on the profile ' | EmpData (i). Job_id |' a salary '. EmpData (i). SALARY);

    16 I: = i + 10;

    17 END OF LOOP;

    18 END;

    19.

    EmpData: = column_record();

    *

    ERROR on line 4:

    ORA-06550: line 4, column 9:

    PLS-00103: encountered the symbol "=" when expecting one of the following conditions:

    constant exception < an ID >

    < a between double quote delimited identifiers > double long Ref table

    char time timestamp interval date binary character national nchar

    The symbol '< identifier >' has been substituted for "=" continue.

    Guide gently on the correct way to do it.

    Do you miss extend

    DECLARE
       TYPE column_record IS TABLE OF employees%ROWTYPE;
    
       empdata   column_record;
    
       i         PLS_INTEGER := 100;
    BEGIN
       empdata := column_record ();
       empdata.extend(200);
       WHILE i DECLARE
       TYPE column_record IS TABLE OF employees%ROWTYPE;
    
       empdata   column_record;
    
       i         PLS_INTEGER := 100;
    BEGIN
       empdata := column_record ();
       empdata.extend(200);
       WHILE i
    
    Steven Working on Profile AD_PRES has salary 24000
    John Working on Profile FI_ACCOUNT has salary 8200
    Matthew Working on Profile ST_MAN has salary 8000
    Mozhe Working on Profile ST_CLERK has salary 2800
    Joshua Working on Profile ST_CLERK has salary 2500
    Peter Working on Profile SA_REP has salary 10000
    Louise Working on Profile SA_REP has salary 7500
    Tayler Working on Profile SA_REP has salary 9600
    Winston Working on Profile SH_CLERK has salary 3200
    Timothy Working on Profile SH_CLERK has salary 2900
    Jennifer Working on Profile AD_ASST has salary 4400
    
  • First Pro N00b question about nested frameworks, I just can't google.

    I have two clips, one nested inside the other. The 'outside' (this shows how n00b I am, I'm sure there's a term better than this) is now displaying a frame I want to change. I open the nested (or) sequence, and it's on a different image. This framework is very hard to find. How do I automatically select two tabs?

    Nevermind guys, I thought about it. You'll probably laugh, but it seems that it does not count as 'opening' a sequence of nested at least that I've "shut, her" first. An already open opening sequence he can't frame. (Maybe a feature useful to add?)

  • Targeting of the scene of in a nested symbol

    I am trying to create an interactive "powerpoint-ish' ee presentation.

    I founded some parts of the functionality to disable the model of 'ArticleBrowser '. I build various "slides" as unique symbols. Every symbol has an invisible button on top that 'listen' swipeLeft and swipeRight to play the scenario front and back, stopping at certain points on the timeline.

    What I want, it's only at the end of "drag-1' he tells the content div to play 'slide-2'." I tried to add this piece of code of a trigger at the end of the timeline, but seems not to do anything. When you swipeLeft shut up just back on his own chronology:

    Empty container of content

    sym.getComposition () .getStage () .sym. $("content") .empty ();

    Create the symbol for article

    sym.getComposition () .getStage (). sym.createChildSymbol ("slide-2", "content");

    I have a few buttons on the stage itself (on the top of the content div) that work with this code "onClick" (which was copied straigth from the model "ArticleBrowser"):

    Empty container of content

    SYM.$("content"). Empty();

    Create the symbol for article

    sym.createChildSymbol ("slide-2", "content");

    Any ideas where I'm wrong with this?

    Thanks in advance,

    Evert Krooswijk

    At the first glance:

    Additional symbol in your code:

    sym.getComposition () .getStage (). sym. $("content").empty ();

    should be

    sym.getComposition () .getStage ().$("content").empty ();

    sym.getComposition () .getStage (). Sym.createChildSymbol ("slide-2", "content");

    should be

    sym.getComposition () .getStage () .createChildSymbol ("slide-2", "content");

    See my article on the symbols of targeting on edgeHero.com

  • How to access the symbols on the main timeline of the nested symbol

    I have read the JSAPI edge but still no way to make it work.

    Very simple: you click on a button, a window will appear. the button that makes the window appear is supposed to hide elements of what he does. HOWEVER when I want to use a close button in the symbol (window) to make these symbols appear again, it does not work.

    Inside the symbol I tried:

    sym.getComposition () .getStage ().getSymbol("openTabButtBlack").show ();

    Does not work.

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

  • What is the correct syntax to hide a div on the scene within two nested symbols?

    Hi everyone, I recently started using Adobe Edge and had some prior experience with Flash.

    I have a button with a click inside two symbols action that should hide a symbol placed on the stage, which in turn is the symbol of the mother.

    I tried to use the following code, but it did not work:

    SYM.$("STEP1"). Hide();

    Thank you!

    Nuno

    You must get the symbol in order to play, and in the above code, you access its handle jQuery (and not get the symbol). Try this instead:

    sym.getComposition () .getStage ().getSymbol("Step1").play ("Step1_fade");

    HTH,

    Joe

  • How to access the chassis lable on the main stage of a nested symbol

    All-

    I have two buttons

    btnA on the main stage

    btnB is nested inside btnA

    How to access a lable of frame on the main stage of btnB

    Hi, zontaluma-

    This should work:

    sym.getComposition () .getStage () .play ("label");

    -Elaine

Maybe you are looking for