A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Flash MX Movie Clip Control

  1. #1
    Junior Member
    Join Date
    Aug 2002
    Posts
    13

    I have a button, it's a still graphic.

    When I roll over the button I jump on the timeline to a movie clip with 33 frames. If I stay hovered over the clip the clip will continue looping.

    I want to press, or mousedown on the Movie Clip and Jump to another frame down the timeline, a different button.

    I've tryed several methods, I don't have movie clip control, all that seems to happen is that I can make the movie stop but not jump ahead, I label the frame, no good, I send it to the frame number, no good.

    Can, anybody HELP ME??

    Jnkyrd

  2. #2
    so you tried

    on (release){
    gotoAndPlay (x);
    }

    x = the frame number you want the movie to play at.

  3. #3
    Junior Member
    Join Date
    Aug 2002
    Posts
    13
    Nope, actually I want to press the mousebutton down and advance to the frame, on the mouseup when I get there I wanna go somewhere else.

    Jnkyrd

  4. #4
    Junior Member
    Join Date
    Dec 2002
    Location
    DE
    Posts
    10
    I'm looking to do the same thing...

    I've got my main timeline broken up into 20 frame increments. Every 20 frames I've placed a frame label and a stop action. I then have an imbedded movie clip which has some navigation buttons. When my user clicks on one of these buttons, I want to be able to automatically jump them 20 frames ahead in my parent movie (child controling parent).

    I don't want to specify the actual frame number or frame tag for the play head to stop on... I just want to automatically go to and stop every 20 frames.

    How can I do this?
    Last edited by J_Banning; 03-04-2003 at 09:18 PM.
    Banning

    "His name is Robert Paulsen. "

  5. #5
    Junior Member
    Join Date
    Dec 2002
    Location
    DE
    Posts
    10
    Just found something that works...

    gotoAndStop(_currentframe+20);

    http://flashkit.com/board/showthread...ght=jump+ahead

    On the button in my imbedded movie clip I used the follwing actionscript to control the play head in my parent movie:

    Code:
    on (release) {
        with (_level0) {
            gotoAndStop(_currentframe+20);
        }
    }


    You can backwards by using:

    gotoAndStop(_currentframe - 20);


    Thanks Flashkit!!!
    Last edited by J_Banning; 03-04-2003 at 09:54 PM.
    Banning

    "His name is Robert Paulsen. "

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center