Flash CS4 Link to a Movie Clip from inside another Movie Clip

I am working on a Flash CS4 project which has 5 buttons with 5 corresponding movie clips all on the main timeline. Everything in functional so far.
My problem is this: I want to be able to mouse click on a particular word in the text inside movie clip 4 ("mc4") and have it link to movie clip 3 ("mc3") (on the main timeline).
I've tried many things, and I can't get it working.
I have tried to highlight the word then link it to "mc3" in the properties panel where it says link (I successfully linked to an email address and to an outside website in other parts of the project)....
I tried to link it in the properties panel to "mc3", I tried & "parent.mc3", "root.mc3";
Linking it this ways seems to be the simplest, logical thing to do, but I don't know what kind of prefix it needs.
Then, I tried making the word (inside mc4) an invisible button (button6) then linking it to the mc3, with it's actionscript in the main timeline with the other button functions.
I tried duplicating mc3 and duplicating invisible button 3 and moving it's hotspot to over the word.
I tried putting a copy of mc3 and the button inside mc4, with the actionscript also inside mc4.
I tried duplicating mc3 and calling it mc6, and putting that inside mc4, with the actions back on the main timeline, and tried again with the actions inside mc4.
I tried with mc6 and invisible button 6 on the main timeline, but that doesn't seem possible.
I tried using this code from Adobe Actionscript 3.0:
button6.addEventListener(MouseEvent.CLICK, startMovie);
function startMovie(e:MouseEvent):void
        this.play("mc6"); [and I also tried with "mc3"]
Nothing works!! Please, I would appreciate any suggestions!!
Thanks,
Suzanne

