A movie in side another movie clip

I have a movie clip(A) thats inside another movieclip(B). Im
trying to use movieclipA's _x and _y but it gets all messed up.
Does someone know how to fix this.

What do you mean, get's all messed up? If clip B is on the
current timeline
then you can get to clip A's properties by going:
trace(clipB.clipA._x);
trace(clipB.clipA._y);
or even:
var ca = clipB.clipA;
trace(ca._x);
trace(ca._y);
Dave -
Head Developer
www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/

Similar Messages

  • How can I save .mov file as another .mov file after trim from Pre9?

    I would have thought this would be simple.  Just like I can crop a still image in Photoshop and save it with a new name (or the same name), I expected to be able to trim or split an .mov file in Premiere Elements 9 and save the resulting file(s) under a new name (or the same name) while preserving the same format.
    But SIX hours later, NO.
    Instead, after I split or trim the .mov file, it seems to be held hostage inside a project that won't let it go.  I even tried "exporting" it but the choices are different than the properties of the source file (a BAD thing), and the resulting two files from the export are unreadable on my computer (USELESS).
    The .mov file was shot with a Canon EOS Rebel T3i.  Windows with Vista.  Adobe Premiere Elements 9.  I also have Photoshop CS5 Extended and Lightroom 3.4.x, if either of those would help.
    I'm sure that I'm mistaken,  There MUST be a secret menu option to SAVE-the-trimmed-CLIP-as-a-SOURCE-file.
    How could there not be something this basic?

    ~ ~ ~ ~ ~ *** ~ ~ ~ ~ ~
    Quoting Steve:
    "I'll say it once more: It's impossible to cut a piece of video and then resave your file.....[because] IT'S [against] THE NATURE OF EDITING VIDEO WITH EVERY VIDEO EDITING SOFTWARE IN THE WORLD."
    ~ ~ ~ ~ ~ *** ~ ~ ~ ~ ~
    I'm very pleased to say that I've found out how to do exactly what I wanted to do, despite Steve's strongly stated opinion that it is "impossible."
    I can:
    ..... trim or split a video
    ..... and save it under the same name or a different name(s)
    ..... WITHOUT converting it to something else before or after trimming
    ..... WITHOUT changing it from its original format
    ..... WITHOUT exporting (compressing) it
    ..... WITHOUT "rendering" it different in any way except my desired length change (and resulting smaller file size)
    This is desireable to me in order to:
    ..... save many gigs of space on my terabyte drives
    ..... while retaining source file footage that may be useful in future projects
    ..... IN ITS ORIGINAL (source) FORMAT !!!!!
    YAY!!!
    I got thinking about the software that came with my camera.  I didn't install it because it included things like a program to handle RAW images (and I prefer to use Adobe Lightroom 3) and a program that I thought might be similar to Bridge (and I really like Adobe Bridge).
    But I decided to install it and see if there was anything there that would allow me to work with the videos and sure enough, there it was - the ability to trim my videos of the junk while keeping the rest in original perfect format, just as it was shot. From a user's point of view, it is a precise video version of cropping a still image in Photoshop.  EXACTLY what I wanted to do!!!
    Here is a collage of the properties box of the "before" version (the original original), collaged together with the  properties box of the "after" version (the trimmed original).  The properties boxes are the properties as reported by Adobe Premiere Elements 9.
    In the above-shown collage of the screenshots that I've made for you, you can see that nothing has changed in terms of the properties.  The only changes are the length (because I cut it), the file size (because it is MUCH smaller now), and the name (because I wanted to preserve the original file in order to make a screenshot of its properties for you). I WANT TO REPEAT - the new CUT file is identical to the original, except the unwanted portion has been cropped away. It was NOT compressed, it was NOT rendered, it was NOT exported.  It is a true source file utilizing original footage in its original format.
    (This forum limits images to 450 pix wide so to see that all the relevant format properties are the same in both properties boxes, you may have to increase the size through your browser by holding down the [Ctrl] and hitting the "=" key (the one with the "+" above the "=" sign).)
    ~ ~ ~ ~ ~ *** ~ ~ ~ ~ ~
    Here are the steps I took to make the screenshot above:
    1 - Opened the original file in Canon ZoomBrowser EX 6.7 (which came with the camera).
    2 - Trimmed ("cut") the file by placing a start point and stop point around the desirable footage.
    3 - Saved under a different file name.  (NOTE:  This was a true save, NOT an export, NOT a "render" of some sort.)
    4 - Switched to Adobe Premiere Elements 9 and started a new "project."
    5 - Used "Get Media" to pull the original version and the cut version of the video into the project.  NOTE:  I pulled the cut version in first, so if there had been a format mismatch (as compared with the DSLR-1080p30 @29.97 setting I normally use when creating a new project), Premiere would have said so.  But there was NOT a format mismatch.  And it runs perfectly, just as it did before, including audio.
    6 - Right clicked each video and took a screenshot of the properties of each to show you.
    And this means I can use the trimmed footage for any purpose down the road, yet I didn't have to save the entire file which included unwanted footage.  And I've saved a considerable amount of space on one of my terabyte drives.
    SUMMARY:
    Easy as pie:
    I trimmed the excess off a video WITHOUT "converting," "exporting," "compressing," "rendering" or changing the format away from the original in any way.
    No loss of any type of data whether audio or visual or "other."  (Except, of course, the unwanted footage.)

  • Playing .flv in a movie opened through another movie

    I recently constructed a site and made a .flv movie player
    not a component. when I test the movie it works fine. When I open
    the .html that plays the main flash movie and open the link for the
    movie that has the player inside of it playing a .flv: the .flv
    does not play can anyone help?

    Ok so it looks like you're referring to the method of placing a screenshot of the flv on the stage in front of the flv so that users don't notice that the flv loads more slowly than the other bitmaps on the stage, right?
    yes
    Looks like I'll have to do this (since embedding the flv in the main swf, which avoids the slow-to-show problem, is not recommended).
    that's also correct (and it will make your entire swf load slower).
    Thanks Kglad.
    you're welcome.

  • Referencing _root.Button  from a movie loaded inside another movie

    I have the following situation
    MainMove.swf is doing a loadmovie of SecondMovie.swf
    The Button that loads SecondMovie.swf also disables other buttons in MainMovie.swf
    on (release) {
        _root.intro_btn.enabled = flase;
        loadMovieNum("SecondMovie.swf", 2);
    How do I Re enabled the Buttons in MainMovie.swf from a Button within SecondMovie.swf???
    Using AS2 is this current project
    Thanks

    You might be able to use the same line of code setting the enabled value to true.  If you have not locked the root of the loaded swf, the _root should till be pointing at the main movie.
    _root.intro_btn.enabled = true;

  • Filter move followed by another move duplicates message

    Running Thunderbird 31.4.0 on Windows 7 64-bit
    I have two filters in my inbox
    Filter Wildcard:
    If To doesn´t contain "xxxxxxxx" Move message to Wildcard
    Filter MoveAll:
    Move Message to Incoming
    After sending a message that correctly goes to wildcard there is a unwanted action of "MoveAll" that makes a duplicate of the wildcarded message.
    Filter log :
    Applied filter "Wildcard" to message from Lars <[email protected]> - sssss at 2015-02-06 22:51:08 moved message id = [email protected] to mailbox://nobody@Local%20Folders/Wildcard
    Applied filter "MoveAll" to message from - at 1970-01-01 01:00:00 moved message id = to mailbox://nobody@Local%20Folders/Incoming

    ''Zenos [[#answer-687395|said]]''
    <blockquote>
    Maybe you need to add the "stop filter execution" action to the first filter?
    </blockquote>
    Is there a point in having "Stop filter execution" as last action in a filter?
    I will try it and see.
    For most messages, when the first filter isn´t triggered I want the second filter to take effect.
    Sort of:
    if (first filter trigger ) then
    <one action>
    else
    <other action>

  • I rented yesterday one movie and today another movie but every time I try to play it I can't ...I got message that there is server problem even though I can watch the preview

    Yesterday I rented one movie and when I tried to watch it I got a MSG that an error occurred loading this content??
    The same thing appearing on my screen today also??
    Can anyone help me plz??

    See
    * [[Firefox is already running but is not responding]]
    Try closing any running instances of ''firefox.exe'' (and plugincontainer.exe) using something such as Task Manager. That should allow you to then restart Firefox.
    As for iLivid. Possibly it also has associated apps or extensions with names not including the word iLivid. Looking at their own FAQs there are instructions to remove iLivid using the Windows Control panel, and mention of other bundled software that you may wish to remove. It seems it is more of a nuisacne rahter than out and out malware.
    * see http://www.ilivid.com/faq.htm (page scrolls for more info) but includes:
    How do I uninstall the software?
    The software can be removed in a simple was like any other software:
    Go to the Windows Start menu and then to Control Panel > Add/Remove ("Programs & Features" in Vista & Windows 7) and click "Remove" next to the software name (e.g iLivid Download manager / Windows iLivid Toolbar ).
    During the installation bundle software are offered, each can easily be removed following those instructions: Uninstall Yontoo Addon , Uninstall Search Toolbar (powered by Bing) or Uninstall Babylon.

  • Movie ontop of another movie help

    in a lot of music video's ive been seeing this effect
    http://www.worldstarhiphop.com/videos/video.php?v=wshh39f4nuV6ENml4qr4 (explicit lyrics )
    i thought i could do it with picture in picture but it does not stretch all the way to the sides if you center the video it expands the whole video when you try to adjust it
    any tips or is this something that imovie just cant do ?

    in a lot of music video's ive been seeing this effect
    http://www.worldstarhiphop.com/videos/video.php?v=wshh39f4nuV6ENml4qr4 (explicit lyrics )
    i thought i could do it with picture in picture but it does not stretch all the way to the sides if you center the video it expands the whole video when you try to adjust it
    any tips or is this something that imovie just cant do ?

  • Add a .mov to another .mov

    Helo all,
    I want to add a .mov file to another .mov file.
    Like the first one(.mov) is the last frame in the second
    .mov file.i tried Merge.java in java.sun.com.But,its
    displaying as 2 different files.i need to add one to another.
    Thanx for any help in advance,
    thirupathi

    You can insert pages.

  • 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();

  • Using Events To Play Another Movie Clip

    Dear Readers:
    I have a set of buttons in my flash movie that, when a mouse
    cursor passes over it, another movie clip on the stage causes a
    layer with text to gradually appear from below. It pops up, so to
    speak, and eventually stops, displaying the text related to the
    button in full view.
    Passing over a different button causes the text layer to move
    downward, slowly disappear off the stage, then reappear in the same
    manner with text associated with that latest button. Its fairly
    simple and works fine, as long as the user waits patiently for the
    text layer to scroll down and back up before passing over another
    button. See code below.
    However, if the user decides to quickly pass over multiple
    buttons (before the text layer reaches the top), the event handler
    is coded such that if the mouseover event occurs BEFORE the text
    layer reaches the top, the text layer starts over at the bottom, so
    the transition is not smooth. Imagine the text layer just about to
    reach the top, when the mouseover event occurs, now the text layer
    starts over from the bottom. Very choppy.
    I'd like to grab the current frame of the text layer movie
    clip when the mouseover event occurs, and have the layer move back
    down from there, reach the bottom, then come back up, rather than
    starting from the bottom. Any help in coming would be great. Thanks
    in advance.

    yourI = setInterval(f,t) starts a loop. it repeatedly calls
    the function f() every t milliseconds until a clearInterval(yourI)
    is executed.
    the most common problem that occurs with setInterval() is
    executing it twice (or more) with no intervening clearInterval().
    when that happens all hell breaks loose and the swf will call the
    function much more rapidly than intended and can not be (easily)
    stopped no matter how many clearInterval() statements you try and
    execute.
    the easiest way to prevent that problem is to execute a
    clearInterval() just BEFORE all setInterval() statements. it
    doesn't hurt anything to (try and) clear and interval that doesn't
    exist and occasionally it'll stop the seemingly bizarre problems
    that occur with out-of-control intervals:
    clearInterval(yourI);
    yourI=setInterval(f,t);

  • Having a loaded movie clip talk to another movie clip

    Here's what I want to do:
    Load a clip into my main movie - "loadedMovie"
    at the end of the timeline in "loadedMovie" i want a
    function, perhaps setColor, which will change the colour of another
    movie clip which sits in the main movie.
    Does this make sense? for a loaded movie clip to change the
    color of an instance of another movie?
    Many thanks,
    Ray

    ponch wrote:
    > Here's what I want to do:
    >
    > Load a clip into my main movie - "loadedMovie"
    >
    > at the end of the timeline in "loadedMovie" i want a
    function, perhaps
    > setColor, which will change the colour of another movie
    clip which sits in the
    > main movie.
    >
    > Does this make sense? for a loaded movie clip to change
    the color of an
    > instance of another movie?
    Sure make sense.
    If the clip you like to target is on main timeline of the
    movie than
    you will use something like :
    on (release) {
    var my_color:Color = new Color(_root.SomeMC);
    my_color.setRGB(0xFF00FF);
    You can also refer to it by level:
    (_level123.SomeMC);
    Best Regards
    Urami
    !!!!!!! Merry Christmas !!!!!!!
    Happy New Year
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • How can I move clips from one library to another? Clips are still in original drive and not in new drive.

    I am using iMovie 10.0.7 on a 1-week old iMac 27" running Yosemite 10.10.2. I migrated from iMovie 9 on a 2008 iMac running Snow Leopard and updated the libraries and events, etc.
    I have two external drives connected via USB. I want to move / consolidate the library and clips from one of the external drives to the new iMac's 3TB fusion drive. This is to make room on the external drive to run Time Machine backups.
    Apple's instructions on managing libraries and moving/copying clips/events tell me to drag to move between libraries and to Option-drag to copy. However, simply dragging only copies. I find that if I Command-drag the events/clips, I can "move" them. But when I look outside iMovie in the Mac OS X Finder, the event folders and clip files themselves are still sitting in the original drive.
    I'm very perplexed as to how to really move the clips and event structure. Should I manually copy the clips and event folder structure outside of iMovie? I worry I will mess up iMovie's internal record keeping and folder structure information.
    Thanks in advance.

    Ahh, Ok. I actually had to go to Lynda.com to watch a training video of this highly bassackwards maneuver, but now I have it. In other words, while the intuitive thing is to make a new event to hold the clip you want and then open the old event and drag the clip into it's new event, the only way to accomplish this maneuver is to NOT create a new event, but rather, go to the clip AFTER the one you want to move, select it and then Right-Click on it and select SPLIT EVENT BEFORE SELECTED CLIP (or go to FILE>SPLIT EVENT BEFORE SELECTED CLIP). Then you wait a few seconds while the program thinks a bit (no feedback it is doing this - just a pause) and then it automatically creates a new event with the clip you wanted. Now just double-click the new event and name it something meaningful.
    Thanks for your help!

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

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

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

  • Settings changing when adding to another movie

    Each time I attach a new chapter (mini movie) PROJECT to the already existing main movie PROJECT the settings change. I have tried adding on the front with the new chapter as well as trying to add the main movie to the mini movie. Is there a way to lock all settings on a movie so when it is added to another movie the setting won't change oon either clip. The chapter movie is approximately 1 1/2 minutes long and the main clip is approximately 9 Minutes long. There are several transitions, and scrolls included in both clips.
    Message was edited by: jimfromdenver

    Hi Luis, thanks for the reply. I first made a video approximately 8 minutes long. I used digitized video, still images, sound tracks, titles and numerous transitions between the clips. I then opened a new project and made a movie of one of the last letters sent home by the veteran prior to his death. I also used transitions, movie clips, titles and various images. So far I have three of these last letters completed. I was able to copy and pasted two of the letter clips in front of the main generic movie. However, when I attempted to paste the third clip at the beginning of the main movie and two letters - it causes some of the titles, scrolls to overlap.

  • Accessing a movie from another movie (class)

    Hi all!,
    Ok, this is a little bit complicated to explain, but I will
    try my best. First, please click on the link below to see the
    mockup that I did:
    Link
    to mockup
    Now for some explanation:
    First of all, the Flash makes use of an XML file to grab some
    data. This part was freakin complicated and it's actually a
    programmer who helped me with that but he is very unfamiliar with
    AS on the whole so he couldn't really help me with the rest. OK so
    basically in the first frame I am loading the XML, then what you
    are seeing on the stage is in frame 2.
    on the stage there are 2 movies:
    1. scrollPane_mc
    2. cables_mc
    For now you can check and uncheck the items in the scroll
    pane and you can roll over the cables to see their names.
    1. scrollPane_mc
    scrollPane_mc is a scroll pane component that has a movie
    called cableList_mc as source.
    cableList_mc itself is an empty movie with just 1 frame and
    which dynamically grabs a movie called cableListItem_mc (itself
    attached to a class of the same name) from the library and
    duplicates it, based on data from the XML file.
    code in cableList_mc:
    var startY:Number = -0.8;
    for (var cableName:String in VPN_Utils.cables) {
    var listItem:cableListItem_mc = new cableListItem_mc();
    listItem.name = cableName;
    listItem.x = 0;
    listItem.y = startY;
    listItem.cableNameText.text =
    VPN_Utils.cables[cableName][0];
    addChild(listItem);
    startY += 18;
    code for cableListItem_mc.as (1 cableListItem_mc is basically 1
    checkbox item):
    package {
    import flash.display.*;
    import flash.events.*;
    import flash.text.TextField;
    import VPN_Utils;
    public class cableListItem_mc extends MovieClip {
    private var checked:Boolean = true;
    public function cableListItem_mc() {
    addEventListener (MouseEvent.MOUSE_DOWN, swap);
    private function swap(e:MouseEvent):void {
    if (checked) {
    this.gotoAndStop(2);
    } else {
    this.gotoAndStop(1);
    checked = !checked;
    trace (this + " " + this.name + " is " + checked);
    2. cables_mc
    cables_mc on the other hand just contains several movie
    clips, placed manually on the stage and all of them based on the
    class VPN_Cable.as
    code for VPN_Cable.as:
    package {
    import flash.display.*;
    import flash.events.*;
    public class VPN_Cable extends MovieClip {
    public function VPN_Cable() {
    addEventListener (MouseEvent.MOUSE_OVER, onMouseOver);
    addEventListener (MouseEvent.MOUSE_OUT, onMouseOut);
    private function onMouseOver(e:MouseEvent):void {
    text_mc.visible = true;
    private function onMouseOut(e:MouseEvent):void {
    text_mc.visible = false;
    So basically now what I want to achieve is to control and
    talk to the cables from the scroll pane. So when I uncheck "Cable
    1" in the scroll pane, "Cable 1" on the stage should turn invisible
    for example.
    I hope this is clear....
    Thanks a lot! in advance!
    jon.

    Hi kglad!
    uhhh, thnx a lot for u reply =] but it's not exactly this
    that i'm looking for. Well yeah, i know i have to assign mouse
    listeners to my checkboxes (....) (and I already have actually),
    but could you give some details about that? That would help
    greatly. My problem is that I don't know how to talk to the cables
    (which are in a separate movie) from the checkboxes (which are in
    yet another movie).
    Thanks!
    And happy new year!
    jon.

Maybe you are looking for