A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: [F8] Change Scenes After Photo Slideshow

  1. #1
    Zero M3 Creations
    Join Date
    Aug 2006
    Location
    Calgary, AB
    Posts
    8

    [F8] Change Scenes After Photo Slideshow

    I'm trying to modify this so that after it goes through the slideshow it continues onto another scene:

    http://www.flashkit.com/movies/Scrip...8470/index.php

    However, it doesn't seem to work whatever I do to it. Can anybody solve this?

  2. #2
    Zero M3 Creations
    Join Date
    Aug 2006
    Location
    Calgary, AB
    Posts
    8
    Okay, this is what I found out:

    I modified the following ActionScript:

    Code:
    if(_root.currentImage > numImages){
    		
    		// Check to see if the slideshow should be repeated
    		if(_root.repeat){
    			
    			// Set the current image back to the beginning
    			_root.currentImage = 1;
    			
    		// If the slideshow is not to be repeated, hold on the last image
    		} else {
    			_root.currentImage = _root.numImages;
    		}
    to this:

    Code:
    if(_root.currentImage > numImages){
    		
    		// Check to see if the slideshow should be repeated
    		if(_root.repeat){
    			
    			// Set the current image back to the beginning
    			_root.currentImage = 1;
    			
    		// If the slideshow is not to be repeated, hold on the last image
    		} else {
    			gotoAndPlay("Credits",1);
    		}
    So basically I changed _root.currentImage = _root.numImages; to gotoAndPlay("Credits",1); but instead of the movie actually going to the Credits scene, it jumps to frame 21, which is a frame after the last frame of the current scene, then just keeps going until around frame 300 then it starts back at frame 1. I don't have any frames or keyframes after frame 20, so I have no idea what the hell it's thinking.

  3. #3
    Zero M3 Creations
    Join Date
    Aug 2006
    Location
    Calgary, AB
    Posts
    8
    Can no-one help me?

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