dcsimg
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Linking from an inserted Movie-Clip

  1. #1
    Junior Member
    Join Date
    Jun 2005
    Posts
    18

    Linking from an inserted Movie-Clip

    Hi,

    I have a flash movie (named flash_movie.fla). Within this movie I have a movie clip with the instance name '2mcContent'. I have used a 'load movie' script to load an external swf. file (named home_content2.swf) into this movie clip and its working fine.

    The question I have is this: I have a button within home_content2.swf, and, when clicked I would like this button to tell the main movie (flash_movie.fla) to go to and play a certain part of the main movie time line.

    Could anyone help with the script required? I'm using Flash MX Pro 2004 on a mac running OSX (10.3.9).

    Many thanks in advance.

  2. #2
    Registered User nunomira's Avatar
    Join Date
    May 2002
    Location
    portugal
    Posts
    7,003
    hi,
    Welcome to FK

    Depending on you movie's structure, and the code you're using, it may be something like:
    code:

    _parent.gotoAndPlay(someframe);
    // or
    _parent._parent.gotoAndPlay(someframe);
    // or...


    Read understanding target paths.

  3. #3
    Junior Member
    Join Date
    Jun 2005
    Posts
    18

    Many thanks....

    works perfectly

  4. #4
    Junior Member
    Join Date
    Nov 2000
    Posts
    9

    Perfect timing...

    I was working on the same type of project today and your answer was perfect!

    Thank you.

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