How do I "show" a symbol in the symbols panel, then "hide" it again?

So. I feel like this must be easier than I'm making it but I can't seem to get it right, any help would be greatly appreciated.
I need to create a bunch of robust symbols and import each of them, but I'd like to leave them all inside the symbols panel if possible (for simplicity on the main timeline and because there will be many, many of them with a ton of interactivity in each).
When I'm on the main timeline, (which is basically just a slideshow of static .png files) I'd like to have a click event "open" a symbol called from the symbols panel and then be able to "hide" it again by clicking a close button within that symbol.
Is this possible? I'm sure it is, but sym.$("symbol").show(); and sym.$("symbol").hide(); aren't working for me–unless I'm placing them on the wrong elements. Neither is .toggle();
So basically the scenario is: I'm on a particular "slide"(png) on the stage, I click it, a symbol opens up, I click around and play animations etc., close it with a close button and keep on going with the slideshow where I was before I opened the overlaid symbol.
Again, any help would be greatly appreciated.
Cheers.

Hello,
Here is a case:
var mySymbol = sym.createChildSymbol("details", "Stage");
mySymbol.getSymbolElement().css({"left": "20px", "top": "20px"});
x ==> left
y ==> top

Similar Messages

  • How to..Show a wait dialog when data loads, then hide once data loads

    Description: This code will have the SAP default wait dialog become visible when the page loads and hidden after the data is returned for the table.
    1. Place this code within the head tags.
    <head>
    <SCRIPT Language="JavaScript">
    function show_wait_dialog () {
    document.body.style.cursor = "wait";
    document.getElementById("SAPBWProcessBoxSpan").style.setAttribute("display", "block", false);
    document.getElementById("SAPBWProcessBoxSpan").style.setAttribute("visibility", "visible", false);
    document.getElementById("SAPBWProcessBoxSpan").style.setAttribute("overflow", "auto", false);
    document.getElementById("SAPBWProcessBoxSpan").style.setAttribute("width", "255", false);
    document.getElementById("SAPBWProcessBoxSpan").style.setAttribute("left", document.body.offsetWidth/2-125, false); document.getElementById("SAPBWProcessBoxSpan").style.setAttribute("top",
    document.body.offsetHeight/2-38, false);
    function hide_wait_dialog () {
    document.body.style.cursor = "auto";
    document.getElementById("SAPBWProcessBoxSpan").style.setAttribute("display", "block", false);
    document.getElementById("SAPBWProcessBoxSpan").style.setAttribute("visibility", "hidden", false);
    document.getElementById("SAPBWProcessBoxSpan").style.setAttribute("overflow", "auto", false);
    document.getElementById("SAPBWProcessBoxSpan").style.setAttribute("width", "255", false);
    document.getElementById("SAPBWProcessBoxSpan").style.setAttribute("left", document.body.offsetWidth/2-125, false); document.getElementById("SAPBWProcessBoxSpan").style.setAttribute("top", document.body.offsetHeight/2-38, false);
    </script>
    </head>
    2. Place this code right after the <body> tag.
    <body>
    <!-- New Code -->
    <script>
    show_wait_dialog()
    </script>
    3. Lastly, place this code below right after the Table Item and before the </body> tag. (in this case GR1Table)
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="GR1Table"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
             <param name="DATA_PROVIDER" value="DP"/>
             <param name="WIDTH" value="700"/>
             <param name="BLOCK_SIZE" value="3000"/>
             <param name="SHOW_PAGING_AREA_TOP" value="X"/>
             <param name="HELP_SERVICE" value="ZPRINTING"/>
             <param name="HELP_SERVICE_CLASS" value="Z_PRINTING_HELP_SERVICE"/>
             ITEM:            GR1Table
    </object></P>
    <P>
    <!—New code --&#61664;
    <script>
    hide_wait_dialog ()
    </script>
    </body>

    This is very helpful. Thanks.

  • How can I show album art in the mini player when playing songs from a plugged in iPhone?

    How can I show album art in the mini player when playing songs from a plugged in iPhone?
    When I play from my phone and switch to the mini player it's always showing the music notes in the thumbnaill. It'd be nice if it could get album art off of the phone.
    I'm on iTunes version 11.0.4.4

    He @mracole,
    it is very nice that you post a solution to complete the library with artwork for album's that do not have an artwork. Your solution perfectly addresses the problem for assigning artwork, BUT this thread is about CHANGING artwork for albums already uploaded into iTunes Match. Just try to replace for example a blue artwork cover for an album with a red one. If you made it in a simple way (without deleting the album from iTunes Match and local changes on the files with an external ID3-Application or 2 or more iTunes libraries on different Mac's) this is the right place to give a solution. I really tried for hours to change the artwork to make them visible in landscape cover flow mode on my iPhone5. In rare cases I made it, but then the covers sometimes where restored to the old onces - exacly how it is mentioned by Starhawk
    As long as there is no simple way to change the cover of an iTunes Match stored album (you can change title, artist and so on without hitting "update iTunes Match" over all distributed Library on different devices - this date will be synchronized almost instantly) I considered the behaviour from iTunes as BUGGY! For me the local artwork cache (and if there is any iCloud artwork cache - I don't know) do not interfere with iCloud. Even when I delete the whole local cache (album artwork music - everything) I do not manage to change the artwork.
    Regards from Munich, Germany

  • How can I display on a string the symbol omega (ohms)

    how can I display on a string the symbol omega (ohms)

    Hi,
    See there : http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=50650000000800000032410000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0
    Hope this helps !
    Julien

  • How can I show Totals in at the footer?

    Hi,
    I want to create a List (Report) with a Number column say (Amount), and there are certain number of transactions on the page. How can I show Total Amount at the bottom of report?
    Thnx in advance.

    BalusC, thnx for ur help. This means there is no other way that v we can add some number columns using jsp. In anyways we will have to populate totals using backing beans.
    Thank u very much :)

  • How do you show thumbnail images for the contacts?

    How do you show thumbnail images for the contacts on the iPod?
    -Thank You

    In another thread I posted a suggestion to try when the iPhoto app in the Application folder will not work:
    after upgrading the OS, iPhotos (and Aperture for that matter) should still be in the Applications folder...
    And running well in 10.10.3.
    If it stops running in a next "update" do not throw it away: most apps will continue running as follows:
    In the Applications folder "rightclick" (CTL+click) the iPhoto app, then "show package contents", then click the MacOs folder open: you see the real app (dark grey), rightclick this and choose "make alias", an alias is made, move this alias to the Applications folder and use it to run iPhoto.
    Same for Aperture.
    In older OS this survived several upgrades....
    Lex

  • How do I show applications running in the background? And how do I close them down? In class, the instructor press something but she did not go into Settings. Does anyone know?

    How do I show applications running in the background? And how do I close them down? In class, the instructor press something but she did not go into Settings. Does anyone know?

    Double-click the home button that will bring up all the applications in the background.
    To close then you swipe the application upward and it will close.

  • HT4061 my iphone4 has a broken lock screen button. im struggling to turn it on, when i plug it in it keeps restarting showing the apple sign then turning off again. any ideas how to fix this problem?

    my iphone4 has a broken lock screen button. im struggling to turn it on, when i plug it in it keeps restarting showing the apple sign then turning off again. any ideas how to fix this problem?

    That happened to my brother earlier. He went into Facebooand then into another app and the same thing happened. he ended up having to restore it. Mine stayed with the Apple logo for a bit but its back to normal after pressing the buttons a million times. I hope you get your problem sorted. Goodluck!

  • TS3212 i am trying to buy a song on itunes and every time i try this always pops up "payment information required tap to continue sign in" and the payment info shows up and them doesnt do anything then i try again and the same thing happens!!! What do i d

    Please answer with in the next 5 minutes
    Thank You!!

    sorry to bother you.. but did you get any tips or answers on how to fix the issue you had in relation to your question.. by any chance.. (TS3212 Re: i am trying to buy a song on itunes and every time i try this always pops up "payment information required tap to continue sign in" and the payment info shows up and them doesnt do anything then i try again and the same thing happens!!! What do i do??)
    Sep 13, 2012 5:17 PM

  • TS3212 Re: i am trying to buy a song on itunes and every time i try this always pops up "payment information required tap to continue sign in" and the payment info shows up and them doesnt do anything then i try again and the same thing happens!!! What do

    TS3212 Re: i am trying to buy a song on itunes and every time i try this always pops up "payment information required tap to continue sign in" and the payment info shows up and them doesnt do anything then i try again and the same thing happens!!! What do i do??Mar 6, 2014 7:07 AM (in response to pdsechser)

    sorry to bother you.. but did you get any tips or answers on how to fix the issue you had in relation to your question.. by any chance.. (TS3212 Re: i am trying to buy a song on itunes and every time i try this always pops up "payment information required tap to continue sign in" and the payment info shows up and them doesnt do anything then i try again and the same thing happens!!! What do i do??)
    Sep 13, 2012 5:17 PM

  • How do I delete a link in the link panel?

    I have moved an item out of the links folder on a project I am working on in IDCC and when opening the project it tells me, rightly, that a link is missing. When I go to the links panel I see the alert that the linked item is missing, which I know, and I want to delete the link in the links panel but see no option to do this, also the delete key does nothing when the item is highlighted, and right-click (^ click) offer no delete choice either. How can I delete this item in the links panel?
    TIA,
    Ken

    Amazing how the hot weather has affected me. Thank You Peter - so logical - I missed it while thinking of 15 other elements and a hurried deadline...

  • How to make a photo STAY in the assets panel for future use for In browser editing?

    How to make a photo STAY in the assets panel for future use for In browser editing?
    When I delete a photo from a page, it does not stay in the assets panel. My client uses in browser editing daily. Once a week he changes a photo just for a day, then needs the previous photo to replace it. The original photo is not in the asset panel (or folder) for him to choose.
    When you upload a photo, it has an arrow in the asset panel. How do you use this as an asset?

    Sure ... right mouse click on  your page and choose 'Exclude Page from Menus' :-)

  • How many steps can be recorded in the History panel?

    In Photoshop, 20 steps can be recorded in the Histroy panel with the defult setting, and we can change the setting to record more or less steps by choosing "Edit> Preference".
    In Lightroom, how many steps can be recorded in the History panel with the defult setting? And how can we change the number of step to be recorded?

    I guess since the history is kept in the database (and not only in memory as with PS), there is not so much an issue in limiting them.
    Beat Gossweiler
    Switzerland

  • How can you minimize or (turn) off the "side panel" in Web Intelligence in the view mode.

    How can you minimize or (turn) off the "side panel" in Web Intelligence in the view mode.
    It is possible to turn on/off options within the Side Panel by Customization of Groups.
    But it seems You cannot influence the way Web Intelligence present (minimized or Off) the Side Panel in the IE??
    Is there a solution for this??
    If not, it would be a nice property of a Web Intelligence document in a future release.

    Hi Nico,
    we patched up to BI 4.1 SP 3 Patch 2
    and look look
    click side panel to minimize
    so .. patch patch ...

  • Add "make unique symbol" to the symbol context menu

    There are many times I need to make a "variation" of a symbol that should also become a symbol. The current method requires several unnecessary steps. I'd like an option in the "Symbol" context menu called "Make unique Symbol". It would duplicate the current symbol in the symbol palette and link the current symbol instance to it.

    I agree the context menu entry is useful and I also use TMP for it. Firefox does have a built-in option to duplicate a tab. Hold down the control key, then drag the tab onto the tab bar and it will create a duplicate.
    You may already be aware, but there is a development version of Tab Mix Plus for Firefox 4 available from http://tmp.garyr.net/forum/viewtopic.php?t=10888

Maybe you are looking for

  • Airplay problem with 2012 MacbookPro w/ Mountain Lion

    I have a 2012 MacbookPro that I recently purchased. I also just bought the AppleTV 3. I upgraded to the Mountain Lion last week and initially the airplay icon showed up in the menu bar, as well as the display in system preferences and I was able to m

  • How to change the content of a text input?

    Hi! I would like to help me with the following I've create and input text, for example this: var one= sym.$("one") one.html("Enter your answer: "); inputOne = $('<input />').attr({'type':'text', 'value':'', 'id':'one'}); inputOne .css ('font-size', 1

  • PO item deletion if downpayment exists

    Dear Experts, How to delete a PO line item if downpayment exists for that line item.  My client had created an import PO by selection wrong vendor code.  Hence local pricing proceedure had been determined instead of import pricing proceedure.  Downpa

  • How to access work node in a HDInsight cluster?

    Hi, Is there any way to access the work node? I want to check the worker's status/performance. Thanks, David Regards, David Shen

  • How not to check mail for VPN only mail accounts?

    I have a internal mail server that is only accessible via VPN. How can I tell the iPhone not to check the mailbox without first being connected via VPN?