A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Movie Clip operation

  1. #1
    Junior Member
    Join Date
    Dec 2008
    Posts
    9

    Movie Clip operation

    Guys, can anyone help?

    I'm trying to get a series of movie clips to play on the main timeline of my flash project. I've read up about hierarchy but everything I seem to write in the actionscript doesn't work - I don't know what I'm doing wrong!

    Basically I have the main timeline with my menu on, with buttons that are supposed to link to the movie clips on the same timeline, but it just isn't working. I have the instance names for the movies but the buttons can't seem to find them!

    This is what I have so far:

    on (release) {
    targetpath("london");
    gotoandPlay("1");
    }

    I hope this is making sense.

    Cheers in advance,

    Harry_028

  2. #2
    Ryan Thomson EvolveDesigns's Avatar
    Join Date
    Oct 2001
    Location
    British Columbia
    Posts
    3,338
    try

    on(release){
    london.gotoAndPlay(1);
    }

    either way make sure the london mc exists on the frame that the button calls that code on.

    good luck and welcome to FK
    Evolve Designs Interactive Media
    the natural selection

  3. #3
    Junior Member
    Join Date
    Dec 2008
    Posts
    9
    Ok cool, thanks for your advice but it still doesn't work. I'm still trying to fathom Flash MX out in this area. My movie clips are all on the same timeline as the buttons, with instance names so I should just be able to tell it where to play right? I've tried all the combinations I can think of but if the actionscript has no errors it doesn't work and when it does I can't rectify it!!!

    Frustrating...

  4. #4
    Ryan Thomson EvolveDesigns's Avatar
    Join Date
    Oct 2001
    Location
    British Columbia
    Posts
    3,338
    Yeah flash has quite a learning curve.. Is this actionscript 1 or 2?
    Evolve Designs Interactive Media
    the natural selection

  5. #5
    Junior Member
    Join Date
    Dec 2008
    Posts
    9
    It's 2.

  6. #6
    Ryan Thomson EvolveDesigns's Avatar
    Join Date
    Oct 2001
    Location
    British Columbia
    Posts
    3,338
    can u post an example .fla?
    Evolve Designs Interactive Media
    the natural selection

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