Linking back from movie clips

I want my menu bar to be in a movie clip. How do I link back
to a frame in the main timeline from a movie clip?

Hi velob54,
Interesting question...
This solution concerns actionscript 3.
I put an object on frame 10 of the main timeline, and on
frame 1 put this actionscript:
stop();
then I created a symbol with class name, MyMC and on it's
first frame added the following code:
var t:Timer = new Timer(1000);
var tFunc:Function;
var mt:MovieClip = this.parent as MovieClip; // [object
MainTimeline]
t.addEventListener( TimerEvent.TIMER, tFunc =
function(e:TimerEvent):void
t.removeEventListener(TimerEvent.TIMER, tFunc );
mt.gotoAndStop(10);
t.start();
I then added an instance of MyMC to frame 1 of the main
timeline after stop();
stop();
addChild(new MyMC());
When I run the movie, after 1 second, the playhead jumps to
frame 10.
Hope this helps.

Similar Messages

  • Snapshot from movie clip

    snapshot from movie clip in iPhoto

    no - the bet you can do without third party software is to pause and take a screen shot
    N

  • 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.

  • Returning to main timeline from movie clip

    okay on my main timeline i have an intro, then a main menu. from that main menu it goes to a movie clip, i want to create a 'back to main menu' button inside the movieclip that will return to a certain frame in the main timeline.
    can anybody help me in what coding to use?
    cheers

    ive put the code in my main timeline where on the same frame as the movieclip, but im coming up with an error which is:
    Scene 1, Layer 'Actions', Frame 471, Line 3
    1119: Access of possibly undefined property back_btn through a reference with static type flash.display:SimpleButton.
    ive put in the instance name of the button which is inside the movieclip but doesnt seem to work

  • How to send back a movie clip?

    If there is a movie clip over another one i want the first one to go back, but I don't know how to do it when the project is running.
    Thank you!

    use the swapDepths() method of movieclips.

  • TextArea link inside a move clip

    The actionscript calls textArea to have a rollover action and
    then link to another site when released. However when placed inside
    a movie clip the rollOver works but not the link. I need someone to
    tell me what syntax I'm missing. It's gotta be possible.
    Please help.
    Here's the Code:
    var feature_styles:TextField.StyleSheet = new
    TextField.StyleSheet();
    feature_styles.setStyle("backgroundColor", 0x000000);
    feature_styles.setStyle("mainbody", {color: "#333333",
    fontFamily: "FFF Hero", fontSize: "8", display: "inline"});
    feature_styles.setStyle("a:link", {color: "#333333",
    fontFamily: "FFF Hero", fontSize: "8", display: "inline"});
    feature_styles.setStyle("a:hover", {color: "#FF0000"});
    background1_mc.textbox_1.links_1.label.condenseWhite=true;
    background1_mc.textbox_1.links_1.styleSheet = feature_styles;
    background1_mc.textbox_1.links_1.wordWrap = true;
    background1_mc.textbox_1.links_1.html = true;
    background1_mc.textbox_1.links_1.label.selectable=false;
    background1_mc.textbox_1.links_1.editable=false;
    background1_mc.textbox_1.links_1.vScrollPolicy = "off";
    background1_mc.textbox_1.links_1.hScrollPolicy = "off";
    background1_mc.textbox_1.links_1.embedFonts = true;
    background1_mc.textbox_1.links_1.text += "<a
    href=\"Fall08images/downloads/FALLOUT_1600x1200.jpg\"
    target=\"_blank\">1600 x 1200</a><br>";
    _global.styles.TextArea.setStyle("backgroundColor" , "none");
    _global.styles.TextArea.setStyle("borderStyle", "none");
    _global.styles.TextArea.setStyle("borderColor", "none");
    stop();

    Try:
    background1_mc.textbox_1.links_1.htmlText += "<a
    href=\"F...

  • Making Button links within a movie clip

    I am attempting to learn more Flash in general and
    actionscript in particular. I have created a flash piece that
    consists of 4 buttons within a movie clip that is being masked by
    another movie clip. One movie is the set of 4 buttons. The other
    movie is a "spotlight" that moves with the cursor. As the spotlight
    shines on each button, the button's text changes color and is "lit
    up".The Over state of each button is set to cause the button to
    change color. When I put a keyframe in the Down state of each
    button in order to add actionscript to create the action that makes
    the button clickable to take the viewer to a web page, it tells me
    that no actions can be given to this Down state. If I try using
    Behaviors to accomplish the same thing, it tells me that Behaviors
    are not supported. If I put actionscript into the actions layer of
    the timeline, it does not do the required action, i.e. clicking on
    the buttons leads nowhere. I have tried moving the actionscript
    before, between, and after the setInterval and setMasker
    actionscript that controls the interaction between the two movie
    clips (which work perfectly). I have tried inserting an actions
    layer into the button movie clip--same result--nothing. I have
    tried putting the actionscript in the second frame of the actions
    layer (both in the main timeline and in the movie clip), all to no
    avail. I did give each button an instance name and used them in the
    actionscript.
    Here is the actionscript I am using for one of the buttons:
    book.onPress = function(){
    book.getURL("http.//www.bainbridge.wednet.edu");
    I do not get an error message with this actionscript. I just
    don't get sent to the web page. I am using Flash 8.
    What else I should be doing? Is this a problem because the
    cursor is already attached to an action? I am sure that this must
    be possible, if only I knew more.
    Thanks for helping.

    do you have the actual mc identified as ( book ) on the root
    as well as the code i posted above? if so, are the code and the mc
    on the same frame? also you should note that the code posted above
    is meant to be placed on your root time line, not directly on the
    mc identified as ( book ). one more thing: you must target your mc
    ( book ) correctly.
    target like this:
    IF YOU ARE ON THE MAIN TIME LINE ( _root ):
    // if ( book ) is setting on the _root already then your
    target path is simply book.onRelease.
    // if ( book ) is setting inside another movieclip on the
    _root, find out what movieclip ( book )
    // resides in. that will now be the first part of your target
    path.
    // next find out if ( book ) resides in yet another
    movieclip. if so, that will be the next part of
    // your target path.
    // continue this until you reach ( book ). the entire path
    you took to reach ( book ) is your
    // target path.
    // you can also click on the target icon in your actionscript
    pane to insert a target path for
    // your movieclip.
    here is an example in which ( book ) resides inside another
    movie clip ( yourMovieClip ) on your _root:
    yourMovieClip.book.onRelease = function () {
    getURL("
    http://www.cnn.com/");

  • How do I change my iTunes link back from the US store to theAustralian store?

    I have connected to the US iTunes Store. Can I change the link back to the Australian store?

    Sign out then back in again.

  • Question about creating JPEG still from movie clip?

    The aperture help says that a frame will be copied as part of a stack .. But I do not see this to be the case. When I make a frame from a movie, I don't see ANYTHING different in the browser window. Please help!

    Yes, you can do that, but it's a little difficult to advise
    you the best way with the information provided:
    Can you clarify:
    Do you want to play the main clip while the thumbs continue
    to load... or do you want to preload the thumbs, then play the main
    clip, then do the tweening when the main timeline reaches the end?
    This way is easy enough.
    If you want them to continue to load and then do the tweening
    at the end of the main timeline (e..g with a stop() on the last
    frame) then its also not complicated, but you need to cover the
    situation where the loading of the thumbs may not yet have
    completed by that time (perhaps the risk is low if the timeline is
    long, but its a sensible thing to address regardless).
    Also consider whether you want anything to be hidden (i.e.
    _visible=false) at any point - e.g. before the thumbs have finished
    loading.
    As a starting point I suggest you would probably put the code
    after
    removeMovieClip("thumbLoading");
    and before the last curly bracket (" } ") in a separate
    function on the main timeline, e.g.
    function tweenThumbs(){
    //code here
    (its actually not easy to be sure, because I can't visualize
    what exactly it does)
    what you would do next depends on the answers to the above
    questions.

  • Link back from CE_PAYMENT_TRANSACTIONS

    Hi all,
    Can anyone tell me the source table from CE_PAYMENT_TRANSACTIONS is populated from?
    Miranga

    Thanks Ivruksha
    I was actually trying to link to AP_CHECKS_ALL from CE_CASHFLOWS through CE_PAYMENT_TRANSACTION. I later stumbled across a note which said CHECK_ID and CASHFLOW_ID are directly linkable which would render CE_PAYMENT_TRANSACTIONS useless for my purpose. Let's hope that works
    Thanks again
    Miranga

  • Remove control bar from MOV clip

    I dropped a MOV file into the web page and it created a
    control bar at the bottom. This is nice for most uses, but I don't
    want it. Any idea how to remove the bar? I tried re-sizing the
    graphic, but that just resizes it from the middle, so the result is
    that I would have to cut off a portion from the top equal to the
    size of the control bar at the bottom :-(

    set controller parameter to "false"
    http://www.mediacollege.com/video/format/quicktime/streaming/
    --Nancy O.
    Alt-Web Design & Publishing
    www.alt-web.com
    "enthios" <[email protected]> wrote in message
    news:g7q1e6$21d$[email protected]..
    > I dropped a MOV file into the web page and it created a
    control bar at the
    > bottom. This is nice for most uses, but I don't want it.
    Any idea how to
    > remove the bar? I tried re-sizing the graphic, but that
    just resizes it
    from
    > the middle, so the result is that I would have to cut
    off a portion from
    the
    > top equal to the size of the control bar at the bottom
    >
    >

  • In the time line, cutaways and titles are supposed to be linked on the top side of movie clips in the time line window.  I don't know what I did, but now they are linked to the bottom side.  How do I get them up to the top where they belong?

    I'm working on a movie in FCP and using cutaways and titles in many places in the timeline.  While working on a movie 2 days ago, and I don't know what I did, all the cutaways and titles are now linked to the movie clips from below rather than above.  When I "grab" them and drag them up to the top-side, as soon as I "release", they go back down.  Along the menu bar, I've check the "view", "modify", "clips", etc., looking for any thing that might refer to appearance of the time line.  What must I do to get the cutaways and titles back on top where they belong?  The audio clips remained properly-linked to the time line and play properly.  The cutaways and titles can be seen but do not play. 

    The cutaways and titles should be linked above the timeline clips, not below

  • Subject : Slideshow looks bad  Hello guys  I have a project in my Final Cut just about done.  I want to add my slideshow as part of the project and burn it to DVD.  In my slideshow, there are some stills from the movie clips and some downloaded from the i

    Subject : Slideshow looks bad
    Hello guys
    I have a project in my Final Cut just about done.  I want to add my slideshow as part ofthe project and burn it to DVD.  Inmy slideshow, there are some stills from the movie clips and some downloadedfrom the internet but they all look blur when playback and even worse if Iapply Ken Burn to it.   Pleasesome one can tell my how to do it right or it can’t be done because thedownload quality and stills from the clip are not suitable or slideshow.  Thank you
    PSC

    Thank you Ross.
    The entire DVD containing Quick Time movies (Final CutExpress project) and slideshow was done in iPhoto.  The Final Cut project was rendered prior to export to QT,  the slideshow was sent to iDVD withoutrendering. The slideshow with most of the pictures from my still camera incombination with stills from movie clips and some downloaded from the Internet.After burning, the movie playback is perfect but the slideshow is not.  The slideshow containing 3 differentkinds of pictures; those from my still camera looks OK; the stills from themovie clips and from the Internet are not.  I don’t have much knowledge in this game, but I think NTSCwith frame size 720x480, and the downloaded picture Item Property shows most ofthem are between 400 to 500 x 300 to 600, may be both of them are not suitablefor TV screen while the stills from my still camera looks OK because they are2048x1536.  Please enlightenme.  Once again, thank you so much,I really appreciate the time you offered.
    psc

  • Can you link back to an iweb homepage from a .mac gallery?

    Hi,
    I'm able to link from my iweb site to my .mac gallery, but how do I get back to my iweb site once I'm there? Can you put a link back from the .mac gallery to my iweb homepage?
    Thanks,
    Brian

    On my page the link to the dotMac webgallery opens in in a new window. So there's no need to link back. Just close the window.
    In case the gallery opens in the same window, you have to use the Previous page button.
    You cannot add a link anyway, since there's no page to edit. The page(s) are created bij dotMac.
    If you're curious: iDisk>Web>Sites>_gallery

  • How to load dynamic text inside a movie clip?

    hello all - i have a main stage where on the first frame my
    "home" movie clip displays. i did this by dragging/dropping, and
    then i put a stop action. all works fine.
    inside this home movie clip on the main stage, there are
    links to other movie clips. for example, to get to my faq's page -
    you click that button, then it takes you to frame 4 on my main
    stage, where my faq's movie clip (followed by stop action) has been
    dragged/dropped and displays properly.
    within the faq's movie clip this process is repeated, with
    buttons taking to you various pages (different frames where
    different movie clips play - all works fine).
    so now i want to add a dynamic text field within my faq's
    movie clip. i have read numerous tutorials where i have created the
    text file but i have not been able to display it with success
    within my faqs movie clip.
    here is some code that my dvd tutorial instructs me to place
    on main stage as i practice getting this to work:
    var myMCL:MovieClipLoader = new MovieClipLoader ();
    var myListener:Object = new Object();
    myMCL.addListener(myListener);
    var myLV:LoadVars = new LoadVars();
    myLV.onLoad = function (success:Boolean) {
    if (success) {
    _level5.loadedInfo.htmlText = myLV.info;
    } else {
    _level5.loadedInfo.text = "There has been an error loading
    the requested information. Please contact the webmaster.";
    and here is some code that i place on the faqs button within
    my main movie clip that takes me back to main stage and plays faq
    movie clip all successfully:
    on (release) {
    //Movieclip GotoAndPlay Behavior
    _root.gotoAndPlay("4");
    //End Behavior
    and finally, here is some code that i place within my faqs
    movie clip in an attempt to display my dynamic text within the faqs
    movie clip - so far unsuccessful:
    _level0.myLV.load("vars/faqs.txt");
    NOTE:
    i have published this to view - not working.
    i have my faqs text file starting as info=
    i have eliminated white space within my text file
    i am using flash 8 pro
    can anyone offer some sugestions? thanks!

    hmmmmm lemme double check as i seem to be a bit lost now.
    // this is my actions layer code on frame 4 of main timeline:
    stop();
    var myLV:LoadVars = new LoadVars();
    myLV.onLoad = function (success:Boolean) {
    if (success) {
    _level5.loadedInfo.htmlText = myLV.info;
    } else {
    _level5.loadedInfo.text = "There has been an error loading
    the requested information. Please contact the webmaster.";
    myLV.load("vars/faqs.txt");
    1. fyi - at frame 4 on main timeline, one layer beneath the
    actions layer where i dragged/dropped my faqs movie clip i gave my
    faqs movie clip an instance name of "mainfaqs" - although nowhere
    do i refer to this specific mc within my code.
    2. where would i replace/insert the following code?
    _level0.faq_mc.loadedInfo.text = myLV.info;
    3. i didn't know about embedding font but i saw the option
    and embedded it - still no results.
    4. i'm not sure how to do the following:
    _level5.loadedInfo.text ='test'; //although I would still
    change the path as above
    To see if your getting a return from the load call adn text
    file, use a trace statment before the success condition and see
    what it returns:
    trace(myLV);
    sorry to be such a pain - i really have looked around for
    answers through previous postings and i googled it and i've been
    taking instruction through lynda.com and dvds but i seem to be
    stuck here.... as always - thanks for your time

Maybe you are looking for