How do I move a movie clip in actionscript 3.0?

Let me start off by thanking Everyone who have help me on Adobe Forums! it helps a ton i am new to actionscript and am trying my hardest to learn it so thank you i cant tell you how it means!
I have  a movie clip of an acorn named "games" and inside this i have another movie clip named "em_games" when it is click i want to to play out an animation just changing the y coordinates from where the acorn sits in the tree and fall to the ground also when it hit the ground i want it to fire off an animation it has nested inside of it where it cracks open and a piece of paper fly upward where it rests at the top of the screen.i have not moved many objects through actionscript 3.0.
thanks again to everyone who has helped me out!

One way to move an object using AS3 is to use the built-in Tween class.  You should look it up in the help documentation for details, or search Google for a tutorial. 
There are also third party tweening clsses such as TweenLite and Tweener that you could use, though if you are just beginning that might be a lesson better left to more experience since it involves downloading/installing the classes.
You could also just use an ENTER_FRAME approach to have the y property of the movieclip continually change until it reaches its final value.

Similar Messages

  • How do I get home video clips from iMovie Mac to iMovie iPad?  Surely there is some degree of cross-compatibility?  I have a load of clips in iMovie on my MBP that I wanna download to my iPad2 so that I can edit movies on the move.  Any ideas?

    How do I get home video clips from iMovie Mac to iMovie iPad?  Surely there is some degree of cross-compatibility?  I have a load of clips in iMovie on my MBP that I wanna download to my iPad2 so that I can edit movies on the move.  Any ideas?  (The clips are in a .mov format, they have been imported / converted into this format in iMovie, original files were from a JVC camcorder in some other strange format.)

    I copied the iTunes file from the external drive and it's in both places.  I thought all I would need is the iTunes program (which I downloaded to new computer) and my iTunes library file.  There must be something else that's missing.  My iTunes library looks the same on the new computer as it does when I open it on the external drive.  If I click on an iTunes library song from my new computer, it will only play if I have the external drive plugged in.
    My back-up drive is a mess.  I have multiple copies of music, video, photo, and document files and I don't know how that happened. ={  Obviously, I don't know how to back up stuff properly and there are back-up files extending over a 6- to 8-year period.  I think all I did was just drag and drop the main folders from the back-up drive to the same main folders on the C: drive.  Also (and I'm kind of fuzzy on this) Windows used to automatically save music files in a folder within my document files (which makes no sense to me).  As my Jewish friends would say, "Oy Vey!" 

  • How do I move a compound clip in one event to another event when it is used in a project?

    I've been using FCPX since 10.0.3. The recent upgrade to 10.1 is forcing me to reorganize everything. At some point during the upgrade cycle, Apple decided to store ALL compound clips inside events, automatically, upon creation. I was oblivious to this decision at first. So here's what happened as a result.
    I have 10 projects, numbered 1 through 10. My goal was to have one event for each project. However, it looks like most of my compound clips from my later projects got automatically created and placed in the first event (Video 1) instead of in the correctly numbered event. I'm pretty sure the clips INSIDE the compound clips are referencing the correct event; it's just the compound clip itself that resides in the wrong event. I'd like to move these compound clips over to the event they SHOULD have been created in, in the first place. However, I'm not sure if dragging and dropping them to the correct event will (a) create a new copy of the compound clip (one that is not referenced by any project whatsoever), or (b) move the original compound clip to the right event (removing it from the original/wrong event). Also, I'm really concerned about this, because I'm not sure how this affects the compound clip as used inside the actual project. I often have certain effects, color correction, etc. applied to the compound clip itself, and I don't want to lose that.
    Any advice would be greatly appreciated. I really want to get these clips in order.

    You can freely drag compound clips between events as you've seen.
    If you do this between events in the same library, it will be a move by default; holding down the Option key will make it a copy operation.
    If you drag between events in different libraries, this will be a copy operation. All clips contained in the compound clip will also be copied (or references as sym links) to the target library in order to keep the library completely self-contained (libraries never references each other and never span volumes).
    Mark

  • How do I move a video clip from one event folder to another?

    Today I imported a bunch of old VHS based analog videos. I imported them all into one event library folder.
    Now I want to move some of the clips into a new event folder so I can keep all the folders properly organized with what is in them.
    When I highlight the selected video clip (I put the yellow border around the video I want to move) and I drop and drag the clip into the new folder imovie 11 asks if I want to move the selected clip. I answer yes, it seems to move the clip BUT it moves the WHOLE CLIP NOT just the part I selected.
    I can't seem to make a cut in the video and separate it out.
    How do I get the video I selected into the new event folder?

    The short answer is that you can't.  Purchases are tied to the AppleID used to buy them.  AppleID's cannot be merged, and the content cannot be transferred.

  • How do I separate short movie clips loaded from my digital camera to iPhoto 11 at the same time pics are downloaded and how do I get those video clips to a dvd that will play on a dvd player

    When loading pics to iphoto 11 from my camera, occassionaly it will include some video clips with the description of Movxxxx. I wonder if someone could direct me to some straight forward instructions as to how to transfer these video (movie) clips, which now exist in iphoto, to a dvd that will play on a dvd player as one might  expect to see a video play, including the audio that was captured at the time of filming.
    Thanks in advance for any assistance you can offer this novice.

    You need to open iMovie and it will have a event library called iPhoto Videos, click on that and the videos will load in the window next to it, then you make a new project in iMovie.  Then open iDVD and make a new project then import the movies to the program then burn to a DVD..

  • How do you move a sound clip in the timeline?

    I have not had this problem before. I have put many songs into the timeline, and repositioned them. Today I pulled up a project and attempted to reposition a song to fit in better with the clip, and I'm unable to do so. I can't select the song, or anything else. Obviously I have set or locked up this track, and I can't figure out how to unlock if that is what I have done. I have 6 songs on that track, Audio track 2, and I can't reposition any of them. I can't even remove them from that track. What am I doing wrong?

    Hunt, most of my music files, over 9000 songs, are mostly mp3 files and a few are wma, and because of copyright laws I wouldn't use them in a commercial project I'm working on anyway. When I am working on a project for a client I will generally use higher quality WAV files. This project was being done just to learn some new techniques, gain some more experience with PPCS4, and expand my knowledge with the program. I have this huge number of music files and styles to work with, so I can do a great deal of experimentation to see what different songs can do to the mood of the video.
    As a test, I did put the exact same songs into the timeline on a different audio track. The problem track is audio 2, and I duplicated those songs on audio 3. I did the exact same editing. I faded them in and out the same as before. Split one song into 3 sections had parts of it come in and out over a video section of 9 minutes duration. They are working perfectly. I was just working on one section of that project a half hour ago, and I was still able to select and move each of the four songs on that track any way that I wanted to. However, the track just above it in that same timeline, Track 2, is still frozen.
    Hunt, just a moment ago I solved my problem. Still not being that familiar with the program, two days ago I know that I was playing with all of the controls, and I obviously hit one of them without knowing one of its side effects. I hit the show "show track keyframes". I'm sure that you know it, but I didn't realize that when that function is selected, you can't do much else with the track but play with those keyframe. Even though I didn't have the track locked, in the traditional way, it was still, for all practicall reasons, locked. I unchecked that function and now everything is back to normal again on that track.
    Something very simple, as many things turn out to be when you understand it. However, maybe someone else will make the same mistake, and my posting here will help them.
    I will use your suggestions for using .WAV files. Thank you again. 
    Terry Lee Martin
    Date: Mon, 7 Sep 2009 14:29:37 -0600
    From: [email protected]
    To: [email protected]
    Subject: How do you move a sound clip in the timeline?
    Terry,
    What is the purpose of using the .WMA files? I'm sure that you have a good reason, but they can be problematic, at best. I only use them as a trasfer medium, when I need to get a DD 5.1 SS soundtrack into Audition for editing. There, I break them out into 6 discrete .WAV files, edit in Multi-track Mode and then usually Export as the 6 discrete WAV's to be encoded to DTS, or similar.
    If you do not have a compelling reason for using the .WMA, try PCM/WAV @ 48KHz 16-bit and see if the issues go away.
    Good luck, and let us know how it goes please,
    Hunt
    >

  • How to build a custom movie clip that will be used as a cell renderer for column in a grid ?

    i want to build a datagrid that shows a picture and underneath it a name.
    the problem is i dont want to see all of the pictures, but all the pictures that have certain requirements, so i cant just make one movie clip that includes all the pictures and names.
    so my question is how do i build a movie clip that contains photo and text?.

    You do not create movieclips on the timeline using code, though you can create them and add them as children of something that has been manually placed in the timeline.
    To create a MovieClip using code you use: 
        var mc:MovieClip = new MovieClip();
    If you need to add an image, then however you intend to acquire the image, after it has been acquired, you add it to the MovieClip using:  
        mc.addChild(img); 
    where img is the instance of whatever form of object the image takes (Bitmap, Loader)
    If you need to add a TextField to the MovieClip then you use: 
        var tf:TextField = new TextField();
        mc.addChild(tf);
    and you can set up properties for the textfield such as the font and color and position as well after it has been instantiated (the first line).

  • How to stop , play nested movie clips....

    Hi all,
    I'm calling a swf file in a container_mc, which is in
    another swf file(Interface), by loadMovie() method. The Major
    problem I've stucked with is that in the interface I'm having a
    Play/Pause Button, which is not stopping the nested movieclips of
    the external swf file which is loaded in the container_mc
    movieclip.
    The other major issue is that I'm not able to add a
    progressbar(sliderbar) which runs according to the animation, to
    this interface. Please help ASAP

    I have a similiar situation however the container_mc has me
    puzzled, I'm not sure what that is - perhaps you can answer my
    question:
    I have a master swf called index.swf. The index.swf has a
    main tool bar of buttons which load frames; each frame is named to
    coincide with the main bar button (i.e. genInfo, setup,
    mainentance, etc). This works perfectly. My problem is with Movie
    Clips.
    Each frame has a sidebar which loads external swfs (i.e.
    genInfo.swf) - each external swf is made up of a series of Movie
    Clips which run in succession along the timeline; each Movie Clip
    belongs within its own frame (i.e. MCseg1 is in frame seg1; MCseg2
    is in frame seg2, etc).
    I need to pause and play each individual Movie Clip at will;
    I have built two buttons (pauseBtn and playBtn) into a Movie Clip
    called MCpausePlay. The first frame of MCpausePlay contains the
    pauseBtn; this frame is coded with the global "stop();" In order to
    move to frame(2) which contains the playBtn, the pauseBtn is coded
    with -
    on(release) {
    gotoAndPlay(2);
    The playBtn is coded:
    on(release) {
    gotoAndPlay(1);
    When clicked, the MCpausePlay moves from pause to play.
    That's all I have been able to get this to do.
    How do I code MCpausePlay to pause and then play each
    individual Movie Clip? (How do I get a Movie Clip to control other
    Movie Clips?). Should I code the Movie Clip, the frames within the
    Movie Clip, or each individual button within the Movie Clip? And,
    does this MCpausePlay belong on the Index.swf file, or should it be
    on each external swf? Or perhaps built in to every Movie Clip? I
    have tried all and have not had any success.

  • How can I blend two video clips where they join side by side in one movie?

    Hello Marvelous Movie Making Minds,
    I am working with Adobe Premiere 6 on a Windows 7 machine.
    How can I blend two video clips where they join side by side in one movie?
    I know how to place two or more video clips together in the same movie, but how can I give them a bit of a blend just where they join?
    I have a PDF instruction manual and the built-in web browser instructions.  In the instruction manual in "Chapter 7: Superimposing and Compositing" it talks about the transparency of any video clip, and I understand that... but I don't want to make one or the other video clip transparent anyplace except where the two video clips join together with perhaps a bit of overlap.
    I'd like to make a little blur just where the two videos join in the middle... is this possible?
    Thanks,
    digi

    Aha that kind of blending.
    Have not used 6.5 in a loooooooong time.
    So this is from memory, hope i get this right.
    Set the two clip on top of each other
    Make a matte in Photoshop and superimpose this over the two clips.
    Go to the Transparancy Settings and set the top clip in video 2 to Alpha key.
    Screendump for matte:
    The right side is made black just for the forum but should be transparant.

  • How to move multiple subtitle clips?

    Hi!
    I want to move multiple subtitle clips in the timeline. How can i do that? I want to select multiple subtitles and then drag them to left about 2 minutes. Just click+drag doesn't work. I didn't find help in the manual also...
    Waiting for the small tip.
    Timo

    Hi Timo
    As you have discovered you can't drag all the subs in the timeline - you can only drag one at a time... which is why you will find most people recommend creating your subtitles outside of DVD-SP and then importing them. If you have to adjust them you can then go back to this file created outside and adjust the in outs of the timecode.
    One way you could save the situation (I''m assuming you made the subs in DVD-SP) is to export an item description of the track then use a little utility called Subtitler
    http://www.versiontracker.com/dyn/moreinfo/macosx/26322
    This can extract those subtitles back out of the item description and can (I believe) adjust the timings as well and create a DVD-SP friendly STL file which you can re-import into SP... then if any others need tweaking you can go back to that external file adjust, re-import...
    I've only ever tested it to see if it coul indeed extract a sub from an item description so can'tr vouch for it's other abilities - we normally use Lemony or Subtitle Workshop on a PC to adjust subs
    Hope that's some help
    Steve Kirkham
    Tree Frog Communication

  • How do I get a movie clip to play fully in an iphoto slide show.

    How do I get a movie clip to play fully in an iphoto slideshow.  Right now it only plays for a few seconds, while the complete clip is 22 seconds.

    Bring up the Settings pane for the slideshow and click on the movie clip in the tray at the top.  Then in the Settings pane click on This Slide button and set the play time to the actual length of the movie clip. 
    OT

  • How can i let a move clip complete his motion tween movement after dragging and dropping it

    hi how can i let a move clip complete his motion tween movement after dragging and dropping it
    i am using this code and there is a motion tween applies to the movie clip r_mc
    r_mc.addEventListener(MouseEvent.MOUSE_DOWN,fun); r_mc.addEventListener(MouseEvent.MOUSE_UP,fun2); function fun(event:MouseEvent):void { stop(); r_mc.startDrag();
    function fun2(event:MouseEvent):void {
    play(); r_mc.stopDrag();

    i have a simple .fla file wich contains MC that has
    a motion tween(its moving from the left to the right of the stage)
    this motion tween covers the whole time line (  there is only 50 frames in the time line)
    i mean in the frame 1 the MC appears in the left of the stage
    and in the frame 50 the MC appears in the right of the stage and there is a motion tween between them
    every thing till now working well
    i want to make that MC dragabble
    so when i drag the MC i will use stop()
    and when i drop it i will use play()
    but the problem is that the mc doesnt move and complete
    his motion tween movement when i drop it
    for example the MC will be in the middle of the stage in frame 25
    in this frame (25) i am draging the MC ,stoping the timeline,dropping the MC and resum playing the timeline again
    but the MC freezes in the middle of the stage and doesnt go to the right of the stageo until the flash loops and start from the frame 1 again
    here is the example wich i am worikng on
    http://www.mediafire.com/?ia47r4owha7sz8v
    thank u very much and sorry for my bad English

  • How to move all thumbnail clips into project library for editing?

    Hi there ...
    I haven't used imovie 08 for quite a while ... and I've forgotten how to do a major step .. which is leading to a lot of frustration. I need to drag all my thumbnails into the project library and have them available for editing. ANy way I try it now .... it seems to create one big clip in the project library .. so when I want to add a title or something ... when I drag it over to the clip ... it selects to add to the whole movie. Somehow I need to retain the individual thumbnails or clips ... so when I try to add effects it is just added to one clip ... not all of them ...
    I had this problem before and I can't remember how I moved all the separate clips from the event library to the project library and had them retain their individual clip format available for edit...
    CAn anyone help me .... thanks ....

    Hi,
    This is a shot in the dark but: if it is anything like 09 there is a little slider in the bottom right hand corner of the project window which, if it is all the way to the right will only give you the whole movie.
    Pull it to the left to give you different thumbnail settings.
    Hope this works.
    DM

  • How to accomplish a motion keyframe move across several clips?

    I'm very familiar with how you acheive motion moves within one clip in
    the timeline.
    However, I can't figure out how to make two of three consequtive clips
    make one continous motion move.
    For instance, lets say I have three still digital images, 5 second each, in the timeline, one after another. I want the first still to start at 50% size and want a continuous growth to 100% at the end of the third clip. I know how'd I'd do
    this within one clip (a motion keyframe of 50% at the head of the clip and a 100% keyframe at the end of the clip.
    But how do you make one smooth continuous move across several clips in a row? I realize I could take those three clips, export them out as a quicktime and bring them back in as one clip, but that seems a long way to go everytime you want to do this. And if I nest the three clips, when I go to doubleclick them back to the viewer to add the keyframes, the nest just opens up again into it's own sequence.
    So how is this accomplished?
    Any feedback would be appreciated.
    Thanks.

    or option double click...
    Please click on the or buttons over posts as appropriate...
    Patrick

  • How do I move a compound clip from time line to an event in event library

    How do I move a compound clip made in the time line into the event library to store it for latter use?

    With *no other* clips selected, you can create a New Compound Clip (right click and select from popup) in the Event browser; Copy the compound clip in the storyline; double click new empty compound clip to open it in its own timeline and paste the copied compound clip. When you go back to the storyline, the compound clip in the Event browser is updated with the newly pasted compound clip item. If you want to uncompound the stored clips, when in the New compound's timeline, right click on the pasted compound and select Break Apart Clip Items...  The only problem you run into if you break items apart is if you have Effects applied to the storyline compound clip, you will lose those effects because the "new" compound in the Event browser will not have those effects and you can't copy/paste effects back into the Event browser, only items in a timeline.
    HTH

  • How do you make a movie clip face the mouse

    How to you make a movie clip rotate so it's always facing the
    mouse?

    thanks a lot! I got the code to work, I just modified it a
    bit.

Maybe you are looking for

  • Restricting some sales orders in Report

    hi i have a problem , i want to restrict some sales orders based one the following logic , can any one help me in coding this logic if ( 0Doc_categ = k ( Credit memo request) or H (Returns)) get( Sales Documents ) for all these sales Documents get Re

  • Photo Sharing in iWeb.

    Why is it that you can only lock the photo sharing for a photos page and not a welcome page or a blog page? This is stupid. You should be able to lock all photos if you want. Why has Apple disable this feature for a Welcome or a Blog page? There are

  • Upgrading RAM doesn't seem to be possible

    I have a 2-month-old Core 2 Duo which I purchased with 2GB, because this eejit didn't read the specs properly and didn't realise this was 2x1GB chips. Now my 2G5 has suffered terminal death, I am using the MBP as my main system and, as such, would li

  • Internet provider issue? Shaw vs Telus?

    Hi, so here's my situation: I'm on an iMac, 10.6.2, iChat 5.0.1. I bought a macbook for my Mom and set it up at my place, I had the two computers working fine on ichat, with screen sharing and video chat working flawlessly. She took the computer home

  • Having issues with sound on my iphone 4s.

    I've double checked settings and the silent switch but still don't have sound for music, apps, alert tones, lock tone etc.  Everything works fine when headphones are plugged in, but with out them the volume buttons don't work.  I'll push the volume b