Delete child symbol from stage

Hi All,
I need help deleting a symbol from the stage.  I have a list of symbols that are called to the stage at some point in a simulation. When the user leaves one symbol, it is supposed to delete itself and call up another (specific) symol.  For example.  I called the symbol “AR-HistAims” to the stage using
var mySymbolObject = sym.createChildSymbol("AR-HistAims", "Stage");
            mySymbolObject.getSymbolElement().css({'position':'absolute','left': (mouseX - offset.left)/sx , 'top': (mouseY - offset.top)/sy});
            mySymbolObject.play();
This works fine.  I place an invisible button in the symbols timeline and when it is clicked I want it to do two things. 
call up “AR-percPass” (using the same code as above with a percPass in place of HistAims)
remove “AR-HistAims” from the stage. 
I can’t seem to get #2 to work.  I’ve tried codes below and above the code for #1.  When placed above, it deletes the current symbol, but doesn’t call up the new one.  When placed below, the new symbol appears on top of the old one.  The codes I've used are:
            var childSymbols=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
sym.getParentSymbol().deleteSymbol();
Any advice would be appreciated.
Thanks
Randy

Hi Randy,
There are a few corrections you need to make in index_edgeAction.js file like as follows:
1. In click handler, you don't have access to  mouseX, offset, sx, sy etc.
     mySymbolObject.getSymbolElement().css({'position':'absolute','left': (mouseX - offset.left)/sx , 'top': (mouseY - offset.top)/sy});
     So, make it like this:
     mySymbolObject.getSymbolElement().css({'position':'absolute','left': 0 , 'top': 0});
     Make these kind of changes for every click handler where you have used mouseX, offset, sx, sy etc, with appropriate left and top values.
2. Just search for sym.getSymbolElement().deleteSymbol(); and replace it with sym.deleteSymbol();
3. Comment out line#1366  having statement sym.deleteSymbol ();
4. Search for sym.getSymbol(home).deleteSymbol(); and replace all such occurences with sym.getSymbol("home").deleteSymbol();
With the above changes, things will work.
hth,
Vivekuma

