Strange...cropped clip expands gradually at the end.

I'm a newbie. I asked a question earlier about how to crop/enlarge only part of a video clip. Got no answer, thought a little more and realized I could make two splits and create a new clip to crop. So I did this with a 13 second clip, applied the crop and what happens is.....the beginning works as intended, jumping to the new cropped size. I thought it would jump back out at the end of the clip, but instead, almost immediately it starts backing out automatically, smoothly and evenly, until by the end of the clip it's back to the original size. I can't believe it's supposed to do that. Any idea what's going on?
Thanks!

Sounds like you are using the Ken Burns effect. The Green rectangle is the starting point, and the Red rectangle is the ending point.

Similar Messages

  • Using Flach CS4 and action script 2.0 how do I advance to a specific frame of the main timeline when a movie clip instance come to the end of its timeline?

    Using Flach CS4 and action script 2.0 how do I advance to a specific frame of the main timeline when a movie clip instance come to the end of its timeline?

    code on the last frame of your movieclip instance:
    _root.gotoAndStop('whatever_frame');  // will work unless this swf is loaded into another swf.  in that situation, you should use a relative path to the main timeline (eg,  _parent or _parent._parent etc).

  • Strange prob, can login only at the end of install, it fails after restart

    Hi Every body
    I have this strange problem, i don't know where i'm making mistake.
    I installed EBS more than 5 times, thought i have made some mistake with pre-installation requirement or post installation requireement, but every time i'm faced with the same problem.
    My machine configuration is P4, 3.0GHz, Ram 1 GB, 240 GB HD. with RHEL4 installed. Have created dba usergroup and created user oracle and applmgr made them part of dba group.
    I'm doing multi-user installation for Vision Demo data. Logged in as root.
    i created a top level directory /sz1/oracle and changed the permission as chmod -R 777 /sz1/oracle
    applied pre-installation patch 4198954 as root
    verified other pre-installation requirements as per installation guide.
    downloaded latest rapidwiz as per note p4159029.
    Started installation as root
    specified 'oracle' as owner for DATABASE
    specified 'applmgr' as owner for APPLICATION
    the installation completed with successfull checks on pre-installation requirements and post-installation checks.
    After the completion of installation, i logged in from windows client using the path,
    http://sri.shan.com:8001
    i get the installer home page, i chose the application links and logged in to OAM as sysadmin, verified the status. found concurrent manager was not started.
    started the concurrent manager manually by running the script sh adcmctl.sh as root. the service started successfully.
    then i re-started the Linux box, logged in as root and tried to run the script adstrtal.sh like
    <COMN_TOP>/admin/scripts/VIS_<hostname>/sh adstrtal.sh APPS/APPS
    i get the following error message, it is same in all 5 times of installation
    You are running adstrtal.sh version 115.14
    Executing service control script:
    /sz1/oracle/viscomn/admin/scripts/VIS_sri/adapcctl.sh start
    script returned
    ERROR:
    Exception in TimedProcess...Failed to execute command = /sz1/oracle/viscomn/admin/scripts/VIS_sri/adapcctl.sh start APPS/APPS
    Executing service control script:
    /sz1/oracle/viscomn/admin/scripts/VIS_sri/adalnctl.sh start
    script returned
    ERROR:
    Exception in TimedProcess...Failed to execute command = /sz1/oracle/viscomn/admin/scripts/VIS_sri/adalnctl.sh start APPS/APPS
    Executing service control script:
    /sz1/oracle/viscomn/admin/scripts/VIS_sri/adcmctl.sh start
    script returned
    ERROR:
    Exception in TimedProcess...Failed to execute command = /sz1/oracle/viscomn/admin/scripts/VIS_sri/adcmctl.sh start APPS/APPS
    Executing service control script:
    /sz1/oracle/viscomn/admin/scripts/VIS_sri/adfrmctl.sh start
    script returned
    ERROR:
    Exception in TimedProcess...Failed to execute command = /sz1/oracle/viscomn/admin/scripts/VIS_sri/adfrmctl.sh start APPS/APPS
    Executing service control script:
    /sz1/oracle/viscomn/admin/scripts/VIS_sri/adrepctl.sh start
    script returned
    ERROR:
    Exception in TimedProcess...Failed to execute command = /sz1/oracle/viscomn/admin/scripts/VIS_sri/adrepctl.sh start APPS/APPS
    Executing service control script:
    /sz1/oracle/viscomn/admin/scripts/VIS_sri/adfmcctl.sh start
    script returned
    ERROR:
    Exception in TimedProcess...Failed to execute command = /sz1/oracle/viscomn/admin/scripts/VIS_sri/adfmcctl.sh start APPS/APPS
    Executing service control script:
    /sz1/oracle/viscomn/admin/scripts/VIS_sri/adfmsctl.sh start
    script returned
    ERROR:
    Exception in TimedProcess...Failed to execute command = /sz1/oracle/viscomn/admin/scripts/VIS_sri/adfmsctl.sh start APPS/APPS
    Executing service control script:
    /sz1/oracle/viscomn/admin/scripts/VIS_sri/jtffmctl.sh start
    script returned
    ERROR:
    Exception in TimedProcess...Failed to execute command = /sz1/oracle/viscomn/admin/scripts/VIS_sri/jtffmctl.sh start APPS/APPS
    Executing service control script:
    /sz1/oracle/viscomn/admin/scripts/VIS_sri/addisctl.sh start
    script returned
    ERROR:
    Exception in TimedProcess...Failed to execute command = /sz1/oracle/viscomn/admin/scripts/VIS_sri/addisctl.sh start APPS/APPS
    Check logfile /sz1/oracle/viscomn/admin/log/VIS_sri/10301137.log for details
    Exiting with status 9
    when i tried to run these scripts individually,
    all the scripts started successfully except adalnctl.sh failed
    the error message is
    adalnctl.sh version
    Checking for FNDFS executable.
    Starting listener process APPS_VIS.
    adalnctl.sh: exiting with status 1
    Then i logged in as applmgr, i can run the script adstrtal.sh successfully
    at this stage tried to login from windows client using following link,
    http://sri.shan.com:8001/oa_servlets/AppsLogin
    on the browser i get the following error message
    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log
    I stuck at this stage and do not know how to proceed.
    Verified the Jserv status as per the metalink note 204123.1, 230688.1. and 311932.1
    I get the 'IsItworking' page and 'Hello' page with out any trouble.
    When i checked the mod_jserv.log file(located at APPL_TOP/Apache/Jserv/logs)
    i get the following data
    [30/10/2005 11:19:24:439] (ERROR) ajp12: Servlet Error: java.lang.NullPointerException: null
    [30/10/2005 11:19:24:456] (ERROR) an error returned handling request via protocol"ajpv12"
    [30/10/2005 11:19:24:456] (ERROR) balance : 4552 internal servlet error in server sri.shan.com:16010
    [30/10/2005 11:19:24:456] (ERROR) an error returned handling request via protocol "balance"
    Any guidance on this issue will be highly appreciable and helpful for me to proceed.
    Thanks in Advance to All..
    shan

    Hello Yogi
    Tried as you have suggested
    Following is the outcome..
    The Adconfig script did not succeed.
    Following is the response i got..
    error while running adconfig.sh as applmgr
    updating context file... completed
    upload of context file and templates to database... completed
    configuring templates from all of the producttops...
    all with status completed
    Autoconfig completed with errors.
    the logfile for this session is located at APPL_TOP/admin/VIS_<hostname>/log/11031117/adconfig.log
    While checking for this log file i found one more on the same path.
    It is named 'NetServiceHandler.log'
    I have provided a Patial Content of the 'adconfig.log' file
    as below
    I think i'm making a mistake of running this script with out starting the db..
    But i don't know where to find the script to start the db..
    Starting AutoConfig at Thu Nov 3 11:17:39 2005
    No Version conflict encountered
    using context file : /sz1/oracle/visappl/dmin/VIS_sri_xml
    Starting synchronization of file system context file and its templates with those in the database
    Database connection : Failed
    OAM Context editing support feature: Unverified
    OAM Customization support feature ; Unverified
    File system template : APPL_TOP/ad/11.5.0/admin/template/adxmlctx.tmp
    Checking for customization to Context template
    Warning: Unable to connect to Database
    Config Tool CVMHelper started at Thu Nov 03 11:17:47 IST 2005
    Making database connection using DBUtil
    ADX Database Utility
    getConnectionUsingAppsJDBCConnector()-->
    APPS_JDBC_URL='jdbc:orale:thin:@(DESCRIPTION=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=SRI.shan.com)(PORT=1522)))(CONNECT_DATA=(SID=VIS)))'
    Trying to connect using APPS_JDBC_URL
    Exception occured: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Trying to get connection using SID based connect descriptor
    getConnection()-->
    sDbHost : sri
    sDbDomain : shan.com
    sDbPort : 1522
    sDbSid : VIS
    sDbUser : APPS
    Trying to connect using SID...
    getConnectionUsingSID()-->
    JDBC URL: jdbc:oracle:thin:@sri.shan.com:1522:VIS
    Exception occured: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    for all the remaining connections also got similar error
    Connection could not be obtained; returning null
    ----------ADX Database Utility Finished----------
    StackTrace:
    java.sql.SQLException: Could not get connection to the database
    Starting synchronization of product tops
    AutoConfig Setup Phase
    Running Setup Process 5 of 13 for AD_TOP
    Executing script in InstantiateFile:
    COMN_TOP/admin/install/VIS_sri/adgendbc.sh
    script returned:
    adgendbc.sh started at Thu nov 3 11:18::14 IST 2005
    SQL*Plus: Release 8.0.6.0.0 - Production on Thu nov 3 11:18:44 IST 2005
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    ERROR:
    ORA-12224: TNS:no listener
    [AutoConfig Error Report]
    all the filenames in Setup phase and Profile phase has error code 1
    apply pahse files has the error code 256
    Autoconfig is exiting with status 49
    The error in all the places points to absence of TNS listener
    Can you please advice on this....
    Thanks in Advance
    shanmugam

  • How do you allow an audio clip to keep playing after a video clip fades out at the end of an iMovie? I want the audio clip to fade out later... this used to be easy in an older version of iMovie.

    I just updated to iMovie 11. I want the final music to play beyond the last video clip and fade out. How do I do this? Do I need to import a black screen?

    Yes, I've done this, but I can't figure out how to get the audio to fade. I think I need to explain further. This is really a simple movie made from multiple photo stills from my son's school. There are cross fade transition betwee the stills, and some titiles that cross fade too. So there is not actual video. Thus everything shows only in the project library, where I dragged in the photo stills to import them. There is nothing in the event (or is in the clip) window in the bottom. I can't figure out how to get the volume lines to show for the audio clip in the project library as they did in the old version of iMovie so I could drag them up or down.

  • Camileo X100 freezes using remote at the end of clip

    I bought a Toshiba Camileo X100 a few days ago.
    The camera is great, I like it very much.
    However, there is a problem with the firmware I think.
    The remote control is functioning, as expected, although there is no detail about its usage in the manual, I had to guess everything.
    The problem is the following. If you go with the remote to play a clip, you wait for the end of the clip, and would like to go back to the previous screen, you press the Back/Cancel button on the remote (right bottom button).
    If you do this, the camera freezes.
    You have to switch it off and switch it on again to be able to use it.
    The bug was confirmed by HRP Hungary (distributor and service in Hungary), we tested it together over the phone, so it should not be the problem of my specific camera.
    What could you advise me on this?
    The following issues are not bugs, but during playback it would be useful to be able to see somehow the details of the clips recorded (at least the time of the recording), and to be able to set some settings for recording, so that the camera does not forget everything at turning off (e.g. stabilization, or pre rec setting etc.).
    Why do you have to have the screen open, when you are shooting a time lapse for a few hours, or during playback on TV?
    THX for any help.

    Hi there,
    THX for checking. I also sent a letter to Toshiba, first they wanted to replace the camera, then I explained again that the replacement will work the same way, no answer since then.
    What I ment during playback, is some information about the clips, e.g. the time, when the recording was made. Currently you only see the number of the file and the total number of files in the list, and the length + the number of the files when you are on one file. On other cameras you see the length, the time of the recording, the settings used. On Camileo X100, you see only the length and the basic setting, but no data on the time of the recording, or other metadata (e.g. stabilization focus...). It is not a bug, but would have been useful.

  • Audio in a sequence falls silent right until the end of the sequence

    Hmmm, ok, maybe I am completely clueless.... Anyway: I am making a video with 3 dv-clips that I imported previously. When I drag the clips from the browser into the timeline and render them, everything is ok and plays well. Then, after a little editing, i.e. cutting the sequences into smaller pieces, but leaving everything in the same sequence in the timeline, at some point parts from a sequence right to the end of it, fall silent. I can still see the audio in the viewer, but the audio meter itself shows zero audio and I can't hear anything anymore over the speakers. This goes right to the end of the sequence, the next sequence again starts with sound but also falls silent after a while, right until its end. Only the last sequence retains its sound right to the end. The silence starts at some point within a clip of a sequence, but there is no correlation to the marks of the sequence.
    I have not (knowingly) done any audio editing, although I am working on a German keyboard and my menus show some odd commands, e.g. Cmd-Y for Undo because of this (the German keyboard goes QWERTZ and YXCV, so Y and Z exchange places) and I am still hitting Cmd-Z when I want to undo stuff, but Cmd-Z itself does not seem to have any function.
    So, it looks like I am simply inadvertently giving FCX the command to shut up from a certain point in my clip onward right to the end, without actually silencing the data, since it is still visible in the viewer. I am stumped.
    I had this happening to me a couple of times and the last time my only (desperate) remedy was to delete all the clips in the timeline, drag the originals back from the browser into the timeline, render again etc. etc. Well, rendering takes about 3 hours, so I'd rather prefer learning what the heck is the stupid thing I'm doing wrong. Any suggestions, anybody?

    Well, not silly, just desperate;-) I tried a similar workaround. First I re-copied the two clips concerned into the sequence, cut them into pieces (it was a video of a concert, so I cut right after every song) and rendered the pieces separately. All went well, except for the last one, at which FCX had run out of memory again (how much does this s...er use anyway? I have 1.25 gigs of RAM, 4 gigs free on my boot partition and 20 gigs free on the document partition with the video; and NOTHING ELSE running). Anyway, repeating the render for the remaining clip was eventually no big deal either.
    I saved after every step, so I would know, when something went wrong, but nothing did.
    So, right now it runs oK, but leaves a somewhat stale feeling in my mouth, since I prefer knowing where the problems come from. My guess would be either a memory-related issue, or that, due to this strange shift in key commands owed to my German keyboard, I hit the wrong keys a couple of times and those did something elaborately strange to my audio tracks. Well, when it comes up again and I can catch the culprit, I will let you know. Thanx for your input for now;-)

  • How to reclaim spare space back at the end of my clips on the time line

    When I have edited stuff on the time line I find that through moving clips around that I have an empty space after my collection of clips that I have arranged. How do I reclaim that empty space back so that where my clips end so does the time line.
    I have tried saving the project and reopening it but this does not seem to do anything as I still have the space left.
    Any help would be gratefully received Thanx ahead of time.

    Control click on the empty space and, on the drop down menu, click on Convert Empty Space to Clip. Then, delete the clip you just created.
    If the empty space is at the end of your movie, you can do the same as above. But, if your playhead still continues moving past the end of the movie, then expand your time line as wide as possible and check down your time line for little bits of clips left over from editing, and delete those. Any audio that extends past your video clips at the end of the movie should be trimmed back as well, even if you have muted them.

  • When I publish as an .mp4, the embedded .flv videos clip at the end

    I am using Captivate 6.0.1.240. I have .flv videos that were encoded using Adobe Media Encoder from a .mov file. The videos are embedded on the slide, as multi-slide synchronized video, but only distributed across one slide (as strange as this might seem, it is what was recommended to me because using Event Video resulted in choppy video).
    Now, the videos clip off a second or so before the end of the video. There are no transitions on the video slide or on the slide following it. I have tried extending the length of the slide beyond the length of the video, to no avail.
    What am I missing? How do I get the embedded .flv videos to play fully?

    Hi there,
    As you told you have checked that there is no transition on the Slide on which you have the video.
    Have you checked the transition effect on that video, whether Fade out only or fade in and fade out is selected. Select that multi slide video and click on the properties panel and check the transition on it.
    Also, if this video is on the last slide, check the fade in and fade out on the project. (edit > Preferences > Project > start and end)
    Thanks.

  • Audio cutting off at the end of audio clips w no change in waveform?

    Audio cuts off right at the end of some of my clips... I can still see the waveforms that have the full audio on them, but no audio plays for those last two or three seconds! My audio level is the same throughout the clip, so its not like its fading out or anything. This has been happeneing for a few weeks now, in multiple seperate projects.

    Hi David,
    Thanks for the response. I did look at the song that got cut off and it's a .m4a file. However, I also have normal audio that comes from an external Zoom recorder in .wav format that is getting cut off in the same way. The strange thing is I've never had a problem with this before a couple weeks ago. I've used this same song before and my external audio is always in .wav format

  • How can i use cropping  in imovie 11 on the clips that i cut away with and still put it in HD

    Hi there,
    I do have one problem dealing with the videos I make in my iMovie 11: I want to set my videos to HD using Quicktime. I already know how to do that. But, the problem is that I use cropping and ken burn effects on my vids when I use cutaway (a really major problem since I use this most frequently in my videos), picture-in-picture, and side-by-side. After I exported my vids to Quicktime, I wanted to look at them. But, for some reason when I was watching my iMovie videos on Quicktime, it included every little bit of my clips. It didn't crop the clips at all. It showed everything. I'm kind of upset about this because I have projects due this month and I really didn't want part of some clips to show. I really needed them cropped and/or ken-burned. Plus, I need to set them on HD.
    Whenever I played it back in the iMovie preview, my videos played exactly as I wanted it to play. The cutaway clips, picture-in-picture clips, and the side-by-side clips were cropped and ken-burned just as I wanted it to be. But, on my Quicktime, it didn't do the same.
    Here's the procedure that I use to export my videos:
    Step 1:  I finish making my video with the cutaway clips, picture-in-picture clips, and side-by-side clips already cropped and/or ken-burned.
    Step 2:  I click on "Share." Then, I click on "Export using Quicktime."
    Step 3:  I click on "Options."
    Step 4:  I click on "Settings." Then, I make sure the Compression Type is H.264, Frame Rate is Current fps, Key Frames is on Every 24 frames, Frame Reordering is checked, Compressor Quality is on Best, Encoding is on Best Quality (Multi-pass), and the Data Rate is on Automatic. After this is done, I click "OK."
    Step 5:  I click on "Size." I make sure the Dimensions is on 1920 x 1080 HD (mainly because I really need it in HD for doing projects for school and uploading other videos to Youtube, Dailymotion, and other sites). I also click on Preserve aspect ratio using: Letterbox. Then, I click "OK."
    Step 6:  After I set the settings for Sound, I make sure that Prepare for Internet Streaming is on Fast Start. Then, I press "OK."
    Step 7:  I save my file name and export to Quicktime.
    Step 8:  Once it already exports to Quicktime, I open the file and look at my video that I just made. (At this point, I realized that my videos that were used as cutaways, picture-in-pictures, and side-by-side clips didn't show the parts I cropped or ken-burned on. It practically showed every little part of that clip that I use those effects on. I really wanted it to be cropped or ken-burned as much as possible.)
    So, that's my problem that I have at the moment. I really needed it cropped and/or ken-burned and set the video on HD. I would really appreciate your thoughts on how I should fix this problem.

    On one of my clips it says:
    Format:  Apple Intermediate Codec, 1280 x 720, Millions
                 16-bit integer (Little Endian), Stereo (L R), 48.000 kHz
    Current Size: 1280 x 720 pixels (Actual)
    Another clip I use says:
    Format:  Apple Intermediate Codec, 960 x 540, Millions
                 16-bit integer (Little Endian), Stereo (L R), 48.000 kHz
    Current Size:  960 x 540 pixels (Actual)

  • Why is it, if i have one video clip in the timeline, i can't just add a transition at the end of that solo clip to fade to black!?! please help!

    hey there, so im making a video for a family event..
    i drag in an audio clip all of a sudden this becomes the be all and end all, and i want to sync some vid clips to that audio track, so let's say i drag in a 10 second video clip, at the end of the 10 seconds, i want to add a transition to fade to black.. i go to the transition window.. choose the cross dissolve or fade to colour, but it will not allow me to drag it on that video clip.. it always ends up on the audio track. this bloody application is so confusing compared to final cut. please help!

    Ahhh, now I see the problem, Grasshopper.  Problem is, we are all Grasshoppers, here.
    Yes, that little piece of info is critical. I'd say the biggest difficulty with FCPX is the whole new language.
    If I read you correctly, your Audio is in the Main Storyline (Track 1 in plain old Editorese). This makes anything else you add (above or below) a "connected clip", which we can no longer think of as "Track 2" because Jobs sez so. So, yes, you cannot just add a transition to either end of a connected clip.
    No argument with Tracy's solution, because I haven't seen any other general solution presented for any attempt to treat connected clips as the main storyline.  And, of course, when they were "track 1" and "track 2", you could.
    An alternative solution, however, is to highlight the connected clip and press Ctrl-V to bring up the Video Animation Editor.  Click the "reveal button" for Compositing: Opacity (bottom, right).  Once open, there is a "fade handle" to the right top.  Drag it left for however much fade you wish.  (there is one on the left as well, but you were only talking about a fade-out.)
    A second alternative, perhaps for future projects where everything keys on audio, may be to create a Gap clip (used to be called slug) in the primary storyline before ever dropping in the audio.  Then you can add video to the main story line and modify it without having to go thru hoops to do the simplest thing.

  • How to "lock" down a few clips at the end of a timeline

    I'm working on an edit and the last several clips have all been edited into place and timed perfectly. I'm working backwards from the end. How in the world can I keep those last several clips from moving? With the magnetic timeline every time I try to do anything they want to move. Even with the position arrow. I've put them in their own storyline but the still move. They are connected to the primary storyline as that's the main thing.
    Seems weird there is no way to lock them in place. Maybe I am just missing something.

    everything you pretty much do in FCPX wants to happen to the primary storyline
    This is just wrong.
    Otherwise I have to work to make things not happen in the primary storyline.
    Like every other editing application. Every one has a default video and audio track. It doesn't mean everything has to go on those tracks. It doesn't even mean most of your material has to go on those tracks. Yes, you have to do something to make edits to some other layer or storyline.
    We're not going to agree on this. I'll tell you how I think you should use the application, but you can use it however you like.

  • How do you add a black segment at the end of a clip

    I would like to add a black segment at the end of my movie to lay my credits over? How is this done?
    Thanks

    Isn't there an "Over Black" in the titles pane anymore? (I don't have imovie 08...)
    Not as such. It depends on which "Title" option you are using. Double clicking on any of the last nine "Title" options in the lower area outside the text boxes will open the color selection tool. The first three "appear" to be "black" by default when "dropped" to the project area since they are actually transparent (as you can see when dropped to a video clip). Same seems to be true for "upper" area of the last nine.

  • How to stop a slideshow and show another movie clip at the end?

    Currently my slideshow is in a loop. At the end of last slideshow, I want to show another movie clip (End_mv) that's on another layer. How do I do that? My current scripts are below:
    import fl.transitions.Tween;
    import fl.transitions.easing.*;
    //change scale on an image
    var fadeTween:Tween;
    //To slide in on X axis
    var slideXTween:Tween;
    //To slide in on Y axis
    var slideYTween:Tween;
    //To fade IN
    var alphaTween:Tween;
    //To get bigger on its X axis
    var scaleXTween:Tween;
    //To get bigger on its Y axis
    var scaleYTween:Tween;
    //var fadeTween:Tween;
    //description place holder
    var strDescrp:String;
    //source place holder
    var strSource:String;
    //x poistion
    var posX:Number;
    //y position
    var posY:Number;
    //degree rotation
    var degreeRot:Number;
    // delay between slides
    //const TIMER_DELAY:int = 5000;
    var TIMER_DELAY:int = 5000;
    // fade time between slides
    const FADE_TIME:int = 3;
    // reference to the current slider container
    var currentContainer:Sprite;
    // index of the current slide
    var intCurrentSlide:int = -1;
    // total slides
    var intSlideCount:int;
    // timer for switching slides
    var slideTimer:Timer;
    // slides holder
    var sprContainer1:Sprite;
    var sprContainer2:Sprite;
    // slides loader
    var slideLoader:Loader;
    // url to slideshow xml
    var strXMLPath:String = "lstHouse.xml";
    // slideshow xml loader
    var xmlLoader:URLLoader;
    // slideshow xml
    var xmlSlideshow:XML;
    var txtField:TextField = new TextField();
    var formatText:TextFormat = new TextFormat();
    //start of sound section is for sound
    var soundReq:URLRequest = new URLRequest("PaukenBrumfiel_AngelsOnHigh.mp3");
    var sound:Sound = new Sound();
    sound.load(soundReq);
    sound.addEventListener(Event.COMPLETE, onComplete);
    //end of sound section
    function onComplete(event:Event):void
        sound.play();
    function init():void
        // create new urlloader for xml file
        xmlLoader = new URLLoader();
        // add listener for complete event
        xmlLoader.addEventListener(Event.COMPLETE, onXMLLoadComplete);
        // load xml file
        xmlLoader.load(new URLRequest(strXMLPath));
        // create new timer with delay from constant
        slideTimer = new Timer(TIMER_DELAY);
        // add event listener for timer event
        slideTimer.addEventListener(TimerEvent.TIMER, switchSlide);
        // create 2 container sprite which will hold the slides and
        // add them to the masked movieclip
        sprContainer1 = new Sprite();
        sprContainer2 = new Sprite();   
        mcSlideHolder.addChild(sprContainer1);
        mcSlideHolder.addChild(sprContainer2);
        // keep a reference of the container which is currently
        // in the front
        currentContainer = sprContainer2;
    function onXMLLoadComplete(event:Event):void
        // create new xml with the received data
        xmlSlideshow = new XML(event.target.data);
        // get total slide count
        intSlideCount = xmlSlideshow..image.length();
        // switch the first slide without a delay
        switchSlide(null);
    function fadeSlideIn(e:Event):void {
        // add loaded slide from slide loader to the
        // current container
        currentContainer.addChild(slideLoader.content);
        // clear preloader text
        //mcInfo.lbl_loading.text = "";
        // fade the current container in and start the slide timer
        // when the tween is finished
        //Tweener.addTween(currentContainer, {alpha:1, time:FADE_TIME, onComplete:function() { slideTimer.start(); }});       
        //strSource = xmlSlideshow.image[intCurrentSlide].@src;
        fadeTween = new Tween(currentContainer, "alpha", Regular.easeInOut, 0, 1, 2, true)
        //scale = new Tween(currentContainer, "alpha", Regular.easeInOut, 0, 1, 2, true)
        slideTimer.start()
        onComplete:function();
    function switchSlide(e:Event):void
        // check, if the timer is running (needed for the
        // very first switch of the slide)
        if(slideTimer.running)
            slideTimer.stop();
        // check if we have any slides left and increment
        // current slide index
        if(intCurrentSlide + 1 < intSlideCount)
            intCurrentSlide++;
        // if not, start slideshow from beginning
        else
            intCurrentSlide = 0;
        // check which container is currently in the front and
        // assign currentContainer to the one that's in the back with
        // the old slide
        if(currentContainer == sprContainer2)
            currentContainer = sprContainer1;
        else
            currentContainer = sprContainer2;
        // hide the old slide
        currentContainer.alpha = 0;
        // bring the old slide to the front
        mcSlideHolder.swapChildren(sprContainer2, sprContainer1);
        strDescrp = xmlSlideshow.image[intCurrentSlide].@desc;
        //strSource = xmlSlideshow.image[intCurrentSlide].@src;
        //txtField.border = true;
        //txtField.x = 0;
        //txtField.y = 600;
        txtField.width = 855;
        txtField.height = 200;   
        //txtField.background = true;
        //txtField.backgroundColor = 0xEE9A00;
        txtField.alpha = 20;
        txtField.text = strDescrp;
        formatText.align = TextFormatAlign.CENTER;
        //txtField.autoSize = TextFieldAutoSize.LEFT;
        formatText.color = 0x000;
        formatText.size = 30;
        txtField.x = 0;
        txtField.y = 550;
        posX = 0;
        posY = 0;
        degreeRot = 0;
        // create a new loader for the slide
        slideLoader = new Loader();
        // add event listener when slide is loaded
        slideLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, fadeSlideIn);
        // load the next slide
        slideLoader.load(new URLRequest(xmlSlideshow.image[intCurrentSlide].@src));   
        addChild(txtField);
        txtField.setTextFormat(formatText)
    // init slideshow
    init();

    I got this error:
    ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
        at flash.display::DisplayObjectContainer/swapChildren()
        at University_Advancement_Holiday_Greeting2012_fla::MainTimeline/switchSlide()
        at flash.utils::Timer/_timerDispatch()
        at flash.utils::Timer/tick()
    And here's the code:
    // import tweener
    //import caurina.transitions.Tweener;
    import fl.transitions.Tween;
    import fl.transitions.easing.*;
    import flash.display.MovieClip;
    //change scale on an image
    var fadeTween:Tween;
    //To slide in on X axis
    var slideXTween:Tween;
    //To slide in on Y axis
    var slideYTween:Tween;
    //To fade IN
    var alphaTween:Tween;
    //To get bigger on its X axis
    var scaleXTween:Tween;
    //To get bigger on its Y axis
    var scaleYTween:Tween;
    //var fadeTween:Tween;
    //description place holder
    var strDescrp:String;
    //source place holder
    var strSource:String;
    //x poistion
    var posX:Number;
    //y position
    var posY:Number;
    //degree rotation
    var degreeRot:Number;
    // delay between slides
    //const TIMER_DELAY:int = 5000;
    var TIMER_DELAY:int = 5000;
    // fade time between slides
    const FADE_TIME:int = 3;
    // reference to the current slider container
    var currentContainer:Sprite;
    // index of the current slide
    var intCurrentSlide:int = -1;
    // total slides
    var intSlideCount:int;
    // timer for switching slides
    var slideTimer:Timer;
    // slides holder
    var sprContainer1:Sprite;
    var sprContainer2:Sprite;
    // slides loader
    var slideLoader:Loader;
    // url to slideshow xml
    var strXMLPath:String = "lstHouse.xml";
    // slideshow xml loader
    var xmlLoader:URLLoader;
    // slideshow xml
    var xmlSlideshow:XML;
    var txtField:TextField = new TextField();
    var formatText:TextFormat = new TextFormat();
    //var myEnding:MovieClip = stage.getChildByName('End_mc') as MovieClip;
    //start of sound section is for sound
    var soundReq:URLRequest = new URLRequest("PaukenBrumfiel_AngelsOnHigh.mp3");
    var sound:Sound = new Sound();
    sound.load(soundReq);
    sound.addEventListener(Event.COMPLETE, onComplete);
    //end of sound section
    function onComplete(event:Event):void
        sound.play();
    function init():void
        //reference my movie clip "End_mc" oon the stage and turn its visibility off
        MovieClip(getChildByName('End_mc')).visible = false;
        // create new urlloader for xml file
        xmlLoader = new URLLoader();
        // add listener for complete event
        xmlLoader.addEventListener(Event.COMPLETE, onXMLLoadComplete);
        // load xml file
        xmlLoader.load(new URLRequest(strXMLPath));
        // create new timer with delay from constant
        slideTimer = new Timer(TIMER_DELAY);
        // add event listener for timer event
        slideTimer.addEventListener(TimerEvent.TIMER, switchSlide);
        // create 2 container sprite which will hold the slides and
        // add them to the masked movieclip
        sprContainer1 = new Sprite();
        sprContainer2 = new Sprite();   
        mcSlideHolder.addChild(sprContainer1);
        mcSlideHolder.addChild(sprContainer2);
        // keep a reference of the container which is currently
        // in the front
        currentContainer = sprContainer2;
    //function onXMLLoadComplete(e:Event):void
    function onXMLLoadComplete(event:Event):void
        // create new xml with the received data
        xmlSlideshow = new XML(event.target.data);
        // get total slide count
        intSlideCount = xmlSlideshow..image.length();
        // switch the first slide without a delay
        switchSlide(null);
    function fadeSlideIn(e:Event):void {
        // add loaded slide from slide loader to the
        // current container
        currentContainer.addChild(slideLoader.content);
        // clear preloader text
        //mcInfo.lbl_loading.text = "";
        // fade the current container in and start the slide timer
        // when the tween is finished
        //Tweener.addTween(currentContainer, {alpha:1, time:FADE_TIME, onComplete:function() { slideTimer.start(); }});       
        //strSource = xmlSlideshow.image[intCurrentSlide].@src;
        fadeTween = new Tween(currentContainer, "alpha", Regular.easeInOut, 0, 1, 2, true)
        //scale = new Tween(currentContainer, "alpha", Regular.easeInOut, 0, 1, 2, true)
        slideTimer.start()
        onComplete:function();
    function switchSlide(e:Event):void
        // check, if the timer is running (needed for the
        // very first switch of the slide)
        if(slideTimer.running)
            slideTimer.stop();
        // ADDED: Check if using sprContainer2 and at the last slide
        //if ((currentContainer == sprContainer2) && (intCurrentSlide == intSlideCount))
        trace("Current Slide: " + intCurrentSlide);
        trace("SlideCount: " + intSlideCount);
        if ((currentContainer == sprContainer2) && ((intCurrentSlide + 1) == intSlideCount))
            // hide the slideshow (and other related elements, or remove them if desired)
            //mcSlideHolder.visible = false;
            // remove any clips directly inside slideshow (any timers/etc need to be stopped too)
             while (mcSlideHolder.numChildren > 0)
                mcSlideHolder.removeChildAt(0);
            // I do see a var named 'sound' playing so you might want to:
             //sound.stop();
             //sound = null;
            // etc any other slideshow-only elements to hide/remove..
            // play your movie
            MovieClip(getChildByName('End_mc')).visible = true;
            MovieClip(getChildByName('End_mc')).play();       
        // check if we have any slides left and increment
        // current slide index
        if(intCurrentSlide + 1 < intSlideCount)
            intCurrentSlide++;
        // if not, start slideshow from beginning
        else
            intCurrentSlide = 0;
        // check which container is currently in the front and
        // assign currentContainer to the one that's in the back with
        // the old slide
        if(currentContainer == sprContainer2)
            currentContainer = sprContainer1;
        else
            currentContainer = sprContainer2;
        // hide the old slide
        currentContainer.alpha = 0;
        // bring the old slide to the front
        mcSlideHolder.swapChildren(sprContainer2, sprContainer1);
        strDescrp = xmlSlideshow.image[intCurrentSlide].@desc;
        //strSource = xmlSlideshow.image[intCurrentSlide].@src;
        //txtField.border = true;
        //txtField.x = 0;
        //txtField.y = 600;
        txtField.width = 855;
        txtField.height = 200;   
        //txtField.background = true;
        //txtField.backgroundColor = 0xEE9A00;
        txtField.alpha = 20;
        txtField.text = strDescrp;
        formatText.align = TextFormatAlign.CENTER;
        //txtField.autoSize = TextFieldAutoSize.LEFT;
        formatText.color = 0x000;
        formatText.size = 30;
        txtField.x = 0;
        txtField.y = 550;
        posX = 0;
        posY = 0;
        degreeRot = 0;
        // create a new loader for the slide
        slideLoader = new Loader();
        // add event listener when slide is loaded
        slideLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, fadeSlideIn);
        // add event listener for the progress
        //slideLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, showProgress);
        // load the next slide
        slideLoader.load(new URLRequest(xmlSlideshow.image[intCurrentSlide].@src));   
        addChild(txtField);
        txtField.setTextFormat(formatText)   
    // init slideshow
    init();

  • Inserting a pause at the end of a loop in a film clip...

    Hi,
    I just scanned in 16 frames from old 16 mm film and created a short clip in .swf, by default the clip is looping.
    I want it to loop, but all I want to do is place a 5 second pause at the end of the short 1 second clip before it starts up again.  How would I do that?  Or is there a simple tutorial on this?
    I am using CS4 Flash Professional.
    Thanks.

    OK thanks much,
    So to do that, do i begin by highlighting the last frame (the last frame of the movie itself - actual film image) on the timeline, and go to main menu and select Insert>Timeline>Keyframe?  Then insert stop(); on the last frame via the actionscript panel?
    Then highlight the first frame and insert the setTtimeout() and  play() onto the first frame?
    I inserted the stop() command on the last frame and the clip now stops...
    I tried adding this script on the last frame and clip stops but does not repeat after 5 seconds...
    stop()
    setTimeout(5)
    play();

Maybe you are looking for