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.

Similar Messages

  • Can't get nested movie clip to play

    Hi everyone,
    I have a movieclip on one of the frames on the maintimeline.
    Within this movieclip is a nested movieclip which itself is
    contained by another clip. The first movie clip plays to a certain
    frame where I've got some code telling the nested movie clip to
    play at that frame but this nested clip doesn't play. I'm not sure
    if I'm targetting the nested clip incorrectly or whether something
    else is wrong with the code.
    The .fla file can be downloaded at:
    http://www.officelinkonline.com.au/Ad/
    if someone would take a look. The movie clip in question is
    on the layer called text5, and within this mc on frame 15 is the
    code I'm trying to use to get the nested movieclip to play at that
    point. The code used on that frame is:
    this.innerText5_mc.free_mc.play();
    stop();
    pauseAnim = setInterval (this, "nextFrame", 4000);
    I wondered if someone could take a look and see what I might
    be doing wrong? Basically the free_mc clip just makes the word
    "FREE" scale up.
    Would really appreciated any advice.
    Thanks

    Thanks again. I'm a bit worried that you weren't able to see
    the font that I used. All of the text used in the animations are
    static text fields. I don't seem to have the option to embed these
    characters since it's static text. It'll only let me embed if the
    text fields are dynamic. Does this mean I have to change them all
    to dynamic text fields, and if so do I need to embed the font in
    every text field in every frame of the animation or can you do this
    in one place?
    Appreciate your continued help.

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

  • Playing different Movie Clips onRollover?

    I have several buttons that I would like to play different
    movie clips
    onrollover on the stage. So if button 1 is rolled over it
    plays a clip
    in the lower right corner and when rolled off it stops and if
    button 2
    is rolled over it does the same.
    How is this done?
    Thanks!

    This is the code I am currently using to play and stop a
    movieclip:
    myPlay_btn.addEventListener(MouseEvent.CLICK, playMc);
    myStop_btn.addEventListener(MouseEvent.CLICK, stopMc);
    function playMc(e:MouseEvent):void{
    my_mc.play();
    function stopMc(e:MouseEvent):void{
    my_mc.stop();
    1. How do I drag my movie clips onto the stage, but not have
    them
    display until the button is rolled over?
    2. Would this code just be applied for each button and
    modified from
    CLICK to OnRollover?
    Thanks!!!!
    kglad wrote:
    > assign a rollover listener to button 1 and in its
    listener function apply the play() method to your right corner
    movieclip. likewise for button 2.

  • 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

  • Playing a Movie Clip within a Movie Clip on load

    Hi,
    I'm trying to play a Movie Clip animation that is within a Movie Clip after a button has been pressed in a different Movie Clip.
    The issue is that all Movie Clip animations are playing as soon as the SWF is loaded.
    I have a separate Main.as file that contains all of the coding except for the animation stops:
    package
              import flash.display.MovieClip;
              import flash.events.MouseEvent;
              public class Main extends MovieClip
              var title1:Title1;
              var scene1:Scene1;
              var scene2:Scene2;
              var scene3:Scene3;
              var scene4:Scene4;
              var scene5:Scene5;
              var scene6:Scene6;
              var scene7:Scene7;
              var scene8:Scene8;
              var scene9:Scene9;
              var scene10:Scene10;
              public function Main()
                        title1 = new Title1();
                        scene1 = new Scene1();
                        scene2 = new Scene2();
                        scene3 = new Scene3();
                        scene4 = new Scene4();
                        scene5 = new Scene5();
                        scene6 = new Scene6();
                        scene7 = new Scene7();
                        scene8 = new Scene8();
                        scene9 = new Scene9();
                        scene10 = new Scene10();
                        addChild(title1);
                        title1.buttonStart.addEventListener(MouseEvent.CLICK,onButtonStartClick);
                        scene1.buttonWalkOutside.addEventListener(MouseEvent.CLICK,onButtonWalkOutsideC lick);
              //title
              function onButtonStartClick(event:MouseEvent):void
                        addChild(scene1);
                        removeChild(title1);
                        Scene1(parent).gotoAndPlay("frame1")
              //scene1
              function onButtonWalkOutsideClick(event:MouseEvent):void
                        addChild(scene2);
                        removeChild(scene1);
    So right now, I'm getting this error:
    TypeError: Error #1034: Type Coercion failed: cannot convert flash.display::Stage@46534041 to Scene1.
              at Main/onButtonStartClick()
    Any help is greatly appreciated... I've been grinding at this all night.

    I had been trying a bunch of different methods after searching for clues on Google, so it probably doesn't make sense with the parent.
    I replaced the code with what you wrote, and I am given this error now:
    Main.as, Line 44
    1120: Access of undefined property scene1Text1.
    Is there somewhere I have to declare scene1Text1 in Main.as?

  • Nested Movie Clips

    hi,
    I recently downloaded a flash template that was built on AS2
    and have been trying to figure out how it works for a couple of
    weeks now (excuse my ignorance when it comes to AS). I have a
    question about nested Movie Clips. The way the template is
    constructed invovles a massive amount of nested movie clips and a
    large number of instances of each movie clip. The way i understand
    it is that if an instance of a movie clip is put on the stage and
    given an instance name, any modifications to that movie clip should
    be unique to that instance. However when i modify the colour of any
    of the movie clips i select, it changes the colour of all other
    instances.
    Am i missing something obvious here??
    Thanks in advance for your help
    Kind Regards
    Damien

    Yea. This particular template i am working with appears to
    change and manipulate colours dynamically as you said. Also it
    doesn't have all of the content (txt and images) within the actual
    flash document. They are all loaded dynamically through a txt
    document and external files (jpgs amoungst others) which makes it
    alot harder to edit since i dont fully understand the xml format
    they have in the txt document. As well as this, the template has
    no, and i mean NO documentation what so ever which makes it much
    more difficult to work through. But i guess i will keep pluggin
    away at it :)
    Thanks again for your help Ned
    Damien

  • Buttons with nested movies clips...

    Hi guys
    I'm a flash newb. Have just read some tutorials on creating
    flash buttons that contain nested movie clips for the different
    states. So I went and made 5 of them for my site, all seems great
    the rollover effects are just as planned, and I thought I could add
    URL link to them in Dreamweaver but thats not working out. Been
    googling my *** off to add URL via actionscript (of which I
    understand VERY little) , found some code (add the following to key
    frame :on(release) {
    getURL('
    http://www.generic.com',
    '_parent');
    Major problem is, when I try to add AS to the frame/button,
    I'm getting told I 'current selection cannot have actions applied
    to it' If I persist and add the script anyway, funnily enough it
    doesn't work.
    I did an experimental button, consisting of diff coloured
    boxes, and AS will apply to that no problem.
    I'm tearing my hair out, as I already posted the flash links
    on my site and have had to add a note for visitors to use static
    links in the interim.
    I would love to post the .fla file but I don't see an option
    anywhere here to do so.
    If some wise soul can help my dumb *** out of this bind it
    would be greatly appreciated.

    You were using AS2 code, which will not work in AS3. That
    particular code is placed on an object, which AS3 does not allow
    for, which is why it wouldn't let you... all code in AS3 goes into
    timeline frames.
    For mouse interctive objects (buttons, movieclips, etc) you
    assign event listeners to the object. Let's say your button has an
    instance name of "btn", here's a variety of the possible event
    listeners avaiable, and I've assigned them to the button....
    btn.addEventListener(MouseEvent.CLICK, clickHandler);
    btn.addEventListener(MouseEvent.DOUBLE_CLICK,
    doubleClickHandler);
    btn.addEventListener(MouseEvent.MOUSE_DOWN,
    mouseDownHandler);
    btn.addEventListener(MouseEvent.MOUSE_OUT, mouseOutHandler);
    btn.addEventListener(MouseEvent.MOUSE_OVER,
    mouseOverHandler);
    btn.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler);
    btn.addEventListener(MouseEvent.MOUSE_WHEEL,
    mouseWheelHandler);
    All of those "...Handler" things at the end are the names of
    functions you create to take action when the listener hears
    something it's assigned for... you can name them anything you want,
    and here's and example of how the function might look for the CLICK
    event...
    function clickHandler(event:MouseEvent):void {
    trace("clickHandler");
    Again, you can name the function anything you want, and the
    code within the function can be whatever you need done when the
    button is clicked... just be sure to include the argument
    "event:MouseEvent" because the listeners throws an argument to the
    function and the function needs to expect it. The "event" part of
    that is a variable name, so you can name it whatever you like, such
    as "e", which is commonly done. The MouseEvent defines the class,
    and should be exactly what it is.... a MouseEvent, caps and
    all.

  • Stopping a nested movie.

    I am trying to stop a nested video clip. When i put the path
    to the clip separated by . and then stop nothing happens. This is
    kinda driving me nuts. I can stop the entire character I created
    but not his legs. Any help would be most appreciated. I am using
    the syntax...path.stop();
    Cheers

    i'm a little confused - you mention "video clip" so I assume
    you have imported video format? FLV?
    But then you mention a character - sounds to me like you have
    a movie clip within a movie clip? it
    may be easier if you use graphic symbols if you are trying to
    sync/control timeline based animations
    with nested animations.
    Chris Georgenes / mudbubble.com / keyframer.com / Adobe
    Community Expert
    Premiumwaiver wrote:
    > I am trying to stop a nested video clip. When i put the
    path to the clip
    > separated by . and then stop nothing happens. This is
    kinda driving me nuts. I
    > can stop the entire character I created but not his
    legs. Any help would be
    > most appreciated. I am using the syntax...path.stop();
    >
    > Cheers
    >

  • HT6196 how do I edit  a movie clip to get rid of unwanted parts of a clip

    how do I edit a movie clip in thelatest version of I movie to get rid of unwanted parts of a clip

    You can split a clip into pieces using Quicktime Player.  See:
    http://support.apple.com/kb/PH5879?viewlocale=en_US&locale=en_US
    for details.
    Second question:
    I don't know what you want to acheive but yhe only way I can think of to move a precise time into a clip is to select it and trim it - whilst trimming the time amount trimmed is displayed.  Stop when you have the right amount then position the playhead there.  You can then 'untrim it' and he playhead will be at the desired spot.
    Geoff.

  • Nested Movie Clip Link Issue

    Hi All,
    First off, I am a noob to Flash and AS3, but have learned a lot over the last few weeks working on this project (http://www.jtapia.com/vcore/vcore_eng_up.html - go to COMPANY INFORMATION > PROCESS SUMMARIES to see the problem).
    My problem is I have a nested movie clip that houses a text URL link to a PDF file in another nested MC. The link works fine OUT of the parent clip but does not work when nested inside the clip. The odd thing is, I have almost the SAME exact thing in the navigation and it all works fine (except it isn't a URL link but I do use an event listener to look for MOUSE_OVER, etc).
    The only code refrencing the parent clip is:
    1) The fluid layout code (a stage event listener)
    2) At different stages in the main timeline, I adjust the nested timeline to various points in the nested clip (i.e. - MovieClip(mc_page_text).gotoAndPlay(2);  )
    Everything works great EXCEPT the URL links. The animations, everthing else works - no errors.
    I've been reading and searching for help on this for hours and can't find a solution. Any help is much appreciated!
    Thanks!
    Jake
    PS - if I left out critical info, please let me know and sorry in advance

    Hi kglad,
    There really isn't any code...the parent clip (main timeline) is on a stop(); frame - the link is via the STATIC TEXT properties box under OPTIONS > LINK. I think that is what's so confusing to me. The only other code is this (as I mentioned in the first post):
    the fluid layout code:
    function resizeListener (e:Event):void { //fluid layout code
    //    trace("stageWidth: " + stage.stageWidth + " stageHeight: " + stage.stageHeight);
        mc_page_text.x = ((stage.stageWidth / 2) - 258);
        mc_page_text.y = ((stage.stageHeight / 2) - 161.5);
        mc_logo.x = ((stage.stageWidth / 2) - 354.05);
        mc_logo.y = ((stage.stageHeight / 2) - 244);   
        mc_contact.x = ((stage.stageWidth / 2) + 132.95);
        mc_contact.y = ((stage.stageHeight / 2) - 239.7);       
        mc_nav.x = ((stage.stageWidth / 2) - 500);
        mc_nav.y = stage.stageHeight - 178;
        mc_footer.x = ((stage.stageWidth / 2) - 500);
        mc_footer.y = stage.stageHeight - 15.05;
        mc_bg.width = stage.stageWidth;
        mc_bg.height = stage.stageHeight;
        mc_fade_out.width = stage.stageWidth;
        mc_fade_out.height = stage.stageHeight;
    And these two references to the mc_page_text MC (the parent clip of the actual STATIC TEXT items) from the main timeline:
    MovieClip(mc_page_text).gotoAndPlay(2);
    MovieClip(mc_page_text).gotoAndPlay("textFADE");
    Thanks for the help!
    Jake

  • How can i play a movie in keynote from more than 600 seconds between other slides in a automatic loop

    How can i play a movie in keynote from more than 600 seconds between other slides in a automatic loop

    The maximum duration available for an automatic presentation in Keynote is 600 seconds.
    The alternatives are to export a QuickTime video, use other presentation applications, a media server player or digital signage application.

  • 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 can I play .avi movies on my mac?

    How can I play .avi movies on my mac?
    Quicktime pro doesn't do it.
    If there's some kind of patch or something, please give me the url/link!
    Thanks!

    How can I play .avi movies on my mac?With difficulty.
    Quicktime pro doesn't do it.Generally speaking, no -- not without third-party components.
    If there's some kind of patch or something, please give me the url/link!Try Perian (free). It contains a collection of popular PC codecs which may or may not support the specific files you want. If not, you have to determine what particular codec is required, find out if it is available, and then download/install it. (Not all AVI audio/video file formats have been ported for Mac use.) Even then, if it is a proprietary codec and you want to be able to convert to/from that format, you may have to purchase/register the component.

Maybe you are looking for

  • Nano shows in "My computer" but not in Itunes

    I've done everything I can find on the website, but still can't get Itunes to see the ipod. The computer can see it and it charges, but I can't do the last step in the "5 R's" on the site since I can't restore factory settings without I-tunes seeing

  • Using Coherence in the context of BPEL

    Hi, I am planning to try the use of coherence in BPEL to leverage the cache capabilities to improve the performance. I am successfully able to do this in OSB 11.1.1.4 as its achievable much through some simple configuration. I am trying to do the sam

  • Macbook freezing on wake up

    I've had my first macbook pro for about 4 months now and for the past month or two, whenever I have woken it up after it has been asleep for 6+ hours it has made the same noise it does when turning it on and I get the spinning beachball and can't ent

  • Open popup in dynamic region once region changes flows

    I need to open a popup in a flow if boolean is set to true in the pageFlowScope bean of the dynamic flow bean used in a dynamic region. The parent page/flow is configured in the adfc-config.xml and is controlled by a session bean. So the scenario is

  • [SOLVED] openbox keyboard probs

    Hi all, am trying to configure my keyboard shortcuts in openbox. this is what i got so far (edit: file attached, xml pasting makes problems here :? ) When i paste this bunch of lines into my rc.xml file, overwriting my previous/default keyboard setti