Similar Messages

  • I can not delete the $ symbol from template "green grocer" under invoice templates!

    I can not delete the $ symbol from template "green grocer" under invoices, how do I do it, so it will stay deleted and not just keep coming back?

    Select the cells:
    Go to Inspector >Table > Format > Cell Format > Number or whatever you want other than currency.
    The table is actually a spreadsheet.
    Take the time to investigate where all the formatting resides in toolbars, menus and inspectors, most of it is where you would expect to find it.
    Peter

  • How to delete child appleid from family sharing on ios 8 ipad

    I have two apple ids for one child in Family Sharing. How do I delete one?

    I have the same question.  I'm about sick of reading people referring me to the above link that King refers to.  Primarily becuase it does NOT address the question at hand.  That question is "How do you delete a child Apple ID?". I know I've seen that you can not remove adult ones, but apple does not you "can" do it, but doesn't show "how" to do it.  In my personal case, I need to delete the one I made and create a new one.  This is because having an incorrect child apple ID in my family share takes 1 spot away from my sharing.  I need to remove the child ID from my share plan to create a corrected apple ID for her.  The above linke King posted states,
    "Children under 13 can't be removed from a family.  If you need to, you can transfer the child to another family or delete their apple ID." Now..the phrase "child to another family" is hyperlinked and clearly shows how to do this.  But the "delete their apple ID" is NOT hyperlinked.  So we continue to search for our original answer that I haven't found since iOS 8 was released and I bought my iphone 6 on release day.
    Now on that topic, the family share is messed up HARD for children.  Heres why, while I wait to find out how to delete the incorrectly typed apple ID I made, I tested how it works for my 6 y/o, who was very excited to get her own iphone 5 (w/o cell cervice, glorified itouch).
    1.) While testing it out with the bad ID, I created the family share as the ogranizer.  I then added my wife and made her a Parent/Guardian".  Howver, despite this, when the "child" ID requests permission to purchase something in itunes, it only sends it to my wife and not me.  This shoudl go to both parents! If you want one or the other, make a setting.  Otherwise, if its flagged as an organizer or parent, they should have the power.  After all, as the organizer, she was verified as MY child through my credit card but I can't authorize the purchase as the organizer. Do what? Come on!
    2.) When my daughter asks to buy something, she has to put in a password.  This is simply nuts. My 6 y/o needs to put in a password for PERMISSION to ask her parents to buy something. Of which the parents then authorizes the purchase via either a password or fingerprint scan.  What non-parent thought this up?
    3.) To update an app on my daughters iphone requires her to request permission for each and every app, despite there being an update all.  This means, she has to put the password in on every...single...update...individually. Update all does not work. This means we need to authorize each update too...My God...really?
    4.) On the topic of passwords. Again, CHILD account ID. Apple requires passwords to be 8 characters, has to have an upper and lower case, can't be a simple word, has to have a number. I mean..lets sit and think about this.  a CHILD with such a complex password needing to be entered each time to update an individual app and ask permisison.  If its a child, it means the responsibility should be put on the parent.  Have the OS route the request to ME and let me put the password in for my child.
    5.) Whats the point of Auto Update? I mean, if I APPROVED these apps to go on my daughters phone, then it should AUTO UPDATE itself! It does not! Really?
    6.) How can apple advise in the FAQ's to delet the apple child ID but doesn't hyper link to it? Is someone really that dense?  It sure scares the DEATH out of me to try apple PAY! >.<
    7.) As I sit here looking at my family share settings, this very second, and I look at my daughters ID in there (the incorrect one I need to fix), there is nice itty bitty language on how to transfer an apple ID and a hyperlink there.  This is a GREAT spot for DELETE APPLE ID!  You know, I even logged into apples main management Apple ID section...you can't even delete the ID there either.
    8.) The WHOLE point of the family share is so you can share up to 6 people. BUT, if you try to download prior purchases on the new account's, you get an error message saying that this was previously purchased BUT you are unable to download it (For what ever reason) on every one.  Thank GOD I realized I can manually FORCE the crap onto her phone by pushing it from my desktop computer to hers.
    I mean...how can a "high tech" company be so obtuse? If you can't get CHILDREN policy right, how will your Apple Pay policy work out?
    Sincerely,
    A very disgruntled parent!

  • Append Child symbols from XML and more

    Hello,
    I am trying to dynamically create set of symbols and change their contents from an XML
    I've managed to get the XML part and creating the Div dynamically.
    What I didn't got is how to apply data from XML to inner symbol divs
    such as <name>something</name> from the XML to text div in EDGE
    is there a way to control/access the newly created Symbols?
    Attaching the project so far.
    http://www.elijahu.net/download/append.zip
    Thanks for your Help.
    Elijahu.

    ==> Positioning a Dynamically Created Symbol
    Well,
    To change the entire instance, you use: .getSymbolElement().css(...)
    To change an instance element, you use: .$("elementName").css(...)
    $(xml).find('listing').each( function(){
                    var itemRenderer = sym.createChildSymbol("itemRenderer", "xmlContainer");
                    itemRenderer.getSymbolElement().css("display": "inline-block");
                    itemRenderer.$('name').html($(this).find('name').text());
                    itemRenderer.$('textBox').html($(this).find('text').text()).css("color","white");

  • Editing symbol from stage

    I'm a very new newbie, so please forgive me if I don't use
    quite the right words to describe my problem. I'm going through the
    lynda.com tutorial on Flash Pro 8, and I'm in the chapter on
    symbols. The instructor describes two ways of accessing the symbol
    in order to edit it when you are in stage view: double click on the
    symbol in the library (which worked just fine for me) or
    double-click on the symbol on the stage (which did nothing for me).
    Is this strange? Is it worrisome? Am I going to miss all the fun
    because I can't do this? Has anyone else encountered this? Does it
    work for anyone else who uses a Wacom tablet?
    Thanks for any insights y'all can provide!
    ~Valerie

    It should work - is your Edit bar open? It is located a cross
    the top of the
    timeline (depending on version). It will show you a bredcrumb
    trail of where
    you are in whatever symbol in relation to the stage. Window
    > Toolbars >
    Edit Bar.
    Verify after double clicking you can see that you have
    entered Edit in Place
    mode. This has nothing to do with using a Wacom or not.
    Adobe Certified Expert
    www.keyframer.com
    www.mudbubble.com
    (if you want to email me, don't look)
    "valerieab" <[email protected]> wrote in
    message
    news:g6vtvq$n18$[email protected]..
    > I'm a very new newbie, so please forgive me if I don't
    use quite the right
    > words to describe my problem. I'm going through the
    lynda.com tutorial on
    > Flash
    > Pro 8, and I'm in the chapter on symbols. The instructor
    describes two
    > ways of
    > accessing the symbol in order to edit it when you are in
    stage view:
    > double
    > click on the symbol in the library (which worked just
    fine for me) or
    > double-click on the symbol on the stage (which did
    nothing for me). Is
    > this
    > strange? Is it worrisome? Am I going to miss all the fun
    because I can't
    > do
    > this? Has anyone else encountered this? Does it work for
    anyone else who
    > uses a
    > Wacom tablet?
    >
    > Thanks for any insights y'all can provide!
    >
    > ~Valerie
    >

  • How do you delete a symbol from the home screen?

    Don't ask me how, but I have added an unwanted symbol on my home screen.  It is a link to a web page that I did by mistake.

    Hold your finger on it and it will shake and have a + sign in the left corner.
    Click that + to delete.
    Scott

  • Help, please! to stop animation of one symbol from anover or stage

    I'm not a great specialist in jquery, but I've had to deal with it. And have some expirience... But i can't do an elementary thing in edge animate, i guess. So, help me please!))
    I need to stop some child symbols from the timeline of parent symbol(or Stage). On the timeline of stage, i have trigger. At this moment all the child clips have to stop as one...
    I try to insert into trigger this code:
    (child clips names: 'stan', 'bizan', 'bak')
    var stantostop = sym.$("stan");
    stantostop.stop();
    var bizantostop = sym.$("bizan");
    stantostop.stop();
    var baktostop = sym.$("bak");
    stantostop.stop();
    and I'm sure, I'm doing something wrong(!!!), cause nothing changes.
    If you cant help, please advice me some source with a lot of examples of typical operations and commands like this! So thank you for reading!

    Thank you very much for your answer. I,ve started three topics before i,ve got an answer!)
    But I think I have some different problem
    It is in the organization of my clips:
    Stage->Ship_going->Ship_swinging->stan
    Stage->Ship_going->Ship_swinging->bizan
    Stage->Ship_going->Ship_swinging->bak
    Stan(and overs) are the clips wich are looped, and thats why, I think they can,t stop.
    (They are the flags of ship. And the problem is in that fact that when ship stop i want to stop all animation including the loop animation of flags, then I want to deleete all clips, but I cant delete this clips in the same way Icant stop them)
    I can show the example of my clip for you(itis rather amusing)))) and i guess you shall understand what i'm talking about)))
    Can I send you the zip with clip?
    elainefinnell wrote:
    Hi, Strashevsky-
    You don't need to refer to the jQuery object if all you want to do is stop the timeline.  You can simply do this:
    sym.getSymbol("stan").stop();
    OR
    var stantostop = sym.getSymbol("stan");
    stantostop.stop();
    Hope this helps get you pointed in the right direction!
    -Elaine

  • Unable to get realtime position of animated child symbol's div from parent node (Stage)

    hi,
    for a data viz project, i've created an animated child symbol which changes its position on realtime basis. however, for some calculation purposes, i'm not able to keep track of the  realtime position of the div through stage as it is only showing me fixed value (starting position of the child div).... can anyone help? or is there a way to make global variable which can store position value in child symbol and i can access those values on the main stage???

    Try these in compositionReady. Adapt the scope of your element.
    var symTop = sym.$('Rectangle').css('top');
    var symLeft = sym.$('Rectangle').css('left');
    Then use the variable value where needed.
    or
    var position = sym.$("Rectangle").position();
    console.log( "x or left: " + position.left + ", y or top: " + position.top );
    var x = sym.$("Rectangle").position().left;
    var y = sym.$("Rectangle").position().top;
    console.log("x=",x,"y=",y);
    var coord = sym.$("Rectangle").position();
    sym.$("test_Text").html("x:" + coord.left + "<br>y:" + coord.top);

  • What is the best way to delete dynamically-generated symbols from another symbol?

    in the onClick handler for 1 symbol, I have:
    var sandwhichQty1 = sym.createChildSymbol("sandQty1", "Stage");
    another symbol inside sandQty1 has the onClick method:
    this.deleteSymbol();
    which works fine, deleting sandQty1. I'd like to delete it, and others, from another button, in the circumstance where users don't close them this way.
    I notice that id and class are dynamically assigned to the child symbol, which makes it hard for me.
    any ideas?

    Hi, I did it in this way, and functions well; maybe this is not the best way, but worked for me. Obviously this code is based on the elainafineell's correct solution.
    This is my scenario:
    In a Trigger @ xxxxms there is that:
    var i = 1;
    $.each(results, function(index, element)
         var s = sym.createChildSymbol("mySymbol", "someContainer");
         // some code here
         // Creating the variable that save my new instance of mySymbol
         sym.setVariable("var_id"+i, s);
         i++;
    // a global var, take care with the name
    numOfInstances = i;
    Then, in a click action of some button, symbol, anything that support an action, I code this:
    sym.eraseSymInstance();
    And, in the creationComplete, I code the function like this:
    sym.eraseSymInstance = function()
              for(var i = 1; i <= numOfInstances; i++)
                             var s = sym.getVariable("var_id"+i);
                             s.deleteSymbol();
    For me function well.
    I hope this can be usefull for somebody else.

  • How do you remove a symbol from the stage in Edge animate?

    Hello-
    I'm wondering how to remove a symbol from the stage in Edge Animate so you can jump to another place in the timeline.  In Flash, the symbol was only on the stage for the amount of frames you indicated.  Not sure how it works here.
    For example, I have 2 buttons on my first screen with some text that animates in.  I want the button click to take the user to another section in the timeline or (basically another scene, like in Flash)  that contains different content.  If I change the visibility the buttons are still there and will ( I assume) create problems when other elements are placed on top. 
    Or is the only way with code.  If that is the case what would that code be?
    I would appreciate any help.
    Thank you!

    What I usually do, is, once you have everything set up in the scene you are done with. highlight it all
    right click
    group elements in DIV
    Now all those items act as 1 group and then you give it a properties name, much like a symbol.
    THEN you can refer to that scene name and move it anywhere or hide it and slide in another scene that has the content for that next scene.
    basically you take all the elements that make up 1 scene, gruop it up, name it, and then in the code for the button say something like:
    on click:
    scenename.play(framenumber);
    that will then animate that scene according to any animation you gave it, such as moving to the left, off stage. while moving scene 2 that you create into the stage.
    or just have something like this hide it
    sym.$("scenename").hide();
    sym.$("scene2name").show();
    but if you do that, make sure in your CompositionReady code you hide all scenes EXCEPT the 1st one, so the user doesnt see them all instanatly anyway.

  • How to delete the child record from the database

    how to delete a parent and child record from the database can we do it in the servlet and my database is oracle

    I'm not sure I understand the question but you could certainly use the JDBC API from within your servlet to access and modify a DB. You could also use an EJB layer to access your DB and accomplish the same tasks.

  • How to access symbol from different stage

    Hi everyone,
    I'm really new at Edge, so I still have a lot to learn and I need your help with something..
    I want to know how to access a symbol from another stage, here's what I've and what I want to do..
    I've the main index page with symbol named "content", in content I load other composition (page). called "page2".
    all I want to do is when I click a symbol "XX" inside "page2". The "content" symbol loads other composition called "page3".
    I don't know how to access "Content" from "page2", so I could load "page3" ..  that's it
    I feel like it's simple, but I just couldn't know how to do it, I',m sorry for bothering you for such a question, but I've searched a lot and I got nothing.
    Thanks
    I thought I could use something like this
    var comp = Edge.getComposition("EDGE-638329");  
    var stage = comp.getStage(); 
    var symp= comp.stage.getSymbol("content");
    EC.loadComposition("assets/units/stage1/s1_3/s1_3.html",symp);
    but it's still not working, could someone please tell me what I'm doing wrong?

    I have multiple compositions, where I need to go from one to another.
    I use click scripts in an element to do this, using identical pages with different animations on each page.:
    Click script:
    AdobeEdge.goLoc(url); //url is the URL of an identical new html page with a different animation
    Then I have a custom .js page that I use that has the function:
    AdobeEdge.goLoc = function(url) {
    location=url;
    Peter Small

  • Why does iPhoto/Aperture keep deleting photo sets from my Flickr account or keep placing whole sets back into the Pending stage of uploading the photos. This is becoming very frustrating and extremely time consuming. Any help would be most welcome

    Has anyone got any idea as to why Iphoto/aperture keeps deleteing my photo sets from my Flickr account without warning or reason given. Also when I enter my sets the program will revert all of the photos back to the Pending stage of the up oading process. One or two photos I could live with but some of my set are in excess of 1500 photos per set, and this becomes very very time consuming to re upload them. and whats more annoying on some occassions after spending 12 to 16 hours re uploading them I find that they have all been duplicated. Is there a Bug with Iphoto or Aperture????????
    any help would be most welcome P Jefferys

    I am using Iphoto version 9.5.1, and No I am not deleting any photo from any file. what happens is this :- I open up Iphoto and enter my flickr account via the shared folder icon on the left hand side of the screen this is when I get a pop up screen from Iphoto informing me that they have removed a SET of photos from my Flickr account (no reason given) when i go into that set all I can see is dashed empty square where the photo used to be. I will then get another pop up screen saying that Iphoto can no longer access my flickr account and will I permit a reconnection and allow Iphoto to access my flickr account (add pass words etc) when I get back into flickr the SETS have gone and all other photos enter the Pending stage again. After re uploading the missing photos I find that some 50% of them have been duplicated.
    PJ

  • How to remove a dynamic symbol from the stage?

    I'm loading dynamically copies of a Library symbol with a button click. Question is, when I move around in the timeline, I don't want to see the symbols at certain points. Can I loop through the json file and remove each symbol from the stage? Or is there a better way of accomplishing this?
    Being new to Edge Animate, I'm also unsure as to the names of the symbols as they are placed on the stage. If I use the browser's developer tools, I can see that the divs are named Stage_90, Stage_91, Stage_92 etc. However doing something like the following does not seem to work:
    sym.$("Stage_90").hide();
    I appreciate the help. Thanks again.

    I got it. It should be:
    $("#region1").remove();  
    // # was missing.
    I actually added that to time 0 on the main timeline so when I got back there it removes the image.
    It's not working from the symbol yet but I guess I should eventually get it working from there instead.
    Thanks for your time.

  • Album uploaded to Itunes match, plays on computer but won't play on ipod, no cloud symbol next to songs. Press play on 1 track and it skips through the album without playing. I've tried deleting the album from PC and downloading again from match and even

    Album uploaded to Itunes match, plays on computer but won't play on ipod, no cloud symbol next to songs. Press play on 1 track and it skips through the album without playing. I've tried deleting the album from PC and downloading again from match and even after syncing the album won't play on the ipod
    iPod touch, iOS 6.1

    I've just connected the ipod to my computer and checked the music on the iPod. The album that I am having trouble with shows an exclamation symbol next to it. I've tried deleting the album from iTunes and re downloading it then syncing but it doesn't appear to affect the information shown the iPod. The album neither deletes nor updates.

Maybe you are looking for