A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: HELP with: tellTarget and gotoAndPlay

  1. #1
    Junior Member
    Join Date
    Aug 2004
    Posts
    6

    HELP with: tellTarget and gotoAndPlay

    What page filename would this script point to at each step? Names like 2.png or 2_root.png? I can't figure out what filenames to use to change the pages this script points to.

    code:
    switch (page) {
    case 1 :
    tellTarget ("_root.pages") {
    gotoAndPlay(2);
    }
    break;
    case 2 :
    tellTarget ("_root.pages") {
    gotoAndPlay(31);
    }
    break;
    case 3 :
    tellTarget ("_root.pages") {
    gotoAndPlay(61);
    }
    break;
    case 4 :
    tellTarget ("_root.pages") {
    gotoAndPlay(91);
    }
    break;
    case 5 :
    tellTarget ("_root.pages") {
    gotoAndPlay(121);
    }
    break;
    case 6 :
    tellTarget ("_root.pages") {
    gotoAndPlay(151);
    }
    break;
    }


  2. #2
    Supreme Ruler
    Join Date
    Jul 2002
    Posts
    94
    it's not pointing to any external pages. it's pointing to frame numbers on the movieclip "pages".

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