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

Similar Messages

  • Changing stage timeline from inside a movieclip button

    I create a movieclip button, and I want to change main timeline from it. what should I do ?
    Is it useful to use MovieClip(root).gotoAndPlay(...) ; ?
    Is there any other way to change main timeline?

    Example:
    Add something to trigger the event in the child:
    dispatchEvent(new Event("eventTriggered"));
    In your parent swf, listen for the event using a listener for the child with a corresponding event handler...
    childName.addEventListener("eventTriggered", eventHandler).
    function eventHandler(event:Event):void {
        trace("child dispatched an event");
         // gotoAndPlay(etc);

  • How do I return playback to the main stage timeline from a symbol?

    In trying to learn Edge, is there a way to return playback (play from) once an animation is complete within a symbol?
    For instance, I have the main timeline that shows a symbol animation on creationcomplete, but when the animation is finished in the symbol and I hide the symbol, the main timeline is no longer playing. What would I need to do to return playback control to resume playback of the main timeline? I have a label I would like to play from on the main timeline, but I have not found a way to call the main timeline from within the symbol.
    This was something common in Flash.
    Thanks for your help!

    Hi escargo,
    Say we use two symbols object1 and object2.
    The main timeline has an interpolation on object2 from label “mainAnim“. Its autoplay property is set to false : the playhead stops at 0 ms.
    A third symbol nested contains the interpolation on object1. Its autoplay property is set to true, so it plays directly.
    At the end of this transition, there is a trigger (pseudo-track just below the timeline)
    sym = the current symbol nested
    sym.getComposition().getStage() = the main timeline (in Edge the stage is a symbol)
    sym.getComposition().getStage().play(‘mainAnim’); = play the main timeline from the given label.
    You can download the example here : https://app.box.com/s/6svvskydh952dfxbr3xb
    Gil
    PS : threads with examples for neigboring problems
    http://forums.adobe.com/message/5410456#5410456
    http://forums.adobe.com/message/5192205#5192205

  • Prevent Active Directory Parent Domain Admins from accessing Child Domain

    We want to prevent Parent domain administrators (or a similar profile?) from accessing and/or administering child domains. Is this possible, or do parent domain admins have irrevocable administrative access to any child domain?
    Asked another way, can a restricted profile be configured for administration of the parent domain that does not cross domain boundaries effectively isolating each domain's administrative needs?
    Thanks in advance for input and advice!
    Best regards.

    Sorry, I was replying again after I read your second paragraph. The parent domain is the Forest root. we have parentdomain.com
    parent.parentdomain.com
    child1.parentdomain.com
    child2.parentdomain.com
    child3.parentdomain.com
    We do not want the Domain Administrator for parentdomain.com to be able to administer, or preferably, even access the Child Domains.
    1.) Can we remove that user from "Enterprise Admin" role and assign a different role so that they can only administer parentdomain.com (effectively demoting that user)?
    2.) Promote a Child.parentdomain.com user to Enterprise Admin?
    Thanks sorry for the confusion.
    Ah ok.
    Yes, you can. the answer is the same basically. The group membership is what counts. So in the child domain, remove the enterprise admins group from the child domain admins groups. OR make sure the domain admins of the forest root are not members of the
    enterprise admins group. that way they are still only admins in the parent domain.
    It is really only depending on group members ship and including those groups in the child domain. by default the enterprise group is included for example, but nothing stops you from removing those groups.
    based on the group membership you can also deny them the ability to log on.
    the only thing you cannot prevent is the forest administrator account from doing something.
    One thing I would like to add though: any admin in the forest domain likely has the ability to still get access if he wants to force his way in.

  • How can I automatically change my edited timeline from 24fps into 25fps?

    Hello everyone,
    I have a timeline in 24fps with 24fps footage. I have to convert it (the timeline and the footage) into 25fps, so I can put a 25fps Timecode in it (it was a 24fps 16mm film material and it has to be rescan in 25fps...). Is there a way to do that? I mean beside of reedit everything in a 25fps timeline. The footage was quicktime prores 4444, I made merged clips of it and edited it then, so I have only merged clips on the timeline.
    I would be very thankful for any suggestions!

    Hi Richard, unfortunately I need to burn in Timecode from the source clips, so this won`t help me:/ but thanks for your answer! I think the only possibility for me is to create a new timeline in 25fps, modify the source footage from 24 into 25fps and reedit it. Is there any way to use command match frame (and reversed match frame) from merged clips in a timeline to source material from which I created the merged clips? so the source footage and not the used merged clip will be loaded into the source monitor? it would make a reedit much much faster...

  • 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

  • Simple Change Parent Timeline AS3 problem

    I am just trying to use actionscript 3.0 (Flash CS4) to change the 'Parent' timeline from a button in the 'Child' timeline
    root/
    parent_mc/
    child_mc (button called btn is there)
    This code is in the child_mc timeline above the button
    btn.addEventListener(MouseEvent.CLICK, changeParentTimeline);
    function changeParentTimeline(event:MouseEvent):void
    this.parent_mc.gotoAndStop(10);
    The above produces this error:
    TypeError: Error #1010: A term is undefined and has no properties.
    at Untitled_fla::child_2/changeParentTimeline()
    Any help would be much appreciated.
    Kind regards
    Richard

    Try:
    btn.addEventListener(MouseEvent.CLICK, changeParentTimeline);
    function changeParentTimeline(event:MouseEvent):void
         MovieClip(this.parent).gotoAndStop(10);

  • Remove child on the root timeline from within a movieclip

    Hi
    How do I remove a child from the root timeline from within a separate movieclip?
    I've tried
    MovieClip(parent).removeChild(mc1);
    But I get this error
    1120: Access of undefined property mc1.
    I could write a function in the root timeline that just removes child and then run that from within the movieclip but is there a better way?
    Thanks in advance.

    Thanks for replying.
    I asked on Kirupa but I couldn't access the site so I asked here.
    I guy answered with this
    MovieClip(parent).removeChild(MovieClip(parent).getChildByName("mc1"));
    It works fine, is this the best way to do it?
    Not sure if I understand what you meant?
    Just to be clear I have to movie clips on the stage mc1 and mc2 and i want to remove mc1 from within mc2's timeline.
    Thanks again

  • LVOOP Parent private data returned when child instance created from constant

    I have created one Parent class, and one Child class.  For each of these classes, I have created a member VI that is a constructor, whose purpose will be to initialize some constants for each class, and return the class instance.  I also have a member accessor VI for each class that returns the private data of the class (in this case a single string for each class).
    The Parent class's private data "String" is set to"Parent text" as the default value.
    The Child class's private data "Child String" is set to"Child Text" as the default value.
    The Parent class constructor works just fine.  For testing purposes, I return the text from directly unbundling in the constructor VI, and as returned from the accessor VI. The Parent constructor starts from a class constant.
    However, in the case of the Child class constructor, if I start from a class constant, directly unbundling the private data (using an Unbundle By Name function, and choosing "Child String" as the element), I get the Parent's private data!
    If I use the Child class's member VI to retrieve the text, I get the Child's private data.
    If I change the constructor to start from a class Control instead of a class Constant, I get the Child's private data.
    This only occurs  before the Child class has existed as a
    Control/Indicator. i.e. If I unbundle the private data after the class 
    is returned by any member VI, I get the correct Child private data.  So obviously something changes once the class "data" has been a control at some point.
    I am using Labview 8.6.1, Windows XP
    I have attached a small project that illustrates the problem I am encountering, without actually doing any initialization, just reading.
    Is this the intended behaviour?  Why does it matter if I start with a class constant instead of a class control?  When you drag from the Project window to the Block diagram, you always get a constant.
    Solved!
    Go to Solution.
    Attachments:
    ParentChildClass.zip ‏54 KB

    Although I was able to replicate your issue in LabVIEW 8.6.1, it appeared to run correctly in 2009.  I could not find a CAR ID but at this point can only assume that the behavior was not intended but is fixed in 2009.
    Let me know if you need me to find any further details.
    Alex Person
    NI-RIO Product Support Engineer
    National Instruments

  • Control of NotifyIcon in MDI Parent from MDI child (C# Express)

    I have an MDI application with a base(Parent) form (FormA) and several child forms (Form1, Form2, etc). My Parent Form (FormA) is invisible and contains a ContextMenuStrip (contextMenuStrip1) and a NotifyIcon (notifyIcon1). I have 3 Icons defined in my properties.resources
    (a yellow, green, and red check mark). I start FormA from Main() in my Program.cs with  Application.Run(new FormA()); . FormA starts and checks various things via code in FormA or in Program.cs, selects the proper icon and sets it, may or may not
    create a message balloon depending on what it finds and gives the user access to the ContextMenuStrip by right-clicking the Icon. From the ContextMenuStrip the user can select the various other forms to make certain adjustments. Whichever form is selected
    by the user is started with:
    Form1 newMDIChild = new Form1();
                // Set the Parent Form of the Child window.
                newMDIChild.MdiParent = this.MdiParent;
                // Display the new form.
                newMDIChild.Show();
    Form1 (or Form2 or Form97) starts, checks stuff via routines in Form1 (or 2 or 97) and Program.cs and allows the user to change certain things via  textboxes or run certain routines via buttons that are made visible if appropriate. This all works flawlessly
    and I'm happier than a pig in you know what BUT... what I NEED to be able to do is change the Icon in FormA (notifyIcon1.Icon) from a yellow or red check mark to a green one, once things causing a problem are corrected while still remaining in Form1 (and/or
    2 and/or 97) to allow other changes to be made. My understanding was that Form Papa = (Form)this.MdiParent; would give me the Parent (FormA) form, but no matter what I have tried, I cannot change notifyIcon1.Icon, so there is an obvious disconnect in
    my thinking.
    Please understand that I am new at C#. The last time I "mastered" a programming language was in the days of Clipper 5.3 and C (DOS) when OOL was in its' infancy, so my toes got damp but my feet never got truly wet with OOL, so please type slowly
    Please understand also that I Understand that MDI is the personification of Satan himself here on Earth, but it is what for now I am stuck with and must solve. If you know better ways of accomplishing what I have described, by all means please point me to
    them for future use. I am learning, and will continue to learn until about two weeks after they wrap me in burlap with some heavy stones and drop me off a ship at sea.
    My thanks in advance for your patience, understanding and help.
    Dan

    Hello Dan,
    >>Form1 newMDIChild = new Form1();
                // Set the Parent Form of the Child window.
                newMDIChild.MdiParent = this.MdiParent;
                // Display the new form.
                newMDIChild.Show();<<
    1. First, I will point that if you called that MDI form with that way, you will not be able to access main form's instance, since you set its mdiparent to the
    main form's parent. So I would recommend you change it to the following one.
    newMDIChild.MdiParent = this;
    If you don't want the main form is mdi container, you could add a property to mdi form and pass the instance directly to that property instead.
    2. You could add the following property to the main form class.
    public Icon MyIcon
    get { return this.notifyIcon1.Icon; }
    set { this.notifyIcon1.Icon = value; }
    And then inside the MDI form, change that property to the one you want to change the icon to, e.g change it to Icon2.
    private void button1_Click(object sender, EventArgs e)
    Form1 f1 = (Form1)this.MdiParent;
    f1.MyIcon = Properties.Resources.Icon2;
    Result:
    Regard,
    Carl
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Change a text field on the timeline from a class

    Hi,
    I need some help in changing the content of text fields that are on the stage of the main timeline from within an external class. I have created a countdown timer which is called from the Document Class. I think it is a problem with the scope of the variable but I can't work it out.
    Main Document Class:
    package
        import flash.display.*;
        import flash.events.*;
        import count_timer;
        import RectangleButton;
        public class main extends MovieClip
            public function main()
              [create a Start Btn]
                var startBtn_mc:MovieClip = new MovieClip  ;
                addChild(startBtn_mc);
                var startBtn:RectangleButton = new RectangleButton("Start",90,25,18,0xCC0000,0x000000);
                startBtn_mc.x = 105;
                startBtn_mc.y = 200;
                startBtn_mc.addChild(startBtn);
                startBtn_mc.addEventListener(MouseEvent.CLICK,onClickStartBtn);
                function onClickStartBtn(event:MouseEvent):void
                    var inputDay1:String = dayInputtxt.text;[these are input fields on the stage]
                    var inputHr1:String = hrInputtxt.text;
                    var inputMin1:String = minInputtxt.text;
                    var inputSec1:String = secInputtxt.text;
                    var counter:count_timer = new count_timer(inputDay1,inputHr1,inputMin1,inputSec1);
    Countdown Timer:
    package
        import flash.display.*;
        import flash.utils.Timer;
        import flash.events.*;
        import flash.text.*;
        import RectangleButton;
        public class count_timer extends MovieClip
    //not sure this is correct
    public var daytxt:TextField;
    public var hrtxt:TextField;
    public var mintxt:TextField;
    public var sectxt:TextField;
            public function count_timer(inputDay1,inputHr1,inputMin1,inputSec1)
                var inputDay = inputDay1;
                var inputHr = inputHr1;
                var inputMin = inputMin1;
                var inputSec = inputSec1;
                var msinputDay:Number = Number(inputDay);
                var msinputHr:Number = Number(inputHr);
                var msinputMin:Number = Number(inputMin);
                var msinputSec:Number = Number(inputSec);
                var ms:Number = Number(msinputDay);
    //convert input to milliseconds
                ms = ms + msinputDay * 24 * 60 * 60 * 1000;
                ms = ms + msinputHr * 60 * 60 * 1000;
                ms = ms + msinputMin * 60 * 1000;
                ms = ms + msinputSec * 1000;
                addEventListener(Event.ENTER_FRAME, loop);
                function loop(e:Event):void
                    ms = ms - 1000;
                    var sec:Number = Math.floor(ms / 1000);
                    var min:Number = Math.floor(sec / 60);
                    var hr:Number = Math.floor(min / 60);
                    var day:Number = Math.floor(hr / 24);
                    sec = sec % 60;
                    min = min % 60;
                    hr = hr % 24;
                    daytxt.text = day.toString();[everything appears to work to these variables. I think it should be root.]
                    hrtxt.text=(hr<10)?"0"+hr.toString():hr.toString();
                    mintxt.text=(min<10)?"0"+min.toString():min.toString();
                    sectxt.text=(sec<10)?"0"+sec.toString():sec.toString();
               if (ms <= 0)
                        removeEventListener(Event.ENTER_FRAME, loop);
                        gotoAndPlay("TimesUp");
    Many thanks in advance.

    Your code is not going to work as you show it. First, you should not be putting your class methods inside the constructors... And yes - scope. You make your new count_timer as a local variable inside a function that is called on click. Essentially, the timer is gone just as fast as it's created. If you want the timer available to the other methods in the class it should be declared as a private var in the class definition.
    And I agree with kokorito - have your timer extend EventDispatcher and then it can do like: dispatchEvent(new Event("myTimerEvent")); and you can then add an eventListener to it when you create it in your main class. You just listen for "myTimerEvent" or whatever string you use, and call whatever function you want - just like using any other listener.

  • Not able to change sales stage from requirtement to reqmt analysis

    in opportunity Not able to change sales stage from requirtement to reqmt analysis
    Error Message:SBL-DAT-00284
    Details error msg is:
    Unable to evaluate workflow rule for foll reason
    Update probability between 0 & 100%(SBL-ODS-00500)
    Edited by: user1074008 on Sep 22, 2010 10:17 PM
    Edited by: user1074008 on Sep 22, 2010 10:18 PM

    Looks like a bug...
    Previos Post Activity Status = Submitted - Access Denied

  • Is it possible to call a function in a parent component from a child component in Flex 3?

    This is probably a very basic question but have been wondering this for a while.
    I need to call a function located in a parent component and make the call from its child component in Flex 3. Is there a way to access functions in a parent component from the child component? I know I can dispatch an event in the child and add a listener in the parent to call the function, but just wanted to know if could also directly call a parent function from a child (similar to how you can call a function in the main mxml file using Application.application). Thanks

    There are no performance issues, but it is ok if you are using the child component in only one class. Suppose if you want to use the same component as a child to some bunch of parents then i would do like the following
    public interface IParentImplementation{
         function callParentMethod();
    and the parent class should implement this 'IParentImplementation'
    usually like the following line
    public class parentClass extends Canvas implements IParentImplementation{
              public function callParentMethod():void{
         //code
    in the child  you should do something like this.
    (this.parent as IParentImplementation).callParentMethod();
    Here using the Interfaces, we re decoupling the parent and the child
    If this post answers your question or helps, please mark it as such.

  • Calling a Function in the Parent Window from the Child Window

    QUESTION: How do I call a function resident in the parent
    window from a child window?
    BACKGROUND
    I have a JavaScript function resident in the parent window
    that reformats information obtained from the Date object and writes
    the result to the parent window using the document.write( ) method.
    I would like to call this function from the child window and have
    it write to the child window instead. Is this possible? If not,
    must I rewrite the entire function and nest it in the below code?
    If so, what is the proper form of nesting?
    CODE: The code that creates and fills the child window is
    provided below. The highlighted area indicates where I would like
    to enter the information from the function resident in the parent
    window. I have tried every imaginable permutation of code that I
    can imagine and nearly destroyed my parent document in the process.
    I am very happy that I had a back-up copy!
    function openCitationWindow() {
    ciDow = window.open("", "", "width=450, height=175, top=300,
    left=300");
    ciDow.document.write("A proper way to cite a passage of text
    on this page:<br /><br />Stegemann, R. A. 2000.
    <cite>Imagine: Bridging a Historical Gap</cite>. " +
    document.title + ". [<a href='" + location.href + "'
    target='_blank'>online book</a>] &lt;" + location.href
    + "&gt; (");
    MISSING CODE;
    ciDow.document.write(").<br /><br /><input
    type='button' value='Close Window' onclick='window.close()'>");
    ciDow.focus();

    Never mind - I was doing something very stupid and wasn't
    calling the function as a method of a movie clip. I was simply
    calling checkTarget(event) rather than
    event.currentTarget.checkTarget(event); which seems to work.

  • Transfer Focus From a Child Dialog To its Parent Frame

    Hi
    I m working on a Multimedia Desktop Application. I have done alomst 90% of work. Here I have a problem to transfer focus from a Child Dialog to Parent Frame. Remember the whole applicatio does not use Mouse every thing is handled on key events. So I required to transefer the focus from a Child Dialog to its Parent Frame from key board. I also cant use ALT+TAB because
    1- Child is a dialog
    2- This is a Multimedia Application which will be deployed For TV production and can't allow any Computer
    Components to be viewable.
    So I want only key press to transfer the focus between Child and The Parent.
    Thanks.
    Khurram

    First u tell me what do u do on the forumI answer questions - when I know the answer.
    I give advice on how to use the forums efficiently so you get the best chance to have your question answered and you don't waste other peoples time.
    And the post-URL you mentioned, was mistakenly submitted two times.Then respond to your own thread saying you posted it twice by mistake.
    any ways I did never see any article posted by you, nor the solutions on the other's posts by you. you just made comments on others posts.which only goes to prove that you never bother to search the fourm before you post a question.
    and please let others try to review on my problem.others can still reply

Maybe you are looking for

  • Send Email from my Ipod

    I have problem to send emails from my Ipod. I dont know, am i st...., But there is always message" Can not send email the connection to the outgoing server"null" failed. How can i fix this, please....

  • Is it possible to config memory size for a process?

    Dear experts, I would like to control the memory size assigned for a process on Solaris 9. Can i config memory size assigned for process?? Many thanks, Shun

  • How to set the font of label in ColumnChart correctly?

    hello, everybody By flex sdk 4.1.0, 4.5.1, the same source but two effects of font of label of ColumnChart will be displayed. .mxml: <!-- mxml start --> <?xml version="1.0" encoding="utf-8"?> <s:BorderContainer xmlns:fx="http://ns.adobe.com/mxml/2009

  • After latest update shortcuts load with an error message

    i get an error message saying it cant find the address but it still loads,but i have to click on the error message to get rid of it. please help...and thanks in advance.

  • Min runtime in Campaign Planning

    Hi, Can anyone tell me how to setup minimum runtime in campaign planning in PP/DS. The campaigns are defined by different colors (setup group) of the products. I am not sure how to ensure minimum runtime for a campaign i.e. a specific color to run at