Frame reference within a clip within a clip

this seems to be an almost universally puzzling question as I've not gotten any responses from any of the forums that I've posted on...
Is it possible for me to have 1 movieclip consisting of multiple movie clips, in a .fla file, and reference specific frames of clips within a frame of the movie clip, from an outside .as file?
In a .fla file I have a movie clip that consists of several frames, each containing a different movie clip to perform different actions of a character I am attempting to animate.  The basics of the code work fine, but now I'm trying to get into more detailed aspects of the characters actions and interactions and all the tutorials that I've come across thus far direct me to add various aspects of code throughout my animation which I feel would litter my program as this project grows.  My basic code is as follows
class hero extends MovieClip
    variable definitions up here
    function onLoad()
        variable initializations here
    function onEnterFrame()
        if( Key.isDown(Key.RIGHT) )
            _xscale = 200;
            if( Key.isDown(Key.SHIFT) )
                gotoAndStop("run");
                _x = _x + run_speed;
            } else {
                gotoAndStop("walk");
                _x = _x + walk_speed;
// more of that for the other carnal directions of the character's movement...
        } else if ( !Key.isDown() ){
            gotoAndStop("stand");
This works fine.  Beyond this, I have a frame with the anchor lable "Punch" which contains a movie clip consisting of 5 frames.  Is it possible for me to reference specific frames within the movie clip within this frame of the big movie clip?

you reference nested clips using dot notation BUT the parent clip must be on a frame where the child exists.  for example, if the _currentframe of parentMC contains childMC,   you could reference the frame number of childMC that's a child of parentMC using:
trace(parentMC.childMC._currentframe);
if childMC only exists on frame 2 of parentMC and parentMC is on its first frame, then you would need:
parentMC.gotoAndStop(2);
trace(parentMC.childMC._currentframe);

Similar Messages

  • Naming clips within a sequence

    Help, I'm stuck! I've created a sequence from a subclip and would like to assign a different name to each clip within the sequence. Changing one clip affect all the others. I have tried all the options described in the editing workshop book by Tom Wolsky but have not been able to do it.
    What am I doing wrong?
    thanks

    Thank you for your reply. This is what I was doing
    1. Made the sequence
    2. Clicked on the Sequence 1 icon on the browser and selected Make Sequence Clips Independent
    3. Moved the sequence clips from the time line to the browser
    4. Changed the name in one clip and they all changed including the master
    After reading your reply,
    1. Made the sequence
    2. Highlighted the sequence in the time line
    3. Selected make clips independent from the Sequence pull-down menu
    4. Moved the sequence to the browser and was able to re-name them independently.
    Obviously I misinterpreted the explanation in the book.
    Thank you for taking the time to respond.

  • Panning & scale clips within a PIP template

    I have PremPro & AEP CS6. I'm looking for the best way to play 4HD clips (layers 1-4) within a 4-square template (like "24"), but panning & scaling each clip separately within its "window". I would like to retain the highest quality for the sequence and each of the 4 clips. I prepared 4 jpeg matte files, each with a different "white" window for the 4 quadrants, and I can use the track matte key on each clip tracked to its matte to play all four clips within the windows, but when I scale or move the clips to "crop" into them, the mattes scale and move as well. What am I missing here?

    To add to what Richard said, this is simple.
    Edit each of the four windows in a separate sequence. When you are happy with each of the four sequences, you can create a 5th sequence and then put the four sequences on to the first four video tracks. Use the Motion effect to scale them to 50% and then move them into place. Slightly smaller than 50% if you want borders.
    Once that is done, you can always go back and make changes to the original sequences.
    If you truly want to pan around them, you might want to create the sequences at 50% to begin with and just scale the video down. That way you can pan and zoom in the sequence without losing any quality (as long as you never scale up to more than 100%).
    Then when you drop them on a full size sequence, you just need to use the Motion effect's position parameters to move them into place because they will already be properly scaled.
    As for the borders, you can simply create one matte using the Title Designer or Photoshop, and drop it on to the top video track.

  • Can one cut and paste an audio clip within a movie to use in another place?

    can one copy and paste an audio clip within a movie to use in another place?  Any help would be appreciated.  Thanks

    If you are wanting to use the audio from clip A into clip B then try......
    First check that Advanced tools are enabled: iMovie>Preferences>General>Show Advanced Tools.
    Drag clip A from the Event UPON clip B in the Project. When you release the mouse you will get a pop up menue.
    Select Audio Only. Note the other options for another day!!!!
    You will get a green bar as Karsten mentions above ( move it , shorten it etc, etc.)
    Show Audio Waveform by selecting Blue Waveform Box ,bottom right of Project Window.
    You can adjust audio level from clip A and clip B to your requirements.You can set either to zero volume if you require.
    This may not be what you meant by "to use in another place "
    If you want just the audio to use outside of iMovie, try;
    With the required clip/clips only in the project> Share> Export Using Quicktime and in Export Select "Sound To AIFF. Save to desktop in the first instance so you can easily find it.

  • Manipulating Multiple Audio Clips Within One Track

    Hello I need help with 2 issues!
    Problem 1: I recorded in Audacity converted it and brought them into Soundbooth CS5.  It turns out to be 208 clips that I now have on one track. When I edit/shorten one track (lets say clip 8) I have to individually select all other tracks to move them forward because there's space between clip 8 and 9 thru 200.  How do I select track 9 thru 200 (highlight them all) without having to individually select all clips within the track?
    Your help will grately shorten my editing time.
    Problem 2: I have several clips that have 2 audio tracks by mistake. How do I split up the audio and keep the portion I want?
    Thanks in advance.

    Select "Share" in the File menu, then QT export, expert setting, save as AIFF. (Optionally export just the selected clips)

  • Movie clips within movie clips

    I have a movie clip (I'll call it B_mov) inside another movie
    clip (A_mov). When you click a button in A_mov, B_mov plays. At the
    end of B_mov, I used stop(); to make it stop. How do I return to
    A_mov from there? I assume this is ActionScript territory.
    This is coming from someone who has just taken his first baby
    step into AS, navigating a single timeline via buttons, but I have
    no idea how to move between different timelines.
    Is this something that can be easily explained? If it's
    really complicated, I don't want to burden anyone.
    ...Would I be better off finding an online AS tutorial? Can
    someone please point me in the right direction?

    supaaman,
    > I have a movie clip (I'll call it B_mov) inside another
    > movie clip (A_mov). When you click a button in
    > A_mov, B_mov plays.
    Okay.
    > At the end of B_mov, I used stop(); to make it stop.
    Makes sense so far. :)
    > How do I return to A_mov from there? I assume this
    > is ActionScript territory.
    Well, you've already entered ActionScript territory by
    programming your
    button and adding that stop() action, so that's a good thing.
    When you say
    "return to A_mov," what do you mean? What would like like
    A_mov to do at
    this point?
    > This is coming from someone who has just taken his
    > first baby step into AS, navigating a single timeline
    via
    > buttons, but I have no idea how to move between
    > different timelines.
    Timelines are synonymous with movie clips, and movie clips
    are defined
    by something called the MovieClip class. In fact, all objects
    in
    ActionScript are defined by corresponding classes (text
    fields are defined
    by the TextField class, arrays by the Array class, and so
    on).
    Thinking of it this way, you can consult the MovieClip class
    entry of
    the ActionScript Language Reference (the Help panel) to find
    out everything
    you need to know about movie clips. The characteristics of
    the object are
    called properties (you'll find references to width, height, x
    and y
    position, etc.). Things the object can do, such as stop(),
    play(), and the
    like, are called methods. Things the object can react to --
    mouse clicks,
    for example -- are called events.
    You haven't stated what version of ActionScript you're
    using, and the
    exact wording of your code depends on that, but for example,
    in ActionScript
    2.0, you'll find that movie clips have a _parent property (in
    ActionScript
    3.0, it's simply parent). This property allows the movie clip
    in question
    to refer to its parent timeline (that is, its parent movie
    clip). That
    might be a step in the right direction for you, but I'm not
    sure what you
    have in mind.
    Instead of simply invoking stop() in the final keyframe of
    B_mov, you
    might do something like this:
    stop();
    _parent.play();
    ... which invokes the MovieClip.stop() method on B_mov's
    timline (because
    that's where the reference to stop() appears: in B_mov's
    timeline) and then
    makes a reference to B_mov's parent via the MovieClip._parent
    property.
    That reference therefore invokes MovieClip.play() on A_mov.
    The reason it works here is entirely because of the point of
    view from
    which the code operates: namely, keyframes in B_mov's
    timeline. If your
    code were all on the main timeline, your methods would be the
    same -- stop()
    and play() -- but your object references would be different.
    Does that make sense?
    David Stiller
    Adobe Community Expert
    Dev blog,
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Splitting Clips within an Event

    I have searched everywhere for how to do this but come up short. I have old camera clips in .avi format that I have imported. I want to split portions of a single clip into new and separate events but the split clip and split clip before commands are greyed out. Can I do this or do I really have to create a separate project for each clip segment in order to separate these video segments. Final Cut Express wont seem to import these .avi clips at all, so I can't try doing it there either.

    If you highlight the clip and drag the sliders to the middle (or wherever) and 'remove selection', does that work?

  • How to delete the transparent frames that Pluraleyes adds to replaced audio clips in an event ?

    Hi there,
    I have a workflow issue working with Pluraleyes 3 and FCPX.
    MY CONTEXT
    So I imported all my clips into FCPX (about 300 from camera 1, about 300 from camera 2 and separate audio which ran almost with only very few interruptions on set).
    I synced everything with PE which gives me back the following :
    1. a new Event with replaced audio clips.
    2. a new Event with one giant multicam clip.
    3. a new project completely synced BUT with the non-replaced audio clips
    MY PROBLEMS
    1. Problem is that the clips have additional transparent frames before and after their actual video (i.e. PE makes new clips from video and longer bits of audio that do not begin/end at the same time).
    2. The giant multicam clip has plenty of chunks where audio was recorded but where no video was.
    MY QUESTIONS
    PE has created plenty of useless clip lengths. How can I get rid of them with some batch process ?
    OR if I say that another way
    How can I create an EVENT that contains clips with the exact same length as the originals, only with the corresponding audio replaced ? (Please remind that I have LOTS of clips)
    Moreover, the clips within the new events created by PE have (not surprisingly) lost all keywords I gave to the clips before syncing with PE. Is there any way to fix this ?
    Thank you so much because it feels like PE's job is kinda useless  :-/

    It's the Shift key. It's not a button. It's shifts from lower case to upper case when typing. It's been called the Shift key since the 19th century.

  • How can i reference a MIME object within a correspondence format through...

    how can i reference a MIME object within a correspondence format through TX oofo or se71?
    Hi, I need to put a MIME object within a correspondence's format that i've already done through Tx oofo. My problem is, that i don't know exactly how can i make the reference of that MIME object in the format? and What structure type do i have to use in order to make appear the MIME object in my correspondence's format? Does anybody can help me with this?   
    Regards    Hector

    Frank,
    I tried to find some examples/samples on how to create CollectionModel for a table component but not successful.
    Can you clarify the following ?
    1. "CollectionModel" is referenced only by af:table attributes "value", "selectedRowKeys" and "selectionListener".
    The rest of af:table attributes such as "rows", "fetchSize" used to reference the iterator binding in the binding container via the EL expression "#{bindings.VOIteratorBinding.xxx} .
    What should I replace that EL expression with?
    2. I heck out the bean method to create the CollectionModel as following, is it close to what you mean?
    public void initBusinessDataDashboardView() {
    OperationBinding operation = BeanUtils.getOperationBinding("getPanelBusinessData");
    Map params = operation.getParamsMap();
    Key panelKey = getPanelInfoView().getKey();
    params.put("panelKey", panelKey);
    params.put("maximizedView", false);
    panelView = (ViewObject)operation.execute();
    // Heck code to create CollectionModel
    RowSet rowSet = panelView.getRowSet();
    ArrayList rowList = new ArrayList();
    while (rowSet.hasNext()) {
    rowList.add(rowSet.next());
    model = new ChildPropertyTreeModel(rowList, null);
    // To be used to set up af:table value, selectRowKeys, selectionListener via EL expr #{backingBeanScope.MyBean.model.xxx}
    public CollectionModel getModel() {
    return model;
    Am I on the right track?
    Edited by: Pricilla on May 4, 2010 2:20 PM

  • Delivery without reference for stock transfer within the same plant 311

    Dear all,
    I need to create a delivery without reference for stock transfer within the same plant, movement 311,  i.e. just from 1 storage location to another storage location.
    I tried to use VL01NO with delivery type UL.
    Now my question is how can I assign a receiving plant for a customer?
    I can't do the MIGO or MB1B document because I need the delivery document (packing list, forms, Texts,...).
    It's possible this option???
    Thank you very much.

    Hi,
    What is the item category you are assigning while doing VL01NO?  Check the schedule line category for that item category assignment.  That Schedule line category has an option for one step GI.  There you can assign 311 or create a separate item category and schedule line category and in that SC assign 311. 
    Thanks
    Krish.

  • Is it possible to move a freeze-frame from an imovie(9.0.2) clip to iphoto?

    Is it possible to move a freeze-frame from an imovie(9.0.2) clip to iphoto?

    Yes. You will need to download and install a free app called MPEG Streamclip from Squared 5.
    In iMovie, locate the video clip that contains the still you want. Right-click on the video clip and select REVEAL IN FINDER. You should see this clip highlighted in the Finder. Drag this video clip into MPEG Streamclip.
    In MPEG Streamclip, move the playhead to the video frame that you want to make a still from. Click FILE/CREATE FRAME...
    You can choose JPEG, TIFF, or PNG and give it a name and location.

  • When I move video clip, my audio clips (unlinked) split ??

    I have separate video and audio clips on the timeline (they are not linked).  When I try to move a video clip (or multiple clips at one time), before I let go of the mouse, the audio clip(s) below the video split, so that they are before and after the moved video clip.  They are not linked together.  How do I move a video clip without affecting anything else?
    Thanks.

    This might be helpful from some of my old notes. The ripple behavior can be overcome by the use of the CTRL
    button. However it depends on whether you press CTRL before or after you start moving the clip. When moving clips
    around in the timeline there are 4 basic types of movement Lift, Extract, Insert and Overlay:
    The first two, Lift and Extract have to do with how the clip is moved OUT of it's current position. To see what I
    mean, hover your mouse over a clip in the timeline, then press and release the CTRL key while watching the status
    text string in the lower left of the application window, you'll see that holding CTRL before clicking and dragging
    triggers the extract behavior (which tells the timeline that there is a gap being created that should be closed)
    but clicking and dragging with no CTRL modifier allows the Lift behavior (which tells the TL to ignore the gap)
    The second two, Insert and Overlay have to do with how the clip is placed IN to it's new position, that is,
    whether it is Overlaid over exisitng footage without any ripple movement or Inserted within the existing footage,
    causing any following media (including that on other tracks) to be rippled forward.
    Since there is no way to lock down tracks in PE, you must always be mindful of what this default rippling behavior
    is doing to overlapping media on other tracks.

  • Clipping mask is clipping my lines and not the actual object.

    Hi all,I'm using the latest CC Illustrator.
    I'm so frustrated and hope someone can help me, I've already spent a few hours trying to figure this out and looked through a number of tutorials and troubleshoot forums and I cant find an answer.
    How do I stop the clipping mask from clipping inside the line itself, instead of my within the object. I'm still a newbie and I know I've done something wrong somewhere. I just cant figure out what.
    Here are a couple of screenshots of my problem.
    The end result looks pretty cool, but since this is for an assignment, I need it to work properly.
    Help!

    You are welcome. No you don't need to undo, you are on the right track, you expanded the lines in order to clip mask with a lighter image, now you need to use PathFinder to fill the holes (the turtle's shells) and clipmask them with a darker image like two turtle I created a few years ago. To use pathfinder, place a large rectangle behind the turtle expanded lines (compound path), select the expanded artwork and the rectangle and click PathFinder Divide button, at this point you will have the holes filled with paths and grouped with the original paths, so ungroup them. Then you select the newly generated paths and clip mask with a different and darker image. This attach image was done with PathFinder, pen tool and live paint. The images I used are real wood species, that I scanned into .jpg files.

  • Missing clips in compound clip

    I have started editing a project and have created a compound clip within the event. I have gone back to it this evening and it is saying the whole of the compound clip is 'missing clips' even though the original footage/clips are there so no relink/reimport works.
    Does anyone know how I can restore this? Or has anyone experienced the sameproblem, if so is it possible to get it back to a working state?
    Thanks!

    Yes, you would think so. The work around is simple, but this shouldn't be happening.
    The iMovie bugs site doesn't mention my issue, however I found the still image rendering issue interesting. I have hundreds of still images to incorporate into this project and those work arounds will be useful.
    Thanks!
    (I'd still be interested in knowing if anyone else has experienced this missing clips issue.)

  • After "Replace with clip" the original clip can not be deleted from the project - why?

    After using "replace with clip" to replace clip A in the timeline with a new clip B , clip A can not be deleted from the project anymore.
    If you try to delete clip A, you get a warning, that it still has references in one or more sequences.
    If you continue and delete clip A, it seems to be deleted - at first!
    Unfortunately if you save and reopen the project, clip A is restored to folder "Recovered clips".
    It's not possible to really delete it.
    I also did not find a way to unlink clip B from A .
    The only thing you can do, is to revert the change by "Restore Unrendered" in the clip context menu. But that's obviously not helping
    I dont know if this is a bug or a feature. I understand, that it can be useful to undo the "replace clip" function, but why would anyone not want to be able to delete the original clip at all?
    help how to fix this problem is greatly appreciated!
    I use Premiere Pro CC 2014.2 (Win7 64bit)

    I'm sure it has nothing to to with other sequences.
    You can easily reproduce this behaviour:
    1. create a new project
    2. import 2 clips and name them "A" and "B"
    3. put "A" in the timeline
    4. ALT-drag "B" over "A" in the timeline (or right-click "A" in the timeline while selecting "B" in the project files and select "replace with clip ... from bin")
    5. delete "A" from the project files
    6. save and close project
    7. reopen project
    => "A" reappears in "Recovered clips" and can not be deleted.

Maybe you are looking for

  • Customizing a backup plan for mac osx10.6.8

    What to do to backup all content of every file to an external hard drive Go-Flex Pro for Mac My old back  back up plan is not sufficient.  i dont seem to have Time Machine with my Sno leopard Thank you

  • Awt/swing class overview

    Hi, I have some questions about the general class structure of AWT and Swing: - How are AWT and Swing intended to work together -- should I treat AWT as an implementation detail and operate on Swing level only, or should they be used together? - What

  • For some reason my photo shop 4 failes to apply chages after 5 actions.

    Good day, I have been using photo shop cs4 on a desktop running windows 7 for some time now. Fore some reason now when I edit my Nikon raw image and jpeg images I can only make about 5 types of changes. After that the next action changes do not work

  • 9i Standby Database - Failover Question - REF 227196.1

    Hi , Im researching the use of a Standby DB for out Production DB.... The Metalink DOC 227196.1 mentions that in failover , the Production going down , Standby becomes Primary and cannot be come Standby again , whereas with Switchover , they can be s

  • Battery Health monitor for iphone 4

    hi i would just like to know if there is something that can measure the battery health of iphone 4 i did purchase accura because it appeared to show battery health in the ad on app store but it didn't