How to read a label on the stage of in a symbol

Hi Edgefriends,

I'm working on a side project lead, but I have zero experience with JavaScript and I can't seem to get this to work without him so I hope someone can help me to achieve this.

Below you see the code that I need help. It is part of a symbol on the stage. What I need to do is to play a label ("subFontsTitels") located on the level of the stage. I tried a lot of posibilities but without (good) results. Could you please help me?

Part of the code:

Symbol.bindElementAction (compId, NomSymbole, "${_Button} ', 'click', function (sym, e) {})

read the chronology of the given position (ms or label)

sym.getComposition () .getStage ().sym.play ('subFontsTitels');

Insert the code for the mouse, click here

});

End of binding edge

Hi, Rangata01-

You're close enough.  Tell him in your symbol:

useful only if your symbol is a level down

sym.getParentSymbol () ("myLabel") .play;

can be used any level

sym.getComposition () .getStage () ("myLabel") .play;

Hope that helps,

-Elaine

Tags: Edge Animate

Similar Questions

  • How to read my document in the Adobe reader file

    How to read my document in the Adobe reader file

    Sorry, I don't understand what you're asking.

  • How to add background images to the stage?

    I use the last version (2014.1.1)

    I want to add a photo to be a background image in the stadium.

    So I do:

    1. Add 'compositionReady' to the stage

    (2 key - in: sym.$("Stage").css("background-image","url(images/bg.png)"); "

    but I can't see the picture and to develop tools, the tag had background-image.

    How to solve the problem?

    You are missing quotes in your code.

    SYM.$("stage"). CSS({"background-image":"URL('images/BG.png')"});)

    or

    SYM.$("stage"). CSS ("background-image", "URL('images/BG.png')");

  • How to add a movie to the stage

    The code below is used to create a slide show. It also works a long time that I load my content in container_mc. container_mc is a movieclip that is created on the stage and it contains a simple form for a background.

    Rather than create the movieclip on the stage, I want to generate the movieclip dynamically as follows:

    container_mc1 = new MovieClip;
    container_mc1. Width = 100;
    container_mc1. Height = 100;
    s = new shape;
    container_mc1. AddChild (s);
    this.addChild (container_mc1);

    However, the movieclip is not be added to the stage. It does not work when I Uncomment the line:

    slideView = new SlideshowView (container_mc1);

    How can I connect container_mc1 to the scene? Thank you!

    package {}
    import flash.display. *;
    import flash.events. *;
    import flash.net.URLRequest;
    import the mvc. SlideshowModel;
    import the mvc. SlideshowView;

    SerializableAttribute public class SlideshowDocument extends MovieClip {}
    private var slideModel:SlideshowModel;
    private var slideView:SlideshowView;
    private var req:URLRequest = new URLRequest("data.xml");
    private var container_mc1:MovieClip;
    private var s:Shape;
    public void SlideshowDocument() {}
    container_mc1 = new MovieClip;
    container_mc1. Width = 100;
    container_mc1. Height = 100;
    s = new shape;
    container_mc1. AddChild (s)
    this.addChild (container_mc1)
    slideView = new SlideshowView (container_mc);
    slideView = new SlideshowView (container_mc1);
    slideModel = new SlideshowModel();
    slideView.model = slideModel;
    slideModel.load (req);
    }
    }
    }

    Oops, you need a linestyle or filling.  In addition, you should (not) set a width/height on an object is empty:

    package {}
    import flash.display. *;
    import flash.events. *;
    import flash.net.URLRequest;
    import the mvc. SlideshowModel;
    import the mvc. SlideshowView;
       
    SerializableAttribute public class SlideshowDocument extends MovieClip {}
    private var slideModel:SlideshowModel;
    private var slideView:SlideshowView;
    private var req:URLRequest = new URLRequest("data.xml");
    private var container_mc1:MovieClip;
    private var s:Shape;
    public void SlideshowDocument() {}
    container_mc1 = new MovieClip;
    container_mc1. Width = 100;
    container_mc1. Height = 100;

    container_mc1. Graphics.LineStyle (1);
    container_mc1. Graphics.drawCircle (0,0,200);
    slideView = new SlideshowView (container_mc);
    slideView = new SlideshowView (container_mc1);
    this.addChild (container_mc1)
    slideModel = new SlideshowModel();


    slideView.model = slideModel;
    slideModel.load (req);
    }
    }
    }

  • How to "call" a movieclip on the stage of in a movieclip?

    Hey,.

    I have therefore 2 video clips on the stage, and I have to call the 2nd movieclip of in that 1.

    Ive tried to use;

    "stage.popUp_mc.gotoAndStop (1);

    "root.popUp_mc.gotoAndStop (1);

    and it keeps bringing the errors

    Thanks :)

    Ollie.

    If you are using AS3 and the two movieclips live time on the root timeline, so you can try...

    MovieClip (root).popUp_mc.gotoAndStop (1);

    You could possibly use.

    MovieClip (parent).popUp_mc.gotoAndStop (1);

    A correct way more OO to do this would be to have an event listener in the main storyline that is assigned to the movieclip and listening to an event that distributes the movieclip.  The event in the main storyline listener would call a function in the main timeline that targets the second movieclip.

  • How to read file returned by the file picker

    I'm going to obviously stupid here, but for the life of me I can't figure out how read in a text file returned by the file picker.  I am currently getting the good full path of the file in the file picker but where do I go from here?  BlackBerry.IO.file does not seem to exist in Blackberry 10 and I'm confused as to how I would use the HTML5 File API from only a file returned by the file picker path.

    Can someone please spit out a quick and dirty example showing me the rudiments of reading in the data file from a path returned by the file picker, please?

    Thank you very much

    DM

    Don't know if you have the path to the file, and then you left there. One thing to note. The file MUST be inside you bar (sandbox) OR you need to add the <> ermit > access_sharedermit >
    and then he can live the file in the shared folder on the device.

    Here is a code that you can use to read a file. I poached it our docs found here:https://developer.blackberry.com/html5/apis/blackberry.io.html

    
    
  • Help! Need advice on how to read an excerpt of the Catalogue database

    Recently, my secondary hard drive that contains my recent photos crashes :-(

    Here are all the photos, but I couldn't always high quality 1:1 access thumbnails that I generated in LR 2.5. What I know is that the thumbnails are located on C:\Documents and Ryan Documents\My Pictures\Lightroom\Lightroom 2 catalog Previews.lrdata\, someone has an idea how can I recover photos in thumbnails?

    We hope to get some advice...

    Yes. Go to imageingester.com and download LRViewer. It's free and will do what you want. It is available for Mac and PC.

    HAL

  • How to remove an event on the stage listener from outside the class defined it

    Hello

    I use a component in my app, but it turns out, it slows down my app down big time b/c it does not remove an eventListener on stage for the movement of the mouse. Is there a way I can remove this listening port? I can't in category b/c it is a component and it has no sort of kill function to call.

    Any help would be great.

    Thank you

    You must always have access to the class that contains the listener to remove this listener if this class is precompiled or not.

  • How to bind an object on the stage of an external class file?

    I have a dynamic textfield called neighName on my Flash stage. I also have a movieclip that I call a region on my stage. When I mouseover in the region, I want a Word to display a small popup * and * I want to text to display in my textfield. I have an external .as file for the management of the region. I can do the code 'see' my area, but I can't seem to see my textfield, even if no error is thrown. Help, anyone?

    My bad - I put the textfield.visible to false. Apparently, I need more coffee.

  • How to read 4 similar channels at the same time with the MCC

    Hello

    with the mcc libraries and a card PCi-6034 classic (by calculation of the measure), I want to read 4 analog channels at the same time. I have a "scope" with 4 channels.  How to read 4 channels at the same time with the mcc?

    MF

    Hello MF.

    Thank you for using OR support.  I guess you try to program in LabVIEW.  Where exactly did you get the MCC library of?

  • How do they interact between the stage and the classes?

    Hello

    I asked this question before, and all I got is 'Go back to reading beginner books', so I hope that someone here is willing to actually answer my question rather than brushing because they were unwilling to help...
    And Yes, I have read books on the topic and been through tons of documentation and not found the answer to this. I have 1 ActionScript and JavaScript experience, so this whole thing shouldn't be this hard.

    I am using ActionScript 3 in Flash CS3.

    My problem is the following:

    I need to know how to send commands between the stuff on the stage and stuff which is defined in a class.
    I had this problem for centuries and kept trying to find ways around it since so far I couldn't find help for her.

    For example:
    When you use a document class, how can I get the number of the current frame of the stage?
    Or using a class of documents, how can I access any object (such as a MovieClip with instance name) who has been on the scene with the IDE?

    Currently, to be more precise, I'm doing something really simple:
    Make a button work on my scene, which is not always visible. With AS3, which is not as easy more than before.
    So what I have now, is to create the button in the document class, used addChild and set it to alpha = 0.

    Now, when the stage reached specific images (i.e. those with labels, and I got this part understood), it is supposed to make the button visible. Then I can add stuff and event listeners, and I can understand this part myself.

    I do not know how to access the number of stage of the document class setting, so I put it in a script of frame in frame 1, but now this script cannot access the button that is defined in the document class.

    It makes me bananas...

    Please, here, can someone someone explain to me how can I make this work?

    I've seen many diagrams of the list of display and the object hierarchy, but none of this, explains how to USE effectively all...

    Thank you in advance to anyone who is willing to spend the time to answer!

    Well, first of all, I must say that AS3 is fundamentally designed to be difficult on purpose, this interaction between the objects is intentionally very strict. For this reason, I always use AS2 to all my basic work of Flash. AS3 is just much more involved, much tighter, much less forgiving... it takes a lot of experience with it before it begins to make sense.

    Now, I think I might have a few answers to your questions:
    Any DisplayObject instance (this includes any class of Document, which must extend MovieClip or Sprite instances) you can access the scene using the "stage" property

    However, stadium is probably not exactly what you want, you want the main timeline, which is a child of the stage. To access the main timeline, you can use the 'root' of any DisplayObject property.

    However, unless you have the strict mode off, Flash will let you just say 'root.myMovieClip' because the root property is of type DisplayObject, that is not a dynamic class (which means that you cannot add properties to it) and it has not built in the "myMovieClip" property, so he thinks you did a mistake. You have to "climb" the root as a MovieClip property, which * is * dynamics so it will allow you to try anything on this subject of reference (like AS1/2 does with everything.)

    So what this means is it should work from the inside, document you class:

    .myMovieClip (root as MovieClip)
    or
    MovieClip (root) .myMovieClip

    Either successfully make reference to a MovieClip you set on the main stage in the IDE and named 'myMovieClip '.

    Rather than set the alpha to 0, try the visible parameter to false. I think that this will disable all interactive events, where simply setting alpha to 0 it would still be interactive.

    HTH

  • How to best create file with the models of labels for products

    I have been printing my own labels on a laser for my company printer and am moving to the stage of having a printer to begin printing for me Boo. BUT, I have to ensure that PDF files, I give him are clean and lined up perfectly.

    I used the templates and the margins provided for by the manufacturer label (onlinelabels.com) and with a little tweaking, they work for me both feel. But any care I use the templates there is always that "derives from the printer" on my printer that I adjust for.

    How can I create my files so that the labels and the bazillion images work on their printer? This will be a final file of 250 pages, each different page. These are images of picture with some text and most bleed like the picture. I have little precious space of one label to another.

    Is there a way that I didn't think to create the document?

    The attached examples are a text page and a page with the circular template image up if are you can see. Here's the circle 1.67 "labels.

    Kathy

    THANKS _ I hope I have explained this in some form of intelligibility.

    Page46.jpgPage54.jpg

    The PDF file will be accurate. No doubt their pick-up rolls and route of introduction are accurate. Desktop printers, even slightly of those spendy and type "bizhub" generally cannot be invoked for Registration, page by page.

    Just be sure to share the design with the printer, so that they can see what they are getting into. Once they give you the green light, drifting, as appropriate, is on their shoulders.

    Mike

  • Turn on the labels of the buttons! Why are they turned off and I have to spend ages trying to find how to activate their!

    I have to waste time reset my toolbars after the bloody upgrade because I'm upset. Where do you turn on the labels of the buttons so I know what they are for love?

    Edited by a moderator because of the language. See the rules and lines guidelines .

    Hello

    The people who answer questions here are for the most part, other users Firefox dedicating volunteer their time (like me), not employees of Mozilla or Firefox developers.

    If you want to leave a comment for the developers of Firefox, you can go to the Firefox help menu and select submit comments... or use this link. Your comments gets collected at http://input.mozilla.org/, where a team of people read it and collect data on the most common questions.

  • I have updated and now when I try to log on to Web sites with fingerprint reader, I get "Firefox doesn't know how to open this address, because the Protocol (dpql) is not associated with any program."

    I have updated and now when I try to log on to Web sites with fingerprint reader, I get "Firefox doesn't know how to open this address, because the Protocol (dpql) is not associated with any program."

    What is the Digital Persona fingerprint scanner? If it's that they have abandoned, for more details, see https://support.mozilla.com/en-US/questions/799388

  • How to read the files on time capsule

    How to read the files on time capsule from iPad?

    Thank you

    Using an application like navigation on the iPad. More info here:

    Stratospherix - FileBrowser - overview

Maybe you are looking for

  • exporting iMovie does not, after 9.3.1 update

    After I.O.S 9.3.1 update 2 days in my Ipad mini, I'm not able to export my projects to any mail mode, Youtube, etc. Export process get stopped half-way before completion, every time I try to do. I'm not able to export my projects.pl Advise.

  • What is Motion model tool for?

    Hi, I have I learn the FCPX, went to see a lot of site with plugins. And someone has recommended to use MTT, motion model tool. Can someone tell me what is this tool because I would be grateful. It is manual, but llooks complicated. Thank you

  • Questions re Clip + with wire frayed battery

    After that my Sansa Clip + is accidentally entered into the washing machine, I left on a windowsill sunny for a few days and then left in a bag with bundles of desiccant silica gel for about a week. At first it seemed to work very well, but he began

  • TOOLBAR ICONS: I CAN'T FIND MY VOLUME ICON

    I CAN'T FIND MY VOLUME ICON

  • Windows not recognize the walkman from Sony

    I have a new Walkman NWZ Z 1050.When I plug it into the USB port, Windows 7 install instantly as a USB driver instead of a multimedia player.I can access via Explorer unit files, but the problem is, I can't upgrade my firmware cause, the program is l