A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: skip to frame when i want

Hybrid View

  1. #1
    Member
    Join Date
    Jun 2005
    Posts
    67

    skip to frame when i want

    Right now I have a flash movie that goes untill frame 20, and on frame 21 at the bottom of the script it has go to and play 20, so it loops. I was wondering if there was a way to skip to frame 22, after the text has typed itself out.
    Attached Files Attached Files

  2. #2
    Member
    Join Date
    Jun 2005
    Posts
    67
    *bump*

  3. #3
    Registered User Ask The Geezer's Avatar
    Join Date
    Jul 2002
    Location
    Out In The Pasture
    Posts
    20,488
    Put this in frame 21;

    Code:
    var ctext = ctext+text.substring(0, 1);
    text = text.substring(1);
    if (ctext != "Welcome to my profile, enjoy!") {
    	gotoAndPlay(20);
    } else {
    	gotoAndStop(22);
    }

  4. #4
    Member
    Join Date
    Jun 2005
    Posts
    67
    Ahh thanks

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