Control a symbols timeline from with in another symbol

I just started using this product.
I love it.
I am currently building a project.
I have a button inside of a symbol, and this symbol is on the stage.
I am trying to use this button to start an animation from a label in a second symbol that is on the stage.
I cant figure out how to amend sym.getSymbol("one").play("start");
to say
go outside of this symbol to the main stage and get the second symbol and then play it form the label.
Or
go outside of this symbol and get a symbol from with in the second symbol and then play it form the label.
Can you help me with this.
thanks again for the awesome product.

I had on other question.
I have a timeline full of symbols.
Most of the symbols have nested buttons and symbols that responed to those buttons.
I have the whole thing scrolling back and forth slowly.
I want to be able to change the direction it scrolls relitive to the half of the project your mouse is hoverning over.
I.E. hover over the right hand side and the timeline scrolls right and hover over the left hand side and it scrolls to the left.
I can achieve this buy placing transperant symbols that cover each half of the stage and addind either play or play reverse respectively.
But these transparent symbols block the symbolsand buttons and such that i have below them.
So then i though i will put the transperant symbols towards the bottom of the heirocracy and as i suspected the symbols in front of the transperant buttons block them.
is the some code i can add to the stage to achieve this?
thanks a million

Similar Messages

  • Controll the ROOT timeline from externally loaded movie clip?

    does anyone know how to controll the root timeline from an
    externally loaded movie clip?
    I have loaded a movie clip, which has buttons on it that I
    would like to controll the main original website timeline with.
    something like this.parent.parent?
    thanks a lot
    harky

    feedmeapples <[email protected]> wrote:
    > does anyone know how to controll the root timeline from
    an externally
    > loaded movie clip?
    >
    > I have loaded a movie clip, which has buttons on it that
    I would like
    > to controll the main original website timeline with.
    >
    > something like this.parent.parent?
    _root.doStuff;
    Freundliche Grüße,
    Franz Marksteiner

  • Access a nested symbol timeline from the main stage

    Hi all,
    Would love some help on accessing a nested symbol from the main stage please.
    To set the scene.....
    "Its an autumn day..
    no sorry...just joking...
    So i have a symbol called "NormalAnatomy" - its not on the main stage, but when a button is clicked it appears in the 'content' box which is just a rectangle on the main stage.
    Inside "NormalAnatomy" symbol is another symbol called "Scrub_all" which is an animation
    For users to view the animation they use a scrub bar like this lovely lady has invented:
    Create Click and Touch Draggable Scrubbers with Edge Animate CC | sarahjustine.com
    So for Sarah Justines scrubber to work - the main stage has a lot of actions added to it. Also the "timelinePlay" symbol is on the main stage
    Its starts:
    var symDur = sym.getSymbol("timelinePlay").getDuration();
    var mySymbol = sym.getSymbol("timelinePlay");
    var scrubber = sym.$("scrubber");
    var bar = sym.$("bar");
    sym.$("mobileHit").hide();
    var dragme = false;
    So I put my "NormalAnatomy" symbol on my main stage to see if the code would work and changed all the relevant details.. and indeed it worked!
    var symDur = sym.getSymbol("NormalAnatomy").getSymbol("Scrub_all").getDuration();
    var mySymbol = sym.getSymbol("NormalAnatomy").getSymbol("Scrub_all");
    var scrubber = sym.getSymbol("NormalAnatomy").$("scrubber");
    var bar = sym.getSymbol("NormalAnatomy").$("bar");
    sym.getSymbol("NormalAnatomy").$("mobileHit").hide();
    var dragme = false;
    But i don't want the "NormalAnatomy" symbol to be on the main stage as I want it to appear in the 'content' box only when i hit a btn
    So as soon as I took this symbol off the main stage, the scrubber doesn't work. So I click a btn, and the symbol appears in the content box but the scrubber doesn't work.
    so I tried in front of the "NormalAnatomy"
    getStage().
    getStage("content").
    getComposition().getStage().
    getSymbol("content").
    but nothing works
    The main problem must be the fact that the NormalAnatomy symbol appears inside a content box so the MainStage actions doesn't know how to find it??
    So my question is... what should I put in the main stage actions to make it access the "NormalAnatomy" symbol?
    Thanks for your help in advance!

    On click handler for the symbol use
    sym.getComposition().getStage().getSymbol("nameofsymbol").play();
    or
    sym.getSymbol("nameofsymbol").play();
    replace the italics with the literal name of the symbol as it appears in the Elements panel.
    Some API details found here (http://www.adobe.com/devnet-docs/edgeanimate/api/current/index.html) in the Work With Symbols section.
    Darrell

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

    Hi everyone,
    I'm trying to get the id from a dynamic created symbol from library.
    When dynamically creating the symbol directly on the stage (or composition level), there's no problem.
    But I just can't get it to work when creating the symbol inside another symbol. 
    Below some examples using both "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 ANOTHER SYMBOL
    var m_item = sym.createChildSymbol("m_item", sym.getSymbol("holder").getSymbolElement()); 
    var symbolChildren = sym.getSymbol("holder").getChildSymbols(); // Am i using this wrong maybe?
    console.log(symbolChildren.length) // returns 0 so can't get no ID either
    // USING "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: div#eid_1391854141436
    // INSIDE ANOTHER SYMBOL
    var m_item = sym.createChildSymbol("m_item", sym.getSymbol("holder").getSymbolElement());
    console.log(sym.getSymbol("holder").aSymbolInstances[0]); // Javascript error in event handler! Event Type = element 
    In this post http://forums.adobe.com/message/5691824 is written: "mySym.aSymbolInstances will give you an array with all "names" when you create symbols"
    Could it be this only works on the stage/ composition level only and not inside a symbol? 
    The following methods to achieve the same are indeed possible, but i simply DON'T want to use them in this case:
    1) Storing a reference of the created symbol in an array and call it later by index.
    2) Giving the items an ID manually on creation and use document.getElementById() afterwards.
    I can't believe this isn't possible. I am probably missing something here.
    Forgive me I am a newbie using Adobe Edge!
    I really hope someone can help me out here.
    Anyway, thnx in advance people!
    Kind Regards,
    Lester.

    Hi,
    Thanks for the quick response!
    True this is also a possibility. But this method is almost the same of "Giving the items an ID manually on creation and use document.getElementById() afterwards".
    In this way (correct me if i'm wrong) you have to give it an unique ID yourself. In a (very) big project this isn't the most practical way.
    Although I know it is possible.
    Now when Edge creates a symbol dynamically on the Stage (or composition level) or inside another symbol it always gives the symbol an ID like "eid_1391853893203".
    I want to reuse this (unique) ID given by Edge after creation.
    If created on the stage directly you can get this ID very easy. Like this;
    var m_item = sym.createChildSymbol("m_item","Stage");
    var symbolChildren = sym.getChildSymbols(); 
    console.log(symbolChildren[0].getSymbolElement().attr('id')); // ok eid_1391853893203
    I want to do exactly the same when created INSIDE another symbol.
    var m_item = sym.createChildSymbol("m_item", sym.getSymbol("holder").getSymbolElement());
    Now how can I accomplish this? How can I get the Id of a dynamically created symbol INSIDE another symbol instead of created directly on the stage?
    This is what i'm after.
    Thnx in advance!

  • Toolkit for CreateJS: How to control the main timeline from outside the canvas.

    Hey Everyone,
    I'm currently trying to do something simple, but my animation breaks whenever I attempt to change my code. I have created a basic animation in Flash where an object moves from the left side of the canvas, to the right, and then loops from the last frame to the first frame. Nothing else. The animation is simply put on the main timeline. I exported the animation with Toolkit for CreateJS through Flash's extension and the animation runs as it should. I am trying to start and stop (restarting from the first frame) the animation with mouse over and mouse off events. I want the events to fire when moused over/off a div OUTSIDE the animation's canvas tag. Is this possible with CreateJS? I'm trying to figure out how to control the main timeline without being inside the canvas tag.
    Example HTML:
    http://www.thephotoncore.com/testing/example_test.html
    Example Code:
    <section id="container">
      <canvas id="canvas" width="550" height="400" style="background-color:#cccccc"></canvas>
      <section id="animation_control">
        <p>Roll over to start and stop animation.</p>
      </section>
    </section>
    Thanks again for the help!
    -DJ

    Hi DjPhantasy5,
    All movieclips on the stage are children of the stage,
    So on the "mouseover" all movieclips on the stage could be stopped with stop and on the "mouseout" all children could be restarted with gotoAndPlay like this:
    function Stop()
              if (stage && stage.children)
                        var i, l = stage.children.length;
                        for (i = 0; i < l; i++)
                                  var child = stage.children[i];
                                  if ("stop" in child)
                                            child.stop();
    function Restart()
              if (stage && stage.children)
                        var i, l = stage.children.length;
                        for (i = 0; i < l; i++)
                                  var child = stage.children[i];
                                  if ("gotoAndPlay" in child)
                                            child.gotoAndPlay(0);
    See http://www.liauw.nl/forums/adobe/djfantasy5/index.html
    But it is also possible to expose "ball1", for example, by adding it to the document.
    This can be done by adding code to "ball1" like so:
    /* js
    document.ball1 = this;
    Then the stopping of the animation would look like:
    function Stop()
         if ("ball1" in document)
              document.ball1.stop();
    etc.
    Have fun!
    Ronald

  • How do I play a symbol timeline from the main timeline

    Ive created a box, turned it into a symbol called box,
    Inside box i have a left to right animation with auto play turned off.
    I then went back to the main stage, clicked the box, added action, on click to play, yet it does nothing.
    How do i Play the symbols timeline?

    On click handler for the symbol use
    sym.getComposition().getStage().getSymbol("nameofsymbol").play();
    or
    sym.getSymbol("nameofsymbol").play();
    replace the italics with the literal name of the symbol as it appears in the Elements panel.
    Some API details found here (http://www.adobe.com/devnet-docs/edgeanimate/api/current/index.html) in the Work With Symbols section.
    Darrell

  • Control a symbol timeline from another symbol timeline on specific condition

    Hi! I have 8 animated symbol that plays on clicking over them on the main stage and i want, for example, that if symbol 1 animation is complete and i click on symbol 3, symbol 3 plays forward and symbol 1 plays on reverse and vice versa just like this: http://www.framefarm.net/eugenio/edge/example/example.html
    please help!

    I put together a Composition that I think does what you're asking. it's not elegant, but it works.
    in the timeline of Symbol_1
    place stop() triggers at the start and end
    in the same triggers, set a Symbol variable that states whether the animation has finished i.e. sym.setVariable("isDone", "false");
    place a trigger on the rectangle to play() or playReverse() depending on an if() statement about the variable
    in the timeline of Symbol_3
    place stop() triggers at the start and end
    in the same triggers, set a Symbol variable that states whether the animation has finished i.e. sym.setVariable("isDone2", "false");
    place a trigger on the rectangle to:
    declare 2 new variables, which use sym.getVariable() to get isDone and isDone2 as above,
    play() or playReverse() depending on an if() else if() else if() statement about both variables
    I used the relative string to get the local variable and absolute string to get the variable from the other Symbol, i.e.
    var myVariable = sym.getComposition().getStage().getSymbol("Symbol_1").getVariable("isDone");
    var myVariable2 = sym.getVariable("isDone2");
    I can send you the entire code if that helps.

  • How to control the main timeline from within a symbol?

    I have a small world map as a symbol called "verden" and I want the user to click Europe, Asia, or Africa and jump to named labels in the main timeline.
    http://www.dagbladet.no/grafikk/neshorn/neshorn.html
    On the main timeline a have the label "intro" with a Stop action and the label "europa". At label "europa" I have a symbol also called "europa" which has a display of None at label "intro" and On at the label "europa".
    The animation never goes to label "europa"
    I have this code on europa in the symbol "verden" :
    // insert code for mouse click here
    sym.getComposition().getStage().getSymbol("europa").play("europa");
    The files are on Dropbox here
    Update, now it works:
    sym.getComposition().getStage().play("europa");

    Hi Bill,
    There are plenty of threads on here about scope, but here's one way to create a global variable:
    // code on Stage.compositionReady
    sym.myGlobalVar = 1;
    Then, anywhere in your project, you can check/set that var like so:
    sym.getComposition().getStage().myGlobalVar = 2;
    And here's one way to create a global function:
    // code on Stage.compositionReady
    sym.myGlobalFunction = function(){
              console.log('myGlobalFunction');
    Then, anywhere in your project, you can call that function like so:
    sym.getComposition().getStage().myGlobalFunction();

  • Change Parent (Stage) Timeline from a Child (IFrame) Symbol

    Hello,
    Within a project (Project X) I have a symbol (called 'container'). This symbol loads an IFrame of a different Edge HTML5 document (Project Y).
    I would like to click in the nested IFrame (Project Y) and control the timeline of the parent document (Project x).
    Could anyone help me acheive this?
    Thank you.

    Hi, 7Freelance7-
    You should take a look at the section at the bottom of the API doc named "Call Edge Animate APIs on a different compostiion."  It should help you figure out how to grab the handle of another composition, no matter where in the DOM it is.
    http://www.adobe.com/devnet-docs/edgeanimate/api/current/index.html
    Hope that helps!
    -Elaine

  • Controlling video and timelines from main stage. Can it be done?

    The set up:
    I have 3 Symbols on the main Stage.
    Each Symbol has a video and 4 text sections, with the text appearing below the video.
    When the video reaches a certain point, the text changes (for instance, when the video is talking about Widget 1, Text 1 appears, then when it reaches the part about Widget 2, Text 2 appears, etc). Getting and keeping everything synchronized is very important.
    The goal:
    Having a button that will pause both the video AND the text when clicked so they stay in sync.
    The fly in the ointment:
    The goal is pretty easy to accomplish by simply having a button in the Symbol that will stop the text and pause the video. The problem is that since there are 3 Symbols on the stage, when the button is clicked, it needs to stop any other videos that are currently playing. For instance, someone is viewing Video 1, but they decide that they'd rather watch Video 3, so they click on the button for Video 3, but Video 1 (and its Timeline with the text) is still playing after they hit that button. How do I make it so that when they click on Button 3, Video 1 (and its timeline) stops playing?
    The other fly:
    Right now, there are only 3 of these video players on the Stage, but more may be added later. The code I use must be flexible enough to adapt, so I don't have to add additional lines of code to every button every time a new video is added.
    Thanks

    Phil,
    1. Could an Xserve be loaded with a standard version of OSX and operated as if it were a desktop system?
    The general consensus is "yes" but you will lose some of the cool features like hardware monitoring, heat warnings, etc. which might or might not effect your ability to keep an eye on it in odd situations - like hot clubs or cramped DJ quarters.
    2. Does the fact that I'm considering the "cool factor" as it relates to a rack-mounted server make me a complete geek?
    THAT doesn't make you a geek. But it is an outward expression of your inner geek.
    3. Is it odd that I'm okay with that?
    Until you admit you have a problem you really can't seek help.
    Seriously though... I don't think this is a great plan despite whatever respect I have for your geek chic.
    1) You're paying for features and software you'll be throwing away.
    2) Xserves are designed to run in server rooms and air-conditioned offices not in the field.
    3) They are loud. No, really they are... perhaps not the best choice for a DJ.
    4) If an iBook G4 is working for you currently then you don't need the processing power or through-put you're paying for with the Xserve.
    I would suggest getting two low end Intel towers (or you might be able to get away with 1 tower and a mini or something cheap) and then mounting them in a glass lined rolling rack or something like an Xrack. If you're concerned they are "cool or geeky" enough then spend some of the thousands of dollars you'll save on some case mod neon, LED spotlights or those lighted USB cables or the like to "tech them up".
    Congrats on embracing your inner geek,
    =Tod
    G5/2.0x2, Dual XServes x2, XRAID, beige G3 501Mhz    

  • Control a mc timeline from the main timeline

    Hi there,
    On my main timeline, I load a mc from the library with:
    text_content.attachMovie("text_content", "text_content", 10);
    There is a marker inside this mc called "news". I need a script in the main timeline that will gotoandStop "news" within the "text_content" mc.
    I have tried, amongst others unsuccesfully:
    text_content.gotoAndStop("news", 10);
    _level10.gotoAndStop("news");
    Can anyone tell me how to fix this?
    Many thanks

    Hi, thanks for your help. To describe the scenario a bit better...
    I have an empty mc on the stage called "text_content_mc".
    On the first frame of the main timeline, I load a library mc 'text_content' (identifier name: text_content) into "text_content_mc" using:
    text_content_mc.attachMovie("text_content", "text_content", 10);
    From the main timeline, I have attempted to navigate to marker "news" within the library mc, now inside "text_content_mc" using:
    text_content_mc.text_content.gotoAndStop("news");
    It is not working. What I am doing wrong?
    Hope this makes sense. Thanks.

  • Controlling the root timeline from inside a MovieClip

    [preface] I'll apologize in advance. I'm a designer, not a
    developer. I know very little about actionscript so if you
    can help me out, please pretend like I know nothing.
    [/ preface]
    I just need actionscript to check the value of a variable
    when the end of a movie clip is reached and then call an action.
    Here's what I've got and it doesn't work. Please don't laugh.
    if (p == 1){
    tellTarget (_root) {
    play();
    else if (p == 0){
    stop();
    (the "stop" on the "else if"
    is referring to the movie clip's timeline, not the root
    timeline... in case you're wondering)
    Any help would be greatly appreciated. Thanks!

    No it's not a school project. Good guess though. It's
    actually a self-promo piece for the ad agency I work for. I'm an
    art director expanding my horizons. I would take a class or run
    through one of the good actionscript books but unfortunately, I
    don't have time.
    Thanks for the help again kglad.
    btw, I've used tellTarget successfully in a few projects in
    the last few months. I'm using Flash 8.

  • How to stop symbol-content from changing size when symbol size changes?

    When I change the size of a symbol, the content is also resized. I want my symbol to act as a viewport: when I make the symbol half as high, the content shouldn't be transformed, you only should see half of the content instead of transformed content. Make the symbol's boundaries act as a cropper, if you get what I mean. How do I do this?

    Hi Jack,
    I think (not sure though) that the Library Item is causing the problem. I never use the Library Item because server side includes are far more efficient and need less maintenance.
    Have a look here http://foundationphp.com/tutorials/sprymenu/ssi.php
    If you have PHP serverside scripting language, use DW to add serverside includes using PHP.
    Getting back to your original problem, try without the Library Item and see if DW still changes the code.
    I hope this helps.
    Ben

  • CONTROLLING THE TIMELINE FROM EXTERNAL MC

    I have a website
    http://www.charlesmarsden-smedley.com/index1.html
    that I am building.
    In the projects section, if you navigate to Projects >
    Museum > Tower of London. You will see 'more information' link.
    This loads an external Movie clip for the text feild. I would
    like to make the 'more information' dissappear when it is clicked
    and the text appears in the target. The way I thought is best is to
    move the timeline on one frame and just remove the link, but when I
    click on 'back to images' link it reloads the images (external MC)
    but the 'more information' link is still hidden.
    How can I control the main timeline from an extrernal movie
    clip?
    Am i being rediculously long about this operation?
    thanks
    Harky

    maybe you didnt understand correctly.
    the 'more information' link loads an external movie clip (the
    text) into the right side of the page.
    At the bottom of this movie clip is a green link 'back to
    images' this button sits within the movie clip. So my problem is
    making this button controll the main timeline (as its root is the
    movie clip root, not the main web page root)

  • HHola I update my Apple TV and I am frozen screen with the photo of Apple TV and iTunes symbol and a cable connected from one to another device, it happens and how to fix it Apple TV

    HHola I update my Apple TV and I am frozen screen with the photo of Apple TV and iTunes symbol and a cable connected from one to another device, it happens and how to fix it Apple TV

    Welcome to the Apple Community.
    If your problem persists get yourself a micro USB cable (sold separately), you can restore your Apple TV from iTunes:
    Remove ALL cables from Apple TV. (if you don't you will not see Apple TV in the iTunes Source list)
    Connect the micro USB cable to the Apple TV and to your computer.
    Reconnect the power cable (only for Apple TV 3)
    Open iTunes.
    Select your Apple TV in the Devices list, and then click Restore.
    (You may already have a micro USB cable if you have a camera or other digital device)

Maybe you are looking for

  • Personal File Sharing with Fast User Switiching

    I have 2 users set up on the iBook. I want file sharing turned on for only one of the users and off for the other. Both are logged in. Any way to do this? It appears that personal file sharing is either on or off for all users.

  • Why am I unable to use the mouse to move maps around in yahoo maps?

    When I open yahoo maps, I'm unable to hold down the left mouse button and move the map around to view other locations. However, double-clicking will allow me to zoom in and I can right click to pull up options to zoom out. This isn't an issue when I

  • Webutil not working on Microsoft Vista

    Dear All, We have migrated the application from froms 6i to 10g and evrything was working fine when we were testing on the XP but when we tested it on Vista webutil didnt work it started giving java errors. We have done the following change in the ap

  • How to set directory for preview files?

    I have my Media Cache folders set to an external hard drive, but Premiere Pro still continues to create hundreds of rendered preview files in the default location of Users/username/Documents/Adobe/Premiere Pro/8.0/Adobe Premiere Preview Files, fillin

  • Forms central and collecting secure information.

    If I place a form using forces central on the internet via the collect responses online is it secure? I am collecting private information.