Trying a symbol of inside another symbol show() and play()

Hello world!


I'm running on a problem that is driving me crazy.

I have the following case:

-1 symbol (_Page_Background) containing an animation with the trigger next @0 s:

Hide the symbol
sym.getParentSymbol ().$("_Page_Background").hide ();

Stop it

SYM. Stop();

-1 element (B_TOYS), inside a symbol (BUTTONS) with the trigger 'click' next:

Showing the symbol _Page_Background

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

Start playing it

sym.getComposition () .getStage ().getSymbol("_Page_Background").play ("INTRO");

The _Page_Background symbol starts hidden, as it should. But when I click on the button (B_TOYS), nothing happens. Although everything worked fine before I turned my buttons in symbols...
I guess the problems lies with the function 'show()', because I have other buttons that works properly, but they don't show/hide anything, they just play()

Am I missing something?

Thank you in advance for your help!

Hi, Dimitri.

You're close enough.  The show() command requires the jQuery handle, so you should use:

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

Hope that helps!

-Elaine

Tags: Edge Animate

Similar Questions

  • Symbol click and play timeline page '1', how?

    Hi, I do not know how to ask him...
    I'm creatine... page and I need meniu by the symbol... hmmm...
    How what predefined in the symbol M1 of TEST1 set? pls I really need :/

    a1.jpg

    a2.jpg

    a3.jpg

    Hi, you use a symbol to invoke an action on the main stage. How do you set now M1 is looking for 'TEST1' on the chronology of the M1. You will need something like that to say the symbol to reference your main timeline. sym.getComposition () .getStage () ("TEST1") .play;

  • Get the ID of a dynamically created symbol library, inside another symbol.

    Hello world

    I'm trying to get the id of a dynamic created symbol library.

    When you dynamically create the symbol directly on the stage (or the level of the composition), there is no problem.

    But I can not function when you create the symbol inside another symbol.

    A few examples using 'getChildSymbols()' and 'aSymbolInstances '.

    // USING "getChildSymbols()" /////////////////////////////////////////////////////////////////////////

    ON THE STAGE

    var m_item = sym.createChildSymbol ("m_item", "Stage");

    var symbolChildren = sym.getChildSymbols ();

    console.log (symbolChildren [0] .getSymbolElement () .attr ('id')); / / ok eid_1391853893203

    / / Inside a SYMBOL OTHER

    var m_item = sym.createChildSymbol ("m_item", sym.getSymbol("holder").getSymbolElement ());

    var symbolChildren = sym.getSymbol("holder").getChildSymbols (); / / I use this maybe wrong?

    console.log (symbolChildren.Length) / / returns 0 if can't ID is

    ' USE 'aSymbolInstances "".

    ON THE STAGE

    var m_item = sym.createChildSymbol ("m_item", "Stage");

    console.log(sym.aSymbolInstances[0]); / / ok (I guess) x.fn.x.init [1] 0: #eid_1391854141436 div

    / / Inside a SYMBOL OTHER

    var m_item = sym.createChildSymbol ("m_item", sym.getSymbol("holder").getSymbolElement ());

    console.log (sym.getSymbol("holder").aSymbolInstances [0]); / / Error Javascript in the event handler. Type of event = element

    In this post http://forums.Adobe.com/message/5691824 is written: "mySym.aSymbolInstances will give you a table containing all the 'names' when you create symbols"

    Would be - this only works on the scene / composition level only and not inside a symbol?

    The following methods to obtain the same are indeed possible, but I do not simply want to use them in this case:

    (1) storing a reference to the symbol created in a table and call it later by index.

    (2) giving the elements an ID manually on the creation and use of document.getElementById () thereafter.

    I can't believe that this is not possible. I am probably missing something here.

    Forgive me that I am a newbie using Adobe Edge!
    I really hope that someone can help me here.

    Anyway, thnx in advance people!

    Kind regards

    Lester.

    OK, I solved my problem by using the (simple) code below.
    I guess that 'getChildSymbols()' and 'aSymbolInstances' only works on stage / level of the composition.

    Just thought I'd share this to everyone. Peace!

    var m_item = sym.createChildSymbol ("m_item", sym.getSymbol("holder").getSymbolElement ());

    $.each (sym.$("holder").children (), function (index, obj) {}

    Console.log ($(sym.$("holder").) ([Index] Children()) .attr ('id'));

    });

  • Trigger the chronology of a symbol by clicking on an element inside another symbol

    I've set up a "button within a symbol. I want this button to trigger the chronology of another symbol (which is also on the stage) I tried this code:

    sym.getComposition () .getStage ().getsymbol("Invent_Anim").play ("begin");  It is an action of 'click '.

    but it does not work.

    Any ideas?

    Ok. I've just updated the file.

    https://www.box.com/s/dcpe4xvdu6h9391gy5yd

  • Show/hide the problem and playing of the symbols

    Hello.

    I have a problem with the instructions Show/Hide and play - my problem here:

    I have 4 buttons (symbols) in the stadium: "sectionOption1a_Btn", "sectionOption1b_Btn", "sectionOption1c_Btn" and "sectionOption1d_Btn".

    I also, what I call, 4 'options': 'Option1a', 'Option1b', 'Option1c', 'Option1d'.

    Each of these symbols of 'Options1X' have a 'melted' and 'melted' animation - 0 ms and ms 2000, respectively (within them).

    Each button runs each own option:

    "" 'sectionOption1a_Btn' ' CLICK ' symbol 'Option1a' tracks

    "" 'sectionOption1b_Btn' ' CLICK ' symbol 'Option1b' tracks

    "" 'sectionOption1c_Btn' ' CLICK ' symbol 'Option1c' tracks

    "" 'sectionOption1d_Btn' ' CLICK ' symbol 'Option1d' tracks

    All "Options1X" are hidden, except one that is active.

    The problem:

    Let's say I have "Option1c" active and I want to go to the "Option1a". So, I click on "sectionOption1a_Btn". When I do this, I want the "Option1c" to run is "bland out' (inside himself, to 2000 ms) and then run " Option1a" 0 ms - it is own"fade"while keeping all the other "Options1X" hidden, of course."»

    I hope that I didn t more complicated my explanation.

    Here´s a schema:

    Schematic Control buttons.jpg

    Thanx.

    Hi there, you can implement such a feature in 2 tracking variables. YER essentially saying 'currentOption' to unfold on click of a button and the definition of the "requestOption" according to the click button. At the end of the coast anim current outro, yer by calling the 'playRequest' function to play the requested side.

    Put this question to the stage.compositionReady event:

    var currentOption = null; / / a, b, c and d

    var requestOption;

    called by the event of timeline.complete at the end of each Option

    sym.playRequest = function() {}

    sym.getSymbol("Option1"+requestOption).play ("is");

    currentOption = requestOption;

    }

    called when the button is clicked

    sym.btnClick = function (request) {}

    requestOption = request;

    {if (currentOption)}

    sym.getSymbol("Option1"+currentOption).play ("fadeOut");

    } else {}

    sym.playRequest ();

    }

    }

    Put this on a button click:

    sym.getComposition () .getStage () .btnClick ("a"); / / or b, c and d for each button

    Put this question to the event timeline.complete of each Option symbol:

    sym.getComposition () .getStage () .playRequest ();

  • I just bought a new computer and re-installed Firefox. Now, when I surf I get no attention (or not) of symbols showing how security is the Web site. Why not?

    On my old computer with Firefox, when I used a search engine and keywords, all sites that displayed had a color code beside him who showed how the security of the Web site was or was not. On my new computer w / Firefox, I get no color symbol showing the security of the site.

    Hello, this is no functionality to firefox integrated but provided by an extension, likely of WOT. You can just add it as addon on your new system again...

  • target a movieclip from inside another movieclip

    target a movieclip from inside another movieclip

    I want gotoandplay symbol timeline from the main timeline

    Clicking on 1, I want to goto inside 5. 5 timeline not. This is the main scenario. but I want to go symbol 5 chronology

    Thus, the code I use is:

    Stop();

    movieClip_1.addEventListener (MouseEvent.CLICK, fl_ClickToGoToScene);

    function fl_ClickToGoToScene(event:MouseEvent):void

    {

    MovieClip (circle) .gotoAndPlay (1);

    }

    instace.jpg

    Here I wan to go

    ok.jpg


    If inside5 is the object on the same timeline as movieClip_1 and you want the circle target is a child of inside5, use:

    inside5. Circle.gotoAndPlay (1);

  • AbsoluteFieldManager inside another Manager

    Hello. I'm trying to place my AbsoluteFieldManager inside another Manager. Basically, I want my absManager at the bottom of the screen (like setStatus). I couldn't find a way to achieve this properly so I created a HorizontalFieldManager, setStatus (hManager) and now I wanted to add the absManager to hManager but it gives me an error saying that it is already apparent.

    What I'm trying to do, is have a bar of tabs at the bottom of the screen, what I did with success in using hManager. The thing is that I want to place my tabs where I want.

    Any help would be greatly appreciated.

    Thank you.

    I just setPadding instead of setMargin and it works. Background image of the horizontalFieldManager seems to stop at the margin, so the margin of a HorizontalFieldManager with a background image the assignment will result in white space.

    Thanks for the help.

  • A number of pixels inside another object by defining an object?

    Hello everyone, starting here.  I feel like this is a question with a simple answer, but I can't seem to find what I'm looking for, so I'll try to explain here.

    I want to know how to set an object a number of pixels (horizontally and vertically) inside another object.  I have rasterized showing preview, but it shows the artboard, I believe, not in relation to the specific object.  Any help would be greatly appreciated! Thank you!

    You can align the edges of the objects and then select the object to be moved and type + 5 at the end of the coordinated field X or Y in the range of transformation to shift the position of 5 pixels (assuming that your units are in pixels; otherwise, type + 5px)

  • I'm trying to download the 2 files for CS3 Master Collection ADBESTAMCS3_ESD1_WWE.7z tried several machines and settings.  He seems to have almost done so failing shows and. part.

    I'm trying to download the 2 files for CS3 Master Collection ADBESTAMCS3_ESD1_WWE.7z tried several machines and settings.  He seems to have almost done so failing shows and. part.

    Use another browser or another connection (cable), a download manager.

  • How to configure the size of the symbol % (width and height)

    How to configure the size of the symbol % (width and height)

    shoud you have your symbol in % and also your image in % file, when you have changed both of the theme to % then your image will change as expected.

    and if you want to make your image immutable able and set the position that you need to change your % step also

    I made some photos to show you...

  • Whenever I tried to enter in gmail it closed showing an error message

    Whenever I tried to enter in gmail it closed showing an error message

    Operating system

    Windows XP Service Pack 2

    Yes, it's probably a few add-on you have in your Firefox. Start Firefox in safe mode to temporarily disable all add-ons (extensions, themes and plugins) and see if the problem persists.

  • I can't open microsoft office outlook. It says cannot open the outlook window. I tried to run "outlook.exe/resetnavpane, but it shows and error msg 'make sure you typed the name correctly and then try again.

    I can't open microsoft office outlook. It says cannot open the outlook window. I tried to run "outlook.exe/resetnavpane, but it shows and error msg 'make sure you typed the name correctly and then try again.

    I can't open microsoft office outlook. It says cannot open the outlook window. I tried to run "outlook.exe/resetnavpane, but it shows and error msg 'make sure you typed the name correctly and then try again.

    There is a SPACE between 'exe' and ' / '. You didn't have that. That's why.

    Please copy and paste it in the search box ot Run box... outlook.exe /resetnavpane

    t-4-2

  • trying to update my windows but it shows the found error Code 80070017

    I'm trying to update my windows but it shows the found error Code 80070017, I installed Microsoft fixit center to solve the problem, but the problem persists, in addition to this Windows Secuirty Center service is off please guide me how to do?

    Hello

    1. what day you're talking about?

    2. what Microsoft fixit you talking?

    3. don't you make changes to the computer before the show?

    Please follow the steps from the link below.

    http://support.Microsoft.com/kb/956704

  • I am trying to reinstall vista on another laptop and when I get to the last step (end Installation...) it stops, about 70% of the way through. Now what? I tried to repeat the process about 6 times now!

    I am trying to reinstall vista on another laptop and when I get to the last step (end Installation...) it stops, about 70% of the way through.  Now what? I tried to repeat the process about 6 times now!

    Sorry for the confusion.  I must be useless to English.

    Forget the two laptops.
    I have a problem with a laptop that I tell you all (the Inspiron 1720).
    The disc that I use is labeled as a Windows Vista reinstall disk and provided with the computer when I bought it.  I'm not trying to use it on another computer.

    Reference Dell it is a problem with a process of recovery of Windows and, therefore, a problem of Microsoft.

    See you soon

    Problems with the Dell restore process, contact Dell.
    Dell wrote their recovery process and provided you with this DVD, NOT Microsoft...

    It is their software.

    Ask them for a different recovery DVDs.

    You say that the hard drive has failed.

    He could have more than just tough that failed.
    You can have other hardware issues.

    Hardware issues are beyond the scope of these Forums.

    Good luck with Dell.

    See you soon. Mick Murphy - Microsoft partner

Maybe you are looking for

  • iPhone 6 more touchscreen doesn't work anymore, any suggestions?

    I had used my phone all morning while shopping. When I got home, I tried switch between applications, but the touch screen has failed. I did a hard reset and still the screen is unresponsive to the touch and now I can't unlock my phone because it req

  • with an average

    Hello everyone, I have a question about signal average in labview. Please help me. I have two entries of signals to my LabView code, one comes from a function generator (in saw teeth with a frequency of 10 Hz and amplitude of the 0.4V) and the other

  • Compaq CQ58: Default printer

    I have my desktop connected to my printer, a Canon MG5150. In devices and printers, it is the only printer figure and is not a tick against it as default printer. When I right click on the device the drop down does not list the option "Set as default

  • Help code 646

    I keep coming up with a code 646 in updates for kb981715 and kb980729. Did anyone else keep getting these errors or am I alone? If anyone has the help I would appreciate it as well. Thank you

  • BlackBerry Smartphones out of the Holster... In case?

    I received my BB from a friend so I got was the phone it self so please excuse me if I ask stupid question lol... What is a case and what is the diff between case and in case?