If I limit my attention to the second sentence of your posting, then I suggest the following (borrowing from the rest of your posting)...
If that invisible button6 is inside MC3 (on MC3's main timeline), atop the word you are trying to link to the movieclip, and you just want to make mc4 play by clicking that invisible button6, then assign the following code to the button6 inside MC3...
button6.addEventListener(MouseEvent.CLICK, startMovie);
function startMovie(e:MouseEvent):void
        MovieClip(this.parent).MC4.play();
If I missed, then I missed following your explanation.

Similar Messages

  • Flash CS4 Crashing when testing movie

    I am running into Flash CS 4 Professional crashing when I
    test (ctrl + enter) or publish my movie. The final swf file turns
    out corrupted as well. How do I fix this problem?? I am using Flash
    Player 10.

    Thanks for your reply. I have the 10.0.2 Flash update on my pc, I'm not sure about the machines at school but I'm guessing they do as well. I also have 6gb of ram, and am running 64bit windows7. The pc's at school are new Dell's running widows7 and I would think they have at least 4gb of ram. I've attached a file that crashed when I scrubbed the playhead on the pc's at school. I don't have that problem at home. Thanks again for your help.
    Dan
    jdehaan <[email protected]> wrote:
    I would check a couple things - whether the Flash CS4 installations (the ones that crash) have been updated to 10.0.2, and secondly what the machine specs are (how much RAM). There were a number of issues (including crashing while scrubbing) that were worked on at great length for the updater.  If the updater has been installed and the machines have more than 2 gigs of ram, it would be great if you could link to a file that crashes while scrubbing so I can take a look.
    Thanks.
    >

  • Flash CS4 Link to a printable pdf file

    First of all, I am having trouble importing a pdf file into my Flash CS4 project's library.
    I need assistance making a link to a pdf file that is not currently on the internet.
    That is, the end result I am looking for, is for someone to mouse click on a button which takes them to view a printable pdf file.
    Any advise?
    Suzanne

    I don't have experience with incorporating pdf into Flash, but I found this blog/article that may be useful for you regarding pdf's and CS3... read thru the comments that others added as they identify a few options...
    http://www.pixelwit.com/blog/2008/02/flash-cs3-pdf-integration/

  • Help with calling a java application from inside another one

    Hello!
    I am having this problem which is getting on my nerves and dont know how to solve..
    I want to call from my java application, another java application. So i use the exec command. Then i want to read the output of this execution from my own application, (the "parent" process).
    But it doesn work properly. Something seems to happen and i dont get the whole output.
    The java program i want to call is created for running an application created with Matlab java builder.
    This program works when called from cmd, but seems not to work when called from inside a java application.
    The code of my java application is:
    Runtime rt = Runtime.getRuntime();
    Process child;
    // The java class getmagic is a special kind of java file that uses classes that work in matlab. It uses a component (.jar) file that is created from matlab java builder. thats why it wants the -classpath and the rest options.
    //I hope you wont get messed up in here.
    String[] callAndArgs = {"java","-classpath",".;C:\\Program Files\\MATLAB\\R2006b\\toolbox\\javabuilder\\jar\\javabuilder.jar;..\\MagicDemoComp\\magicsquare\\distrib\\magicsquare.jar -Djava.library.path=C:\\Program Files\\MATLAB\\R2006b\\bin\\win32;","getmagic","4"};
    try{
    child = rt.exec(callAndArgs);
    InputStream is = child.getInputStream();
    InputStreamReader isr = new InputStreamReader(is);
    BufferedReader br = new BufferedReader(isr);
    String line;
    while ((line = br.readLine()) != null)
    System.out.println(line);
    is.close();
    System.out.println(child.waitFor());
    System.out.println("Finished");
    }catch(IOException e) {
    System.err.println("IOException starting process!");
    }catch(InterruptedException e) {
    System.err.println("InterruptedException starting process!");
    The java program (getmagic) thats uses matlab gives the following output (after some time) when called in cmd with argument 4
    Magic square of order 4
    16 2 3 13
    5 11 10 8
    9 7 6 12
    4 14 15 1
    My program shown above only prints:
    Magic square of order 4
    1
    Finished.
    Do i do something wrong? How can i get the rest of the output???
    Thank you very much in advance,
    Stacey
    PS: I am sorry for the length of my post.

    Hello CaptainMorgan08, thanx for the instant reply.
    I tried, but no, i cant.
    Because i cannot include this java aplication that uses matlab into my application, cause 1) it needs special arguments in the compiler and during execution so it can be run and 2) it uses classes that java doesnt have. only the java-like matlab code.
    For example it uses:
    import com.mathworks.toolbox.javabuilder.*;
    import magicsquare.*; //the component which is made from matlab java builder.
    So i cannot compile it with my application!
    If you know of a way, please let me know!
    I know i might be missing something.. something that is obvious to you.. but i ve been working days=nights hardly no sleep..so you can excuse me if i say something foolish..
    Message was edited by:
    Stacey_Gr

  • Reaching a movie on the stage from inside another movie clip

    I'm trying to reach a body of text which i turned into a movie clip which is on the main stage, and have it scroll up/down whenever it rolls over the designated hot spots. Here's what i have.
    stage.addEventListener(MouseEvent.MOUSE_MOVE,down1,false,0,true);
    function down1(e:MouseEvent):void {
         if (mouseX>=0 && mouseX<=42 && mouseY>111.1 && mouseY<146.1) {
              stage.addEventListener(Event.ENTER_FRAME,scrolldown1);
         } else {
              stage.removeEventListener(Event.ENTER_FRAME, scrolldown1);
    function scrolldown1(e:Event):void {
         if(MovieClip(this.root).resume_txt.y > 219) {
              MovieClip(this.root).resume_txt.y += 5;
         } else {
              this.removeEventListener(Event.ENTER_FRAME, scrolldown1);

    Can you explain the purpose bhind these lines...
         if(MovieClip(this.root).resume_txt.y > 219) {
              MovieClip(this.root).resume_txt.y += 5;
    It seems as though if it is >219, it will move until the mouse moves out of the region.  Is there any specific aspect of it that you can pinpoint as not woking?.

  • Flash CS4 - how to create event flow from children to parents?

    In my opinion natural event flow direction is from children
    to its parants.
    E.g. when in dialog box buttons are pressed it is natural to
    inform only
    this dialog box about these actions. When dialog box can't
    handle particular
    event then passes it to its parent and so on .
    Unfortunately this direction is not well supported by Flash.
    To achieve
    support for this event direction it is necessary to call
    parent.dispatchEvent() with bubbling option off. This
    solution is
    inconvenient because sometimes I can't predict what event
    types will be
    triggered inside dialog components. Most likely there is no
    function to
    catch all events which have no defined handlers in dialog in
    order to be
    possible to pass them one level higher.
    Have you got any experience with building communication model
    between
    objects in Flash applications?
    Regards,
    Marek

    XML shema is basically an XML file. So u need to know how to create an XML,
    provided u know how the shema file should be.
    Creating an XML :
    http://forum.java.sun.com/thread.jspa?threadID=5181031&messageID=9705786#9705786

  • Can my parent Flash detect a window which was open from inside has been closed?

    Hello everyone,
    I have a Flash animation which at one point opens a New
    Windows and plays an external FLV file. I would like to be able to
    continue with the animation once the new movie window is closed.
    So, I would like to know if there is a way for flash to
    detect when the user has left the New Window or closed the window?
    Khoramdin

    Hi,
    If you accidentally closed the tabs there is one way to recover the website or pages you visit. Just hold CTRL+H on your keyboard and look for its date and find the website you visited.
    CTRL+H is a keyboard hot key to access the history pane.
    I hope this helps.
    Thank you!

  • How can I Add a photo to a catalog from inside another catalog

    I have a number of large catalogs with a small subset of pictures that have been edited and printed. I'd like to be able to have just a catalog of printed images so i can easily find them, reprint them, edit them etc. but not move them from their original catalog or original location. Is there an easy way i can do this. I know i can export the image as a catalog and then import the images to another catalog. But that requires opening and closing 3 catalogs. Is there just an add file to catalog and then a list of my catalogs would show up?

    Hi Howie,
    I also would approach this topic by analyzing "why did you use multiple catalogs" in the past? What functionality exactly did you want to get with that?
    Then ask/search what other means/features could fulfill the same need. As some others in this post I am confident that there are sufficient.
    Sometimes I think the term "catalog" was not chosen very wisely over a term "database", because people might tend to think of paper catalogs of the analogous world. Then e.g. such a *catalog* per customer makes sense.
    Once you understand that 1 catalog defines the (convenient) boundaries of your pictures' universe you might choose a different approach...
    The term "database" might have scared away too may non-IT-savvy users for the taste of marketing department.
    Having more than 1 catalog only makes sense to me if you have more than 1 computer to look at your pictures' universe. Even then you should carefully decide which one is master and which one more or less for just looking at or special needs.
    Cornelia

  • Trying to show() and play() a symbol from inside another symbol

    Hi Everyone !
    I'm running into a problem which is getting me crazy.
    I have the following case :
    - 1 symbol (_Page_Background) containing an animation with the following trigger @0s :
    // Hiding the symbol
    sym.getParentSymbol().$("_Page_Background").hide();
    // Stop it
    sym.stop();
    - 1 element (B_TOYS), inside of a symbol (BUTTONS) with the following "click" trigger :
    // Showing the _Page_Background symbol
    sym.getComposition().getStage().getSymbol("_Page_Background").show();
    // Start playing it
    sym.getComposition().getStage().getSymbol("_Page_Background").play("INTRO");
    The Symbol _Page_Background starts hidden, like it should. But when I click on the button (B_TOYS), nothing happens. Although, everything was working correctly before I turned my buttons into symbols ..
    I guess the problems lies with the "show()" function, because I have other buttons that work properly but they don't show/hide anything, they just play()
    Am I missing something ?!
    Thanks in advance for your kind help !

    Hi Dimitri,
    Think of symbols as independent timelines that can contain other elements, or instances of other symbols. The Stage/main timeline is a symbol as well. Scripting calls are scoped to the symbol that the script is in. The keyword sym stands for the symbol that you're in with the script.
    So if your script is at the same level as what you are targeting with it:
    Use sym.$("elementName") to access an element's properties
    Use sym.getSymbol("symbolName") to access a symbol's timeline. If there's another symbol inside that symbol that you want to access, you'd use sym.getSymbol("symbolName").getSymbol("childSymbolName")...that's only two levels deep, but you can go as deep as needs be.
    If you're trying to access an element in a symbol, you'd combine these two, such as sym.getSymbol("symbolName").$("elementName")
    When your script is within a symbol and you want to access an element or symbol outside of the symbol timeline:
    Use sym.getParent() to get to any elements that are in the parent symbol (the symbol which contains the symbol you're calling from), which could be the Stage or could be another parent symbol
    Use sym.getComposition().getStage() from any symbol level to access things at the main Stage level.  You can also dive into a symbol on the Stage from any symbol using sym.getComposition().getStage().getSymbol("symbolName").
    All is explained in detail here:
    http://www.adobe.com/devnet-docs/edgeanimate/api/current/index.html
    hth,
    Joe

  • Detecting Overset from inside another textframe:Javascript

    I had written an applescript that will find overset text boxes, and tried and fix them (if the text box expanded to far into another it wouldn't fix it). now I'm trying to do it in Javascript. I was able to write some code that works on a normal text box. however there are some text boxes, that are in another box (bordered 1pt). The script doesn't seem to see those.
    I'm guessing because its a text frame in another (bordered frame). If this is the case Im not sure how to tell the script to look into a text frame, for another tet frame that overset.
    Applescript nevermade that distinction if it was over set it fixed it.
    Can anybody help

    @Jonny – regarding scope of a script, what object it can act upon and what object is "invisible" or not reachable, ExtendScript (and also AppleScript, I think) has not an allTextFrames array.
    In contrast to the allGraphics array which returns all Graphic objects, nested or not.
    Or the allPageItems array, which  returns nearly all page items, and of course also textFrames, which is a subclass of pageItem.
    In short and missing some important details: you could loop through all page items of the allPageItems array, check, if one of the pageItems is an overset text frame and do your thing.
    In ExtendScript that would be:
    var myDoc = app.documents[0];
    var textFrameIDArray = new Array();
    //Getting the ID of text frames looping through ALL page items:
    for(var n=0;n<myDoc.allPageItems.length;n++){ 
        if(myDoc.allPageItems[n].getElements()[0].constructor.name === "TextFrame"){
            textFrameIDArray[textFrameIDArray.length] = myDoc.allPageItems[n].id;
    //Looping through all Text Frames, also the nested ones:
    for(var n=0;n<textFrameIDArray.length;n++){
        var myCurrentTextFrame = myDoc.pageItems.itemByID(textFrameIDArray[n]).getElements()[0];
        if(myCurrentTextFrame.overflows){
            //Some dummy code here
            //Sets the fill color of an overset textFrame to yellow.
            doSomethingWithOverflow(myCurrentTextFrame);
    function doSomethingWithOverflow(myTextFrame){
        //Do YOUR thing here!
        myTextFrame.fillColor = "Yellow";
    Why would I store the ID of an TextFrame in the first loop and not doing instantly something like checking for overflow and correcting that?
    Depending what you do with nesting overset text frames, it could be that correcting the overflow could generate new overset text frames and in storing the IDs of all textFrames I can come easily back like in the second loop to check for overset. Sometimes you cannot correct overset so I would not recommend a while loop running on the positive test for overset text frames present in the document.
    Uwe

  • How to access a variable from inside another symbol

    So i did this tutorial, Leveraging Independent Symbol Timelines created by Eliane...it's rockin, btw.  ;-)
    All's well but now i have a symbol on the stage called mc-home.  inside of mc-home is a button called btn-go.
    On the stage in composition ready there's a variable sym.setVariable("current", "mc-home");
    This code works for a symbol that's on the stage but, how do i get this code to work on a button that's inside another symbol that's on the stage?
    var current = sym.getVariable("current");
    if (current != "") {
        sym.getSymbol(current).play("OUT");
    sym.getSymbol("mc-something").play("IN");
    sym.setVariable("current", "mc-something");

    sorry, i was kind of confused myself too, don't worry about it but thanks for your patience for reading it anyway

  • Flash CS4 - Background Colour Change Not Changing in Test Movie

    Hello,
    Whenever I change the document's background colour in Flash CS4 and then "test movie", the background colour remains white. However if I publish it the colour will be the selected colour.
    It's not a huge deal since it publishes right, but I'd really like to be able to test my movie with the correct background colour.
    I'm on Mac OS X 10.6.8, and I am updated to the latest version of CS4.
    Any help would be greatly appreciated,
    Thanks

    Hey there,
    Could you describe the setup or link a file with the problem?  I can't reproduce the problem with basic fades (obviously they should continue to work when you switch the player).  Is it just in the document you're working on, or all documents you create?
    Thanks,
    Jen.

  • Unable to export from Captivate 4 to Flash CS4

    Hello everyone!
    I am attempting to export a captivate project over to flash CS4.  However when it goes from captivate over to flash the result is basically a slide show. It does not show any of the animations that are present in Captivate. I also keep recieving an error message.
    I have searched for how to solve this problem for quite a while now and so far have come up with nothing.
    This is the error message that flash gives me:
    The following elements in your project have not been converted. They are not supported by this importer.
    508 Compliance
    A swf animation slide has been imported. The following files must be made available at publish time:
    Project01_slide_22_0.swf
    DefaultPreloader.swf
    Please make sure you publish the project to “C:\Documents and Settings\jmillard\Desktop.” Saving the project to this directory will ensure that test project will work with the swf animation slides.
    Unfortunately I am on a tight schedule to get this project done and the Captivate 4 and Flash CS4 I am using are both 30 day trials, so I am in quite a hurry.
    If you could please help me I'd greately appreciate it! 

    When you click on <Send Book to Blurb> a dialog should come up that asks for your ID and password for your Blurb account. I don't know if Blurb ships to Norway - you probably can find out at the Blurb website. But I don't think that this is the problem here since you also cannot export a PDF or JPGs.
    I don't know of any specifics why this is not possible for you but it's worth trying to replace the Preference File.
    This file can go "funny" and is then responsible for all kinds of strange behavior of Lr. The remedy is replacing the Preference File. 
    BTW: Re-installing Lr or updating / upgrading Lr does not replace the Preference File since it is designed to "survive" upgrades.
    See here for where to find the Preference file for your OS: http://helpx.adobe.com/lightroom/kb/preference-file-locations-lightroo m-4.html
    See here for how to go about Replacing the Preference File: http://lightroomers.com/replacing-the-lightroom-preference-file/745/

  • In need of Flash CS4 trial again

    Hello i had downloaded flash cs4 on a laptop, due to my desktop being messed up, now my desktop is fixed,and i would like to download the flash cs4 trial on desktop now,but the only problem is i do not see CS4 trials on site anymore, is there anyways to still access the flash CS4 links to still get trial version, or will i have to wait for CS5 trial to come out now:( thanks in advance to all who respond:)

    OP was looking for CS4."
    I know. The site had all trials down for a bit, and traditionally the site only has trials for the current version, which is CS5. Which were just added to the site, hence the link. Nowadays the only safe place to find a CS4 trial would be from an old trial disk, and some book CD-ROMs will have a trial on them that  you could get from a library.
    Regarding where the link was from. The link I added was one that came from the Adobe.com folks - the product page link wasn't working, so they gave us those which would take you directly to the store area of the site to get the trial.

  • Problems importing into flash CS4

    Hello everyone!
    I am attempting to export a captivate project over to flash CS4.  However when it goes from captivate over to flash the result is basically a slide show. It does not show any of the animations that are present in Captivate. I also keep recieving an error message.
    I have searched for how to solve this problem for quite a while now and so far have come up with nothing.
    This is the error message that flash gives me:
    The following elements in your project have not been converted. They are not supported by this importer.
    508 Compliance
    A swf animation slide has been imported. The following files must be made available at publish time:
    Project01_slide_22_0.swf
    DefaultPreloader.swf
    Please make sure you publish the project to “C:\Documents and Settings\jmillard\Desktop.” Saving the project to this directory will ensure that test project will work with the swf animation slides.
    Unfortunately I am on a tight schedule to get this project done and the Captivate 4 and Flash CS4 I am using are both 30 day trials, so I am in quite a hurry.
    If you could please help me I'd greately appreciate it!

    Check the settings:
    Edit/Preferences.../PSD File importer...
    And then load the *.psd file without the background.
    And certainly there is no change in flash...

Maybe you are looking for

  • Suprised at lack of service from Apple!

    When I logged onto this form I thought my problem would be addressed. But this is not the case. Where is Apple? I am surprised and dismayed that there is no response from Apple. Is this the norm? Does Apple not help out here? My issue is this error m

  • How to list dependencies of stored procedure in a package in oracle

    hi gurus, can any body help me to solve the below issue? how to list dependencies of stored procedure in a package in oracle? advanced thanks...

  • Specify Pop Up list options via info given from another pop up list.

    Needing to allow someon to select a category from a pop up list, then a field within that category from another pop up list. Hoping that based off the first selection, I can limit the options in the second pop up list to only those applicable so that

  • How to use the telnet command line in Labview

    Hi, someone can help me, I need to use a Telnet session in Labview but without using the http protocol, in this application I can only access the Telnet session using command line, here is an example of how I can access: From my computer, click on St

  • Process variants ?

    Hello, I am question regarding process variants when we are trying to model a process chain. When you create a new process chain it asks you for enter a existing rpocess variant. What do we have do there.? Like do we have to create new variants or SA