A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: MC problem Help !!!!!!!!!!!!!!!!

  1. #1
    Junior Member
    Join Date
    Jan 2001
    Posts
    4
    hi

    I have a small yet combersome (for me) actionscript problem in Flash5...

    I have MC1 on the main timeline then i have MC2 inside MC1 but on frame 3...now inside MC2 i have a stop on frame 40 what is the necessary code or syntax for me to play from frame 40 onwards in MC2 which again is in MC1.... BUT ! I want to play it on a button click which is situated on the main timeline any suggestions ??????????? THANK YOU IN ADVANCE...
    my assumption was
    _root.mc1.gotoAndStop(3).mc2.gotoAndPlay(41); ???
    =]

  2. #2
    proud new daddy! LuxFX's Avatar
    Join Date
    May 2000
    Location
    Dunsinane
    Posts
    1,148
    if you first have to direct MC1 to frame three, use the code:

    MC1.gotoAndStop(3);

    from the main timeline, and then use the code:

    MC1.MC2.gotoAndPlay(41);

    also from the main timeline. You can't do both actions in the same command, so just do one then the other.

    cheers!